diff options
author | Benjamin Schwartz <bsschwar@google.com> | 2018-12-12 14:16:15 -0800 |
---|---|---|
committer | Benjamin Schwartz <bsschwar@google.com> | 2019-01-02 18:45:31 +0000 |
commit | 5626d0820e7e5fe263f4b0350568b3a73b9007c9 (patch) | |
tree | 44042d382adc50750195d7d85485cd413f2b7f26 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | c961a0266b12fe20e9ae4d49b366a0b0356613bb (diff) |
BatteryStats: Update to use power.stats HAL
This CL updates BatteryStatsService to use power.stats HAL if available.
power.stats HAL is the new HAL that will be collecting platform and
subsystem power statistics going forward. BatteryStatsService will still
fall back to using the existing power HAL if power.stats HAL is not
implemented.
Bug: 120552155
Test: Disconnected the device from the charger, let battery drain 1-2%,
then ran "adb shell dumpsys batterystats" and visually inspected.
Test: Did the above test with and without power.stats HAL available
Test: Took a bugreport and verified that subsystem stats show up in
Volta Historian.
Change-Id: I5eb63fcbbf87a134bd8c34a11330db8b55df3894
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions