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

Skip to content
Commit 59ee9ab3 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-bms: Use charger's battery insertion OCV



Use the charger driver's OCV reading taken upon battery insertion
instead of estimating OCV when the BMS driver detects a new battery.

This drastically improves the accuracy of battery state of charge
when hotswapping.

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