Merge "Remove unnecessary converting us to ms" into sc-dev

This commit is contained in:
YUKAI HUNG
2021-05-12 04:34:57 +00:00
committed by Android (Google) Code Review

View File

@@ -400,7 +400,7 @@ public class BatteryUtils {
// couldn't get estimate from cache or provider, use fallback
if (estimate == null) {
estimate = new Estimate(
PowerUtil.convertUsToMs(batteryUsageStats.getBatteryTimeRemainingMs()),
batteryUsageStats.getBatteryTimeRemainingMs(),
false /* isBasedOnUsage */,
EstimateKt.AVERAGE_TIME_TO_DISCHARGE_UNKNOWN);
}