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

Skip to content
Commit b36c8941 authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Stephen Boyd
Browse files

power: qpnp-bms: update correction algorithm



Correct only when the soc estimate is lower than 15. This way we won't
affect linearity and accuracy for most part. The corrections will
come in only when the soc est gets low.

Also repurpose the device tree adjust soc low threshold property so that
it determines the point the estimated SoC needs to be at to start
adjusting. Remove the high threshold since it is unused.

Change-Id: I47f909aa75d96d4f7735e0d17521e4a6b37df914
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent c2885212
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