diff options
| author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-10-05 16:05:16 -0700 |
|---|---|---|
| committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2017-10-12 13:43:08 -0700 |
| commit | d475978a5f9b0bb2301c18695c02ba0d4b9f328e (patch) | |
| tree | 9dcae1d0d2525e90b5b9d03e2525fdf0671f65c3 /lib/mpi/mpi-inline.h | |
| parent | 14148191af946b54420c5cfa550cc08cf71ecdef (diff) | |
power: qpnp-fg-gen3: Clear charge_full flag during discharging
When SOC is held @ 100% after charge termination, charge_full
flag is cleared only when the monotonic SOC drops below recharge
SOC threshold. This can cause the flag to be held for a long time
when the charger is removed. Fix this by clearing charge_full
flag when charging status had changed from FULL.
Change-Id: I35b52ddc45f314347f0e4d8433d5fb550663267c
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
