Skip to content
Commit c733ef66 authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

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
parent ddd5bd83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment