Home
last modified time | relevance | path

Searched refs:totalPowerMah (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBatterySipper.java26 public double totalPowerMah; field in BatterySipper
95 this.totalPowerMah = value; in BatterySipper()
117 return Double.compare(other.totalPowerMah, totalPowerMah); in compareTo()
139 totalPowerMah += other.totalPowerMah; in add()
178 return totalPowerMah = usagePowerMah + wifiPowerMah + gpsPowerMah + cpuPowerMah + in sumPower()
DBatteryStatsHelper.java449 mMaxRealPower = mMaxPower = mUsageList.get(0).totalPowerMah; in refreshStats()
452 mComputedPower += mUsageList.get(i).totalPowerMah; in refreshStats()
597 if (radio.totalPowerMah > 0) { in addRadioUsage()
622 final double totalPowerMah = (suspendPowerMaMs + idlePowerMaMs) / (60 * 60 * 1000); in addIdleUsage() local
623 if (DEBUG && totalPowerMah != 0) { in addIdleUsage()
630 if (totalPowerMah != 0) { in addIdleUsage()
631 addEntry(BatterySipper.DrainType.IDLE, mTypeBatteryRealtimeUs / 1000, totalPowerMah); in addIdleUsage()
646 if (bs.totalPowerMah > 0) { in addWiFiUsage()
660 if (bs.totalPowerMah > 0) { in addBluetoothUsage()
/frameworks/base/core/java/android/os/
DBatteryStats.java3088 BatteryStatsHelper.makemAh(bs.totalPowerMah)); in dumpCheckinLocked()
3921 printmAh(pw, bs.totalPowerMah); in dumpLocked()
3923 if (bs.usagePowerMah != bs.totalPowerMah) { in dumpLocked()