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.java12555 long msPerLevel = mDischargeStepTracker.computeTimePerLevel(); in computeBatteryTimeRemaining() local
12556 if (msPerLevel <= 0) { in computeBatteryTimeRemaining()
12559 return (msPerLevel * mCurrentBatteryLevel) * 1000; in computeBatteryTimeRemaining()
12585 long msPerLevel = mChargeStepTracker.computeTimePerLevel(); in computeChargeTimeRemaining() local
12586 if (msPerLevel <= 0) { in computeChargeTimeRemaining()
12589 return (msPerLevel * (100 - mCurrentBatteryLevel)) * 1000; in computeChargeTimeRemaining()