Hide the IDLE in "app list"
Also don't smear it. Bug: 62423075 Test: RunSettingsRoboTests Change-Id: I74072f9dde0dcf7b9a4abb05b86fe2102b618d6a
This commit is contained in:
@@ -144,7 +144,8 @@ public class BatteryUtils {
|
||||
&& sipper.drainType != BatterySipper.DrainType.SCREEN
|
||||
&& sipper.drainType != BatterySipper.DrainType.UNACCOUNTED
|
||||
&& sipper.drainType != BatterySipper.DrainType.BLUETOOTH
|
||||
&& sipper.drainType != BatterySipper.DrainType.WIFI) {
|
||||
&& sipper.drainType != BatterySipper.DrainType.WIFI
|
||||
&& sipper.drainType != BatterySipper.DrainType.IDLE) {
|
||||
// Don't add it if it is overcounted, unaccounted, wifi, bluetooth, or screen
|
||||
proportionalSmearPowerMah += sipper.totalPowerMah;
|
||||
}
|
||||
|
Reference in New Issue
Block a user