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.java12862 long msPerLevel = mDischargeStepTracker.computeTimePerLevel(); in computeBatteryTimeRemaining() local
12863 if (msPerLevel <= 0) { in computeBatteryTimeRemaining()
12866 return (msPerLevel * mCurrentBatteryLevel) * 1000; in computeBatteryTimeRemaining()
12901 long msPerLevel = mChargeStepTracker.computeTimePerLevel(); in computeChargeTimeRemaining() local
12902 if (msPerLevel <= 0) { in computeChargeTimeRemaining()
12905 return (msPerLevel * (100-mCurrentBatteryLevel)) * 1000; in computeChargeTimeRemaining()