aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>2012-01-25 13:22:26 -0800
committerAbhijeet Dharmapurikar <adharmap@codeaurora.org>2012-01-25 17:18:59 -0800
commit57aeb92ca8f7240714434fa054e95d21318cab84 (patch)
treec84f8d84aa877883da80fef9dc47d52fcace592e /scripts/gcc-wrapper.py
parent8a113f874e3a147f703d3a5419751d1fd21bfa0b (diff)
power: pm8921-bms: fix reporting bms_end_cc_uah = 0
There is a bug in the driver where the code to fake full battery causes coulumb counter based charge (bms_end_cc_uah) to be reported 0mAh. The reason is once the battery is fully charged a 100% OCV (open circuit voltage) is faked and columb counter value is offset such that the coulumb reads start from zero. This faking is cleaned up until a real OCV happens. Fix the code such that bms_end_cc_uah is updated before the columb counter is made to read 0. Change-Id: I14ce494182ac899205fa41ad815a030d573ab793 Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions