power/stats: Add more energy consumer types

Adding bluetooth, mobile radio, gnss, and wifi types

Bug: 176117316
Test: build
Change-Id: I6e22c426910c31bd65e2ec7cd569983a0d005007
This commit is contained in:
Benjamin Schwartz
2021-02-11 10:58:37 -08:00
parent ff858d5636
commit eb214d0328
2 changed files with 11 additions and 3 deletions

View File

@@ -34,6 +34,10 @@ package android.hardware.power.stats;
@VintfStability
enum EnergyConsumerType {
OTHER = 0,
CPU_CLUSTER = 1,
DISPLAY = 2,
BLUETOOTH = 1,
CPU_CLUSTER = 2,
DISPLAY = 3,
GNSS = 4,
MOBILE_RADIO = 5,
WIFI = 6,
}

View File

@@ -20,6 +20,10 @@ package android.hardware.power.stats;
@VintfStability
enum EnergyConsumerType {
OTHER,
BLUETOOTH,
CPU_CLUSTER,
DISPLAY,
}
GNSS,
MOBILE_RADIO,
WIFI,
}