commit | c733ef6692e654d56946f4b8e6bcafd44046068c | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Sun Mar 21 16:25:42 2021 -0700 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Thu Mar 25 18:45:08 2021 -0700 |
tree | fa0a1293e223614d719fb335902de6846960893b | |
parent | ddd5bd8318e2b6ae25b215054d6ac6229a17dd69 [diff] |
Add SystemBatteryConsumer.getPowerConsumedByApps() Also, standardize the implementations of getConsumedPower() to consistently return the total power consumed, not the power unattributed to apps. Bug: 183235836 Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsTests Change-Id: Iaedb29b9d7afd9843b0ab871e9b8656963db11ea