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:
Xiaozhe Shi <xiaozhes@codeaurora.org>
Loading
Please register or sign in to comment