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

Commit 6793aa21 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-fg: reload profile if vbat differs from predicted



Sometimes, the saved fuel gauge SOC will not match the actual battery
SOC due to temperature and charge escaping over time. In this case the
fuel gauge driver should redo the first SOC estimate in order to get a
better starting point.

Reload the profile in order to get a better SOC estimate if the
vbat_current_predicted differs from the actual vbat by more than a set
threshold.

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