Commit 8a113f87 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: pm8921-bms: accumulate last_charge_increase



The current code always overwrites last_charger_increase when end
of charging happens. Update the code to add the current percent
increase.

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