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.java8605 long msPerLevel = mDischargeStepTracker.computeTimePerLevel(); in computeBatteryTimeRemaining() local
8606 if (msPerLevel <= 0) { in computeBatteryTimeRemaining()
8609 return (msPerLevel * mCurrentBatteryLevel) * 1000; in computeBatteryTimeRemaining()
8644 long msPerLevel = mChargeStepTracker.computeTimePerLevel(); in computeChargeTimeRemaining() local
8645 if (msPerLevel <= 0) { in computeChargeTimeRemaining()
8648 return (msPerLevel * (100-mCurrentBatteryLevel)) * 1000; in computeChargeTimeRemaining()