Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DBatteryInfo.java272 final long drainTimeUs = PowerUtil.convertMsToUs(estimate.estimateMillis); in updateBatteryInfoDischarging() local
273 if (drainTimeUs > 0) { in updateBatteryInfoDischarging()
274 info.remainingTimeUs = drainTimeUs; in updateBatteryInfoDischarging()
277 PowerUtil.convertUsToMs(drainTimeUs), in updateBatteryInfoDischarging()
283 PowerUtil.convertUsToMs(drainTimeUs), in updateBatteryInfoDischarging()
288 context, PowerUtil.convertUsToMs(drainTimeUs)); in updateBatteryInfoDischarging()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryInfo.java275 final long drainTimeUs = PowerUtil.convertMsToUs(estimate.getEstimateMillis()); in updateBatteryInfoDischarging() local
276 if (drainTimeUs > 0) { in updateBatteryInfoDischarging()
277 info.remainingTimeUs = drainTimeUs; in updateBatteryInfoDischarging()
280 PowerUtil.convertUsToMs(drainTimeUs), in updateBatteryInfoDischarging()
286 PowerUtil.convertUsToMs(drainTimeUs), in updateBatteryInfoDischarging()
291 context, PowerUtil.convertUsToMs(drainTimeUs)); in updateBatteryInfoDischarging()