commit | f8d37749b4e2fdb9fd882f33382c9210b5b1db54 | [log] [tgz] |
---|---|---|
author | Michael Rosenfeld <mrosenfeld@google.com> | Fri Apr 22 17:38:18 2022 -0700 |
committer | Michael Rosenfeld <mrosenfeld@google.com> | Tue Apr 26 02:07:05 2022 +0000 |
tree | dcc51742421f088f13bf493d26fee4674517b404 | |
parent | 6d8f27328fe90cf8475182660594c6d6dd3ddbeb [diff] |
Add an option, --reset-all, to dumpsys batterystats. * Removes historical battery usage stats data in addition to clearing batterystats. Test: atest FrameworksCoreTests:BatteryUsageStatsStoreTest#testRemoveAllBusSnapshots Bug: 226443003 Change-Id: I9b29f97b45f7aa3c49cd8e354107ab7f13a2ce7d