Commit b9ec2cf0 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Neha Pandey
Browse files

power: pm8921-bms: fix fake battery emulation



With the recent split of functions to calculate and report state of
charge, the faking battery feature broke, it remained in the calculate
function.

Move the fake battery feature in the reporting function, where it really
belongs.

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