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

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

power: qpnp-bms: do not adjust OCV during charging



Previously, the BMS driver adjusted OCV during charging in order to
make sure SoC does not jump when charging stops before hitting full.

With the new SoC weighting algorithm during CV, this scheme causes
inaccuracies by creating a negative feedback loop that incorrectly
freezes SoC at the CC to CV point.

Fix this by simply not adjusting OCV during charging. Instead adjust
the OCV to the currently calculated SoC once charging stops.

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