Include process state data in battery usage stats snapshots.
As the background current monitoring would need to access that. Bug: 203105544 Test: FrameworksCoreTests:com.android.internal.os Change-Id: Id5c04c4910054675d7f6e989f8eabf4321466e39
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user