Merge "Remove unnecessary converting us to ms" into sc-dev am: 899845b1ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14503323 Change-Id: I252e706637717539f4e4d203845d1979563c606c
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user