Merge "Show wifi and bluetooth item in battery settings" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-18 19:13:33 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 14 deletions

View File

@@ -185,9 +185,7 @@ public class BatteryUtils {
return drainType == BatterySipper.DrainType.IDLE
|| drainType == BatterySipper.DrainType.CELL
|| drainType == BatterySipper.DrainType.WIFI
|| drainType == BatterySipper.DrainType.SCREEN
|| drainType == BatterySipper.DrainType.BLUETOOTH
|| drainType == BatterySipper.DrainType.UNACCOUNTED
|| drainType == BatterySipper.DrainType.OVERCOUNTED
|| (sipper.totalPowerMah * SECONDS_IN_HOUR) < MIN_POWER_THRESHOLD_MILLI_AMP