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

Skip to content
Commit 5e1a7c7d authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: qpnp-smb5: Handle cc_soc jump in the overcharge WA



There may be a jump in cc_soc due to a change in learnt
capacity or a good_ocv update. Fix this by detecting
a cc_soc jump by comparing against its last value.
Reinitialize the cc_soc_reference if a jump is detected.

Change-Id: I7a016cdf89904f4d5ecbfd9b9afbd05fbfe6244c
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 62d644e7
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