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

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

power: vm-bms: Add UUC (unusable capacity) filtering logic



Use a 16 sample average of IBAT for UUC calculation. This
smooths out the UUC and avoid jumps in SOC if IBAT changes
rapidly. Also, allow the UUC to change only by 1% across
every iteration.

Change-Id: I09430ebfb980d2fe4e9578dca0cd1dc22fcbbb12
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 104105f6
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