Searched refs:chargeUAh (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 128 int chargeUAh, int chargeFullUAh); in setBatteryState() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 1031 final int level, final int temp, final int volt, final int chargeUAh, in setBatteryState() argument 1046 chargeUAh, chargeFullUAh); in setBatteryState() 1056 chargeUAh, chargeFullUAh); in setBatteryState()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 10389 final int oldStatus, final int level, final int chargeUAh) { in setOnBatteryLocked() argument 10443 if (chargeUAh > 0 && level > 0) { in setOnBatteryLocked() 10445 mEstimatedBatteryCapacity = (int) ((chargeUAh / 1000) / (level / 100.0)); in setOnBatteryLocked() 10554 int temp, int volt, int chargeUAh, int chargeFullUAh) { in setBatteryStateLocked() argument 10578 mHistoryCur.batteryChargeUAh = chargeUAh; in setBatteryStateLocked() 10610 if (chargeUAh < mHistoryCur.batteryChargeUAh) { in setBatteryStateLocked() 10612 final long chargeDiff = mHistoryCur.batteryChargeUAh - chargeUAh; in setBatteryStateLocked() 10616 mHistoryCur.batteryChargeUAh = chargeUAh; in setBatteryStateLocked() 10617 setOnBatteryLocked(elapsedRealtime, uptime, onBattery, oldStatus, level, chargeUAh); in setBatteryStateLocked() 10650 if (chargeUAh >= (mHistoryCur.batteryChargeUAh+10) in setBatteryStateLocked() [all …]
|