diff options
| author | 2023-02-16 01:59:48 -0800 | |
|---|---|---|
| committer | 2023-02-17 23:03:40 +0000 | |
| commit | 88fbe8634e87d062adf36d614ed0999a3f84683c (patch) | |
| tree | 37db7fd60ecdb67cfab45883c1ee81c80bc2c794 /libs/androidfw/ApkParsing.cpp | |
| parent | ebd856f4d74ca5aed7f0b943c387c84355219b98 (diff) | |
Reset BatteryStats when device has been plugged in for a long time.
BatteryStats continues to accumlate some stats while plugged in. The
avoid overflows or excessive memory usage, occasionally reset while
plugged in for extended periods of time.
Bug: 256919205
Test: atest BatteryStatsResetTest
Change-Id: If0db995ffaf4866bbadc828a0ade37a10da91553
Merged-In: If0db995ffaf4866bbadc828a0ade37a10da91553
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions