diff options
author | Kazuhiro Inaba <kinaba@google.com> | 2019-06-12 13:46:08 +0900 |
---|---|---|
committer | Kazuhiro Inaba <kinaba@google.com> | 2020-03-13 12:37:32 +0900 |
commit | 891893ba7b960cd8c646e9577f7f1dad4c94eb45 (patch) | |
tree | 64ec26ee7f36f2263dd9cc18fc1f22f65bc4782e /trusty/coverage/coverage_test.cpp | |
parent | 5bcf6498c375b6c20d626edeac2e60e4e1c7eceb (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
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions