Add logging for total screen-on time and foreground usage time.
Test: manual Bug: 260965322 Change-Id: Ia1711fb73a6390e6a91289331daf3d88675731fe
This commit is contained in:
@@ -1792,6 +1792,8 @@ public final class DataProcessor {
|
||||
systemAppsDiffEntry = new BatteryDiffEntry.SystemAppsBatteryDiffEntry(context);
|
||||
}
|
||||
systemAppsDiffEntry.mConsumePower += batteryDiffEntry.mConsumePower;
|
||||
systemAppsDiffEntry.mForegroundUsageTimeInMs +=
|
||||
batteryDiffEntry.mForegroundUsageTimeInMs;
|
||||
systemAppsDiffEntry.setTotalConsumePower(
|
||||
batteryDiffEntry.getTotalConsumePower());
|
||||
appListIterator.remove();
|
||||
|
Reference in New Issue
Block a user