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

Skip to content
Commit 043957d6 authored by Anirudh Ghayal's avatar Anirudh Ghayal Committed by Gerrit - the friendly Code Review server
Browse files

power: vm-bms: Clamp SOC at v-cutoff during discharge



Due to immaturities of the VBMS hw/sw there is a possibility
of SOC inaccuracy near the cutoff-voltage. In such cases
to avoid pre-mature reporting of SOC = 0, clamp the SOC to
1 if the VBMS calculated SOC is 0 and the battery voltage is
above the cutoff-voltage.

Change-Id: I11bdfec5a67ceead91412a20ea57dad2808228d8
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 635c5a56
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