commit | c9ffe847459fc198e6225b4308c9f44f0b23df53 | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Fri Jan 25 19:37:51 2013 -0800 |
committer | David Keitel <dkeitel@codeaurora.org> | Wed Mar 13 10:59:38 2013 -0700 |
tree | 8d466a5fab9783ac3dd0a1b6705452111e9cba70 | |
parent | 42ae0aa2506f017fe60086326a69d1b63f6dac70 [diff] |
power: qpnp-charger: fix check for fully charged battery When reporting the battery state to be full make sure that both the chg_done property as well as the interrupt status are set. This also fixes a problem that once charging resumes that the chg_done flag is unset and battery is reported as charging again. CRs-Fixed: 446370 Change-Id: Idcd62860f3faf502c7c1009bbb04e9c8e8694384 Signed-off-by: David Keitel <dkeitel@codeaurora.org>