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

Skip to content
Commit 90aaceae authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-smbcharger: Improve battery status notification



Currently we're updating chg_done_batt_full flag based on the
charge inhibit and charging complete interrupts. This flag is
used to indicate the battery status. However, we've to
manipulate this flag based on the events like charger insertion
or removal.
Instead of doing that, we can check the INT_RT_STS to determine
the charge inhibit or charging complete status. Based on that,
notify the battery status properly.

CRs-Fixed: 723434
Change-Id: I9b73d050b8019832b2744a126ad6dc603de31247
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent c0b26f45
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