Commit 95971a84 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: pm8921-bms: support fake battery



Provide ability to tell the bms that a device is running on a fake
battery. When told so, the bms will calculate the state of charge
as usual but will always report 53% charge left in the battery.

This helps avoiding shutdowns when the percent charge gets very low
- the charge drawn from the fake battery is equal or greater than
the capacity of the battery.

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