micky387 | 6322663 | 2023-10-24 10:41:31 +0200 | [diff] [blame] | 1 | <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> |
| 2 | <bool translatable="false" name="config_enableAutoSuspend">true</bool> |
| 3 | |
| 4 | <!-- Path to the library that contains a device specific key handler --> |
| 5 | <string name="config_deviceKeyHandlerLib" translatable="false"></string> |
| 6 | |
| 7 | <!-- Name of that key handler class --> |
| 8 | <string name="config_deviceKeyHandlerClass" translatable="false"></string> |
| 9 | |
| 10 | <!-- make sure you enable this only if your device supports deep slepp |
| 11 | with active proximity sensor event listener --> |
| 12 | <bool name="config_proxiSensorWakupCheck">false</bool> |
micky387 | ac1e878 | 2023-10-26 14:22:54 +0200 | [diff] [blame] | 13 | |
| 14 | <!-- Is the battery LED intrusive? Used to decide if there should be a disable option --> |
| 15 | <bool name="config_intrusiveBatteryLed">false</bool> |
| 16 | <!-- Does the battery LED support multiple colors? |
| 17 | Used to decide if the user can change the colors --> |
| 18 | <bool name="config_multiColorBatteryLed">false</bool> |
| 19 | <!-- Does the device supports fast charging --> |
| 20 | <bool name="config_FastChargingLedSupported">false</bool> |
| 21 | <!-- Default value for led color when fast charging is active --> |
| 22 | <integer name="config_notificationsFastBatteryARGB">0x0000FF</integer> |
Adnan Begovic | 0156142 | 2025-01-04 16:13:21 -0500 | [diff] [blame] | 23 | |
| 24 | <!-- Defines external services to be started by the OmniRomSystemServer at boot. The service itself |
| 25 | should publish as a binder services in its onStart --> |
| 26 | <string-array name="config_externalOmniRomServices"> |
Luofan Chen | 120a40d | 2023-03-01 19:12:53 +0800 | [diff] [blame] | 27 | <item>org.omnirom.omnilib.internal.health.HealthInterfaceService</item> |
Adnan Begovic | 0156142 | 2025-01-04 16:13:21 -0500 | [diff] [blame] | 28 | </string-array> |
| 29 | |
| 30 | <!-- The LineageSystemServer class that is invoked from Android's SystemServer --> |
| 31 | <string name="config_externalSystemServer" translatable="false">org.omnirom.omnilib.internal.OmniRomSystemServer</string> |
Luofan Chen | 120a40d | 2023-03-01 19:12:53 +0800 | [diff] [blame] | 32 | |
| 33 | <!-- Whether charging control should be enabled by default --> |
| 34 | <bool name="config_chargingControlEnabled">false</bool> |
| 35 | <!-- Default charging control mode. |
| 36 | This integer should be set to: |
| 37 | 1 - auto - Use the alarm to calculate the time range when to activate charging control |
| 38 | 2 - custom - Use time range when the device is usually charging for hours |
| 39 | 3 - limit - Just limit charging --> |
| 40 | <integer name="config_defaultChargingControlMode">1</integer> |
| 41 | <!-- Default time when charging control is activated. |
| 42 | Represented as seconds from midnight (e.g. 79200 == 10pm). --> |
| 43 | <integer name="config_defaultChargingControlStartTime">79200</integer> |
| 44 | <!-- Default time when battery will be fully charged. |
| 45 | Represented as seconds from midnight (e.g. 21600 == 6am). --> |
| 46 | <integer name="config_defaultChargingControlTargetTime">21600</integer> |
| 47 | <!-- Default charging limit. --> |
| 48 | <integer name="config_defaultChargingControlLimit">80</integer> |
| 49 | <!-- Considering the fact that the system might have an incorrect estimation of the time to |
| 50 | full. Set a time margin to make the device fully charged before the target time arrives. |
| 51 | The unit is minutes and the default value is 30 minutes. If you find that it is not enough |
| 52 | to make the device to be fully charged at the target time, increase the value |
| 53 | --> |
| 54 | <integer name="config_chargingControlTimeMargin">30</integer> |
Luofan Chen | fd0e198 | 2024-02-23 14:14:30 +0800 | [diff] [blame] | 55 | <!-- Some devices might require always setting the toggle instead of set based on current toggle |
| 56 | value. If this is the case, set this config to true to let the toggle provider always set |
| 57 | charging enabled status regardless of the current status. --> |
| 58 | <bool name="config_chargingControlToggleSetAlways">false</bool> |
Luofan Chen | 120a40d | 2023-03-01 19:12:53 +0800 | [diff] [blame] | 59 | <!-- For a device that cannot bypass battery when charging stops (that is, the battery current |
| 60 | is 0mA when charging stops), the battery will gradually discharge. So we need to make it |
| 61 | recharge when the battery level is lower than a threshold. Set this so that the device |
| 62 | will be charged between (limit - val) and limit. --> |
| 63 | <integer name="config_chargingControlBatteryRechargeMargin">10</integer> |
| 64 | |
micky387 | 428a647 | 2025-02-20 16:46:48 -0500 | [diff] [blame] | 65 | <!-- This build type is true when ROM_BUILDTYPE is Microg by |
| 66 | installing the MicrogOmniLibOverlay package --> |
| 67 | <bool name="config_useMicroGBuildType">false</bool> |
| 68 | |
micky387 | 6322663 | 2023-10-24 10:41:31 +0200 | [diff] [blame] | 69 | </resources> |