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

Skip to content
Commit 38626d85 authored by Zhenhua Huang's avatar Zhenhua Huang
Browse files

power: qpnp-vm-bms: report end-of-charging based on last_soc



Previous design used calculated_soc to report EOC(end of charging),
while soc based resume charging based on last_soc. If calculated_soc
toggles occasionally, charging state and SOC(state of charge) will
be in a mess.

Fix this kind of issue by reporting end-of-charging based on last_soc.

CRs-Fixed: 655107
Change-Id: Ia06b58eb00bc82c95ff42b3347f07af76cb538d5
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
parent 87313e3e
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