commit | 9c5210967e66366d39893e0627c6ed139c49ed49 | [log] [tgz] |
---|---|---|
author | Ruchi Kandoi <kandoiruchi@google.com> | Mon Feb 29 13:13:39 2016 -0800 |
committer | Ruchi Kandoi <kandoiruchi@google.com> | Tue Mar 08 22:28:25 2016 +0000 |
tree | ba4c53018a9f6209f1d8800b6d0d51be88fb109e | |
parent | efe9111920081f6e84e01639e6b1410cfac31583 [diff] |
healthd: Check if battery device exists instead of charger drivers before setting fake properties. healthd used to check for registered charger drivers to determine if the device is an always-plugged device with no battery. This patch changes it to check for battery instead. Change-Id: Ie4ff5d3f21dc1a83a780a41eb0c929f66b86d631 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>