commit | d02bd8809b12a12d548f1f708ecf56cc7da01795 | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Wed Aug 22 17:48:16 2012 -0700 |
committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Wed Aug 22 17:48:16 2012 -0700 |
tree | 35f2a73fa7bbd763dbac96a0f8d2a13c94bac5e1 | |
parent | b1a5454cab6039537dae064851bc69e91b08092c [diff] |
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: Ibc2ecdbca32911b4f35c7e6c2278631a614227fa Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>