Commit 2fe396f1 authored by choongryeol.lee's avatar choongryeol.lee Committed by Iliyan Malchev
Browse files

mako: power: pm8921-bms: charging curve adjustments

It was observed that while charging the reported soc sometimes reaches
100% before end of charging happens. At other times it does not reach
100% at end of charge and a abrupt jump to 100% soc happens.

Fix this by linearly increasing soc based on battery charge current
after constant voltage phase is reached. Constant voltage phase is
reached when battery voltage reaches the max value.

Also once constant voltage phase is reached and the voltage or charge
current decreases keep reporting the earlier soc. This could be because
of a transient system load.

Change-Id: I7f04219f782d04cde95dd78c554ae5bbf1880f59
parent de123180
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment