Merge "Include process state data in battery usage stats snapshots."

This commit is contained in:
Jing Ji
2022-01-23 04:43:33 +00:00
committed by Android (Google) Code Review

View File

@@ -58,6 +58,7 @@ public class BatteryUsageStatsStore {
new BatteryUsageStatsQuery.Builder()
.setMaxStatsAgeMs(0)
.includePowerModels()
.includeProcessStateData()
.build());
private static final String BATTERY_USAGE_STATS_DIR = "battery-usage-stats";
private static final String SNAPSHOT_FILE_EXTENSION = ".bus";