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

Skip to content
Commit 407e93d8 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-bms: fix soc adjustment in high load charging



When the system is under heavy load but still drawing power from the
connected charger and the battery is in constant voltage charging,
the BMS driver never changes back into a constant current charging
state. This can cause random SoC jumps if the system load suddenly
lessens and the BMS driver tries to do constant voltage style SoC
scaling based on battery current.

Fix this by allowing the BMS driver to back out of the constant voltage
charging state.

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