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: I329fab1dc7a960f729b207e64aa0160aaa32dcaa
This commit is contained in:
@@ -400,7 +400,7 @@ public class BatteryUtils {
|
|||||||
// couldn't get estimate from cache or provider, use fallback
|
// couldn't get estimate from cache or provider, use fallback
|
||||||
if (estimate == null) {
|
if (estimate == null) {
|
||||||
estimate = new Estimate(
|
estimate = new Estimate(
|
||||||
PowerUtil.convertUsToMs(batteryUsageStats.getBatteryTimeRemainingMs()),
|
batteryUsageStats.getBatteryTimeRemainingMs(),
|
||||||
false /* isBasedOnUsage */,
|
false /* isBasedOnUsage */,
|
||||||
EstimateKt.AVERAGE_TIME_TO_DISCHARGE_UNKNOWN);
|
EstimateKt.AVERAGE_TIME_TO_DISCHARGE_UNKNOWN);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user