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

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

power: qpnp-vm-bms: Apply UUC logic only while discharging



UUC (unusable capacity) is applied when a charger is present
and battery is discharging. Change it to be applied only when
we are discharging.

In some cases, even with the charger present the discharge
current > charge current (battery is net discharging). In
this case, the SOC may not reach 0 at the cutoff voltage
(as the UUC reduction is not applied). This can cause the
battery voltage to go critically low causing a UVLO.

CRs-Fixed: 793706
Change-Id: Ibe21bdfeb82565816e4555d60b627c9f2adff099
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent eb1cce2a
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