Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 01e52384 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-fg-gen4: Handle vbatt_low false positives



In certain scenarios, when FG is restarted after loading the
profile, vbatt_low interrupt can fire upon which vbatt_low flag
is set to indicate 0% SOC. vbatt_low flag once set should not be
cleared when vbatt_low condition goes away as that can cause
fluctuation in SOC being reported. To handle the false positives
of vbatt_low interrupt, don't set vbatt_low flag if the FG is
restarted as a part of profile loading within 10 seconds.

CRs-Fixed: 2445339
Change-Id: I12202b2fbca344381cac60b0bd0f5cba6c92a363
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 76b7b507
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment