commit | c5b1671325caf7c0ba45504175c7b36536665d24 | [log] [tgz] |
---|---|---|
author | Kazuhiro Inaba <kinaba@google.com> | Wed Jun 12 13:46:08 2019 +0900 |
committer | Kazuhiro Inaba <kinaba@google.com> | Fri Mar 13 12:37:32 2020 +0900 |
tree | 64ec26ee7f36f2263dd9cc18fc1f22f65bc4782e | |
parent | 3df9f9085df2f7f9e0f15f4fe017e543260e7e4a [diff] |
healthd: Don't take device-scoped battery as the main system battery. Some devices expose the battery state of stylus etc in sysfs, in addition to the whole system's main battery. Android only recognizes the first battery enumerated here. We need to filter out such HID-specific battery to let Android correctly monitor the main battery status. Bug: 136111013 Test: CtsBatterySavingTestCases on arcada Change-Id: I4cbf6e3bf883fb3d107bedd2849d8ad525538629