commit | 4f9397b2f4694016f54c5b1967b51565b9819c4c | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Mon Apr 16 11:46:16 2012 -0700 |
committer | David Keitel <dkeitel@codeaurora.org> | Mon Apr 16 15:42:57 2012 -0700 |
tree | 37c80e05050b5cd757b0959ac62afa988f4d6a68 | |
parent | d7e20e2a2de58254a9f6dd11e3e9b9622bda38c3 [diff] |
power: pm8921-charger: fix state of charge reporting When the battery is missing the BMS is currently still used to calculate the state of charge. Fix this by reporting the voltage based state of charge when the battery is missing. Change-Id: I8eb265193b5bfb953add8731e9f47723cf301891 Signed-off-by: David Keitel <dkeitel@codeaurora.org>