Commit b40b96f5 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: pm8921-bms: fix shutting down early at cold temperature



At cold temperatures the battery resistance is high. This high resistance
translates to a high unusable charge(UUC) value and causes early 0% state
of charge report. The phone survives for only about 20 minutes from a fully
charged state.

Fix this by slowly increasing/decreasing the UUC value as the battery
discharges/charges respectively. Remember the last uuc reported and that
forms the base from which we change it in steps.

Change-Id: I9c09bc8274de1c7b1a1fcae586653dd9e91e161f
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 10bc0fde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment