power: qpnp-fg-gen4: Restore the recharge threshold when out of JEITA
Currently, recharge SOC is adjusted dynamically when the charging
is terminated early and the original recharge threshold is
restored back when the device is out of JEITA i.e. battery health
is good. However, there is still a corner case existing where the
recharge SOC got lowered after an early charge termination due to
JEITA. Charging won't begin because of the lowered recharge SOC
and charge termination condition doesn't go away. Once the device
is out of JEITA, restore the original recharge SOC threshold so
that charging can begin immediately.
Change-Id: I7911f9cd9d4e302753c3e325d220d02b59858687
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment