Commit f17df240 authored by choongryeol.lee's avatar choongryeol.lee Committed by Iliyan Malchev
Browse files

power: pm8921-bms: use pmic power reason to check restart



For accurate SoC calculation, bms need to know if target
was booted from reset or power down. Previously, minimum
CC value check was used to detect power on reason.
But this minimum CC value check is useless when charger is
connected. So, this patch use pmic power on reason to know
the exact power on reason.

Signed-off-by: default avatarIliyan Malchev <malchev@google.com>
parent f063d16e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment