1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** Copyright (C) 2023 The Android Open Source Project 5** 6** Licensed under the Apache License, Version 2.0 (the "License"); 7** you may not use this file except in compliance with the License. 8** You may obtain a copy of the License at 9** 10** http://www.apache.org/licenses/LICENSE-2.0 11** 12** Unless required by applicable law or agreed to in writing, software 13** distributed under the License is distributed on an "AS IS" BASIS, 14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15** See the License for the specific language governing permissions and 16** limitations under the License. 17*/ 18--> 19 20<!-- These resources are around just to allow their values to be customized 21 for different hardware and product builds. Do not translate. 22 23 NOTE: The naming convention is "config_camelCaseValue". Some legacy 24 entries do not follow the convention, but all new entries should. --> 25 26<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> 27 <string translatable="false" name="config_batterySaverDeviceSpecificConfig"></string> 28 29 <!-- Whether or not the device supports battery saver. If false, battery saver will be 30 disabled. --> 31 <bool name="config_batterySaverSupported">true</bool> 32 33 <!-- Whether or not battery saver should be "sticky" when manually enabled. --> 34 <bool name="config_batterySaverStickyBehaviourDisabled">false</bool> 35 36 <!-- Whether to enable "Battery Saver turned off" notification. --> 37 <bool name="config_batterySaverTurnedOffNotificationEnabled">true</bool> 38 39 <!-- Config flag to track default disable threshold for Dynamic power savings enabled battery saver. --> 40 <integer name="config_dynamicPowerSavingsDefaultDisableThreshold">80</integer> 41 42 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.adjustBrightnessFactor --> 43 <item name="config_batterySaver_full_adjustBrightnessFactor" format="float" type="dimen"> 44 .5 45 </item> 46 47 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.deferFullBackup --> 48 <bool name="config_batterySaver_full_deferFullBackup">true</bool> 49 50 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.deferKeyValueBackup --> 51 <bool name="config_batterySaver_full_deferKeyValueBackup">true</bool> 52 53 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.disableAnimation --> 54 <bool name="config_batterySaver_full_disableAnimation">false</bool> 55 56 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.disableAod --> 57 <bool name="config_batterySaver_full_disableAod">true</bool> 58 59 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.disableLaunchBoost --> 60 <bool name="config_batterySaver_full_disableLaunchBoost">true</bool> 61 62 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.disableOptionalSensors --> 63 <bool name="config_batterySaver_full_disableOptionalSensors">true</bool> 64 65 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.disableVibration --> 66 <bool name="config_batterySaver_full_disableVibration">false</bool> 67 68 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.enableAdjustBrightness --> 69 <bool name="config_batterySaver_full_enableAdjustBrightness">false</bool> 70 71 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.enableDataSaver --> 72 <bool name="config_batterySaver_full_enableDataSaver">false</bool> 73 74 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.enableFirewall --> 75 <bool name="config_batterySaver_full_enableFirewall">true</bool> 76 77 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.enableNightMode --> 78 <bool name="config_batterySaver_full_enableNightMode">true</bool> 79 80 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.enableQuickDoze --> 81 <bool name="config_batterySaver_full_enableQuickDoze">true</bool> 82 83 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.forceAllAppsStandby --> 84 <bool name="config_batterySaver_full_forceAllAppsStandby">true</bool> 85 86 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.forceBackgroundCheck --> 87 <bool name="config_batterySaver_full_forceBackgroundCheck">true</bool> 88 89 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.locationMode 90 (LOCATION_MODE_FOREGROUND_ONLY) --> 91 <integer name="config_batterySaver_full_locationMode">3</integer> 92 93 <!-- Default for BatterySaverPolicy.DEFAULT_FULL_POLICY.soundTriggerMode 94 (SOUND_TRIGGER_MODE_CRITICAL_ONLY) --> 95 <integer name="config_batterySaver_full_soundTriggerMode">1</integer> 96</resources> 97 98