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:
Xiaozhe Shi <xiaozhes@codeaurora.org>
Loading
Please register or sign in to comment