commit | 342a2264b96ab05dc8fdbfa8bbe354ce2f4b06ca | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Mon Aug 18 11:23:11 2014 -0700 |
committer | Todd Poynor <toddpoynor@google.com> | Mon Aug 18 14:32:14 2014 -0700 |
tree | a1639554c0b1a941237e93f7ecada593f2a437d5 | |
parent | 82b76249fbc339e82ab47a956f7e17160247e4c4 [diff] |
healthd: charger: fix check for charger connected to enter suspend Logic for this check was inadvertently reversed when porting this from the charger daemon to healthd. Request suspend if a charegr is connected, else stay out of suspend waiting for a charger connect or power off if none. Bug: 17112463 Change-Id: Iffdb6dbcd0d0a2a614ff8f50bf5f2e22e1ad552f