commit | ff6c7f864c17774618af2734070c17e4c4a45c0a | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Mon Mar 29 17:44:47 2021 -0700 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Mon Mar 29 19:18:24 2021 -0700 |
tree | 95aca8f8cfedfa3d0332def1f4fec73565f89004 | |
parent | 68037c9a26803fe33c5461af5795ecdeb305390b [diff] |
Adjust total consumed power to avoid double-counting The definition of SystemBatteryConsumer.getConsumedPower() has been changed to include power attributed to apps. That power is also included in UidBatteryConsumers, so we ended up double-counting power attributed to apps. Bug: 183235836 Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsTests Change-Id: Ib99b3ce910b62528241e271bdb3b925a9ac01830