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

Skip to content
Commit 1ec7e9b2 authored by Sahil Chandna's avatar Sahil Chandna
Browse files

power: fg-alg: Fix TTF calculation to converge to correct TTF faster



When charger is plugged in, initial TTF value can be incorrect if
Ibatt value is not settled. Fix this by clearing ibatt samples buffer
once the current Ibatt reading differs by 500 mA with the Ibatt_avg,
to converge to accurate TTF value.

Change-Id: Id3c8d227d575200d25ffbb5c314877ce4fe99d73
Signed-off-by: default avatarSahil Chandna <chandna@codeaurora.org>
parent abffd53b
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