commit | 30e9480925e44b6e25e1118aafd08da85813fd3b | [log] [tgz] |
---|---|---|
author | Xiaozhe Shi <xiaozhes@codeaurora.org> | Mon Aug 19 16:40:53 2013 -0700 |
committer | David Keitel <dkeitel@codeaurora.org> | Fri Aug 23 12:22:36 2013 -0700 |
tree | 444cc439c1ddec16200cf92aeba2193cb8dd5d4b | |
parent | 4c593ec059cf8ad6b0f69ffd99ab96ca059b552a [diff] |
power: qpnp-charger: Report FULL sooner At end of charge, the charger driver disables charging for 2 seconds in order to stop charging. During these two seconds, the charge_done flag is not set, so querying the battery power supply reports DISCHARGING. Move setting the charge_done flag above this wait in order to report FULL charge immediately. Change-Id: I23e6fa18b626eb7360df23c4f30f660439a041af Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>