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

Commit 842c08f6 authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Subbaraman Narayanamurthy
Browse files

power: qpnp-smbcharger: qpnp-fg: lower resume soc upon termination



Charging during a JEITA warm or cool condition will cause charge
termination before the fuel gauge hits 100%. If the PMIC is using fuel
gauge soc based resume of charging, it will just immediately begin to
start recharging.

Fix this by lowering the resume soc to the monotonic soc minus some
margin when the charger reaches full.

CRs-Fixed: 799673
Change-Id: Id56e6394777ecde7e8216ecdfccc4e46665f2ae4
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent e5200ce0
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