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

Commit 34c657e2 authored by Xiaozhe Shi's avatar Xiaozhe Shi Committed by Abhijeet Dharmapurikar
Browse files

power: qpnp-fg: compensate for rslow over charging



In the fuel gauge, the rslow is the capacitive resistance in the
battery. Since this changes over time, it cannot be easily sensed by the
fuel gauge's ESR detection. Instead, the value is provided by a constant
in the battery profile.

However, the rslow was found to change when charging at different
battery state of charges. The changes in rslow can cause up to 2-3% of
SoC error when charging in an almost full state.

Fix this by using differently profiled rslow data when charging at over
a set threshold.

CRs-Fixed: 768722
Change-Id: I7c61782c6ab9c4a97bb3a87aea8dc7e9eab6534b
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent f960d4bc
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