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

Skip to content
Commit cf7c8233 authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-vm-bms: Fix the catch-up time calculation



The catch-up time is calculated when the device moves
from not-charging to charging state. There is possibility
when the new catch-up SOC may get updated after the
catch-up time is calculated, leading to a quicker
SOC ramp-up (than expected). Fix this by resetting
the catch-up time when SOC changes and recalculating
it if the SOC gap is >= MIN_SOC_UUC.

CRs-Fixed: 788553
Change-Id: Id35c6a160eb385dea8792c062c32ab0571d467d7
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 1c90edfc
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