commit | a14e0f5e5095fde35dbaa7136f6c93a121c2cd69 | [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 22:22:07 2023 +0000 |
tree | 0d1dd214e868860bedbaed778d63d13e5657fed6 | |
parent | 9c630e3602101971817705a99a616b914eb5579e [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: 269538224 Test: atest BatteryStatsResetTest Change-Id: If0db995ffaf4866bbadc828a0ade37a10da91553