1syntax = "proto3"; 2 3option java_multiple_files = true; 4option java_package = "com.android.settings.fuelgauge.batteryusage"; 5option java_outer_classname = "AppOptimizationModeEventProto"; 6 7message AppOptimizationModeEvents { 8 // Map of uid to AppOptimizationModeEvent 9 map<int32, AppOptimizationModeEvent> events = 1; 10} 11 12message AppOptimizationModeEvent { 13 optional int32 uid = 1; 14 optional string package_name = 2; 15 // Value of BatteryUsageSlot.BatteryOptimizationMode, range = [0,3] 16 optional int32 reset_optimization_mode = 3; 17 optional int64 expiration_time = 4; 18} 19