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

Skip to content
Commit 0c316e96 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Stephen Boyd
Browse files

power: pm8921-bms: fix charging accuracy



The current driver assumes 100mA as the charge termination current.
Use the value configured from the board file.

Also the driver uses the battery voltage at the ADC to determine CC
to CV point. Although it works, it is more appropriate to calculate
battery terminal voltage and base CC to CV point on it.

CRs-Fixed: 420670
Change-Id: Ib046fd7149d71fc62c8f2df7a9747d6b54e95138
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 4cff6906
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