Open metametapod opened 4 months ago
See the firewall_disabled key documented here as a supported value for battery_saver_constants:
firewall_disabled
battery_saver_constants
/** * Battery Saver specific settings * This is encoded as a key=value list, separated by commas. Ex: * * "vibration_disabled=true,adjust_brightness_factor=0.5" * * The following keys are supported: * * <pre> * advertise_is_enabled (boolean) * datasaver_disabled (boolean) * enable_night_mode (boolean) * launch_boost_disabled (boolean) * vibration_disabled (boolean) * animation_disabled (boolean) * soundtrigger_disabled (boolean) * fullbackup_deferred (boolean) * keyvaluebackup_deferred (boolean) * firewall_disabled (boolean) * gps_mode (int) * adjust_brightness_disabled (boolean) * adjust_brightness_factor (float) * force_all_apps_standby (boolean) * force_background_check (boolean) * optional_sensors_disabled (boolean) * aod_disabled (boolean) * quick_doze_enabled (boolean) * </pre> * @hide * @see com.android.server.power.batterysaver.BatterySaverPolicy */ @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553) @TestApi @Readable public static final String BATTERY_SAVER_CONSTANTS = "battery_saver_constants";
See the
firewall_disabled
key documented here as a supported value forbattery_saver_constants
: