Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DWifiPowerCalculator.java86 double powerDrainMah = counter.getPowerCounter().getCountLocked(statsType) in calculateRemaining() local
88 if (powerDrainMah == 0) { in calculateRemaining()
90 powerDrainMah = ((idleTimeMs * mIdleCurrentMa) + (txTimeMs * mTxCurrentMa) in calculateRemaining()
93 app.wifiPowerMah = Math.max(0, powerDrainMah - mTotalAppPowerDrain); in calculateRemaining()