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

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

power: qpnp-bms: do not pull SoC to 0 based on voltage



When the BMS driver was less accurate, a voltage based SOC clamp was
added in order to keep SoC from shutting down the device incorrectly
at higher voltages and from keeping the device on and going into UVLO
at lower voltages.

However, the ADC voltage reads can dip below cutoff momentarily due
to a faulty read or a large current spike. This can cause the SoC
to go to 0 unnaturally.

Fix this by removing the low end of the voltage clamp so SoC does not
get pulled to 0 and shutdown the device with current spikes.

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