Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java12547 long msPerLevel = mDischargeStepTracker.computeTimePerLevel(); in computeBatteryTimeRemaining() local
12548 if (msPerLevel <= 0) { in computeBatteryTimeRemaining()
12551 return (msPerLevel * mCurrentBatteryLevel) * 1000; in computeBatteryTimeRemaining()
12586 long msPerLevel = mChargeStepTracker.computeTimePerLevel(); in computeChargeTimeRemaining() local
12587 if (msPerLevel <= 0) { in computeChargeTimeRemaining()
12590 return (msPerLevel * (100-mCurrentBatteryLevel)) * 1000; in computeChargeTimeRemaining()