commit | 88fbe8634e87d062adf36d614ed0999a3f84683c | [log] [tgz] |
---|---|---|
author | Michael Wachenschwanz <mwachens@google.com> | Thu Feb 16 01:59:48 2023 -0800 |
committer | Michael Wachenschwanz <mwachens@google.com> | Fri Feb 17 23:03:40 2023 +0000 |
tree | 37db7fd60ecdb67cfab45883c1ee81c80bc2c794 | |
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