+1
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Previously, the BMS driver does not allow OCV corrections when SoC
is above 90. This is because the BMS driver could accidentally pull
down a faked high OCV at end of charge and cause a bad user experience.
However, now that a check was added to make sure estimated SoC is below
15%, we do not need this check any more, since if estimated SoC is below
15%, we always want to correct anyways.
Raise the threshold from 90 to 98 to fix this issue and always correct
when SoC is below 98 and soc_est is below 15.
Change-Id: Ia26c040c6a5aec9a7245c3e13a0beb70309d34c3
Signed-off-by:
Xiaozhe Shi <xiaozhes@codeaurora.org>