commit | babe47878a757c8c6a4fffc08fdbc5cf98ba5e37 | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Tue Jan 24 10:55:30 2023 -0800 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Tue Jan 24 19:37:58 2023 -0800 |
tree | 167dd599b877fb35b211a3bc9151e84694fbe383 | |
parent | 0625ccde2b9d94f864ef14b416ed57a3a937d3e9 [diff] |
Fix battery history corruption The corruption occurs when CPU wakes up after being suspended and the new history event has lower battery level than the last recorded before suspend. Bug: 247338158 Test: atest FrameworksServicesTests:BatteryStatsTests Change-Id: Id78c0acd60a92b26c818a2c4a5feb45b8e58f040