Record app optimization mode backup into BatteryHistoricalLog

App optimization mode format:
https://screenshot.googleplex.com/di9DDzBfYf7ihfV

App optimization mode backup format:
https://screenshot.googleplex.com/GkVW5HrgGvmv5yh

Bug: 192523697
Test: make SettingsRoboTests
Change-Id: I60a9a76a8ffc89d625ee3f77c138a19181c81c38
This commit is contained in:
ykhung
2023-05-11 00:02:10 +08:00
parent 002f06e120
commit 8f56114489
5 changed files with 73 additions and 33 deletions

View File

@@ -19,10 +19,11 @@ message BatteryOptimizeHistoricalLogEntry {
APPLY = 2;
RESET = 3;
RESTORE = 4;
BACKUP = 5;
}
optional string package_name = 1;
optional Action action = 2;
optional string action_description = 3;
optional int64 timestamp = 4;
}
}