Format BatteryEntry and BatteryDiffEntry class

Bug: N/A
Test: make RunSettingsRoboTests
Change-Id: I14e2ef4c455209e58edc5ccdbe064f469815cccd
This commit is contained in:
ykhung
2022-04-17 11:17:11 +08:00
committed by YK Hung
parent c4801433d9
commit b593e00af0
10 changed files with 102 additions and 124 deletions

View File

@@ -101,7 +101,7 @@ public final class ConvertUtils {
values.put(BatteryHistEntry.KEY_CONSUME_POWER,
Double.valueOf(entry.getConsumedPower()));
values.put(BatteryHistEntry.KEY_PERCENT_OF_TOTAL,
Double.valueOf(entry.percent));
Double.valueOf(entry.mPercent));
values.put(BatteryHistEntry.KEY_FOREGROUND_USAGE_TIME,
Long.valueOf(entry.getTimeInForegroundMs()));
values.put(BatteryHistEntry.KEY_BACKGROUND_USAGE_TIME,