80 linhas
3.6 KiB
XML
80 linhas
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2024 The LineageOS Project
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
|
|
<integer name="config_shutdownBatteryTemperature">580</integer>
|
|
|
|
<!-- Doze: should the TYPE_PICK_UP_GESTURE sensor be used as a pulse signal. -->
|
|
<bool name="config_dozePulsePickup">true</bool>
|
|
|
|
<!-- Type of the tap sensor. Empty if tap is not supported. -->
|
|
<string name="config_dozeTapSensorType" translatable="false">org.lineageos.sensor.single_tap</string>
|
|
|
|
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
|
|
device from the display on/off state.
|
|
|
|
When false, autosuspend_disable() will be called before the display is turned on
|
|
and autosuspend_enable() will be called after the display is turned off.
|
|
This mode provides best compatibility for devices using legacy power management
|
|
features such as early suspend / late resume.
|
|
|
|
When true, autosuspend_display() and autosuspend_enable() will be called
|
|
independently of whether the display is being turned on or off. This mode
|
|
enables the power manager to suspend the application processor while the
|
|
display is on.
|
|
|
|
This resource should be set to "true" when a doze component has been specified
|
|
to maximize power savings but not all devices support it.
|
|
|
|
Refer to autosuspend.h for details.
|
|
-->
|
|
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
|
|
|
|
<!-- Power Management: Specifies whether to decouple the interactive state of the
|
|
device from the display on/off state.
|
|
|
|
When false, setInteractive(..., true) will be called before the display is turned on
|
|
and setInteractive(..., false) will be called after the display is turned off.
|
|
This mode provides best compatibility for devices that expect the interactive
|
|
state to be tied to the display state.
|
|
|
|
When true, setInteractive(...) will be called independently of whether the display
|
|
is being turned on or off. This mode enables the power manager to reduce
|
|
clocks and disable the touch controller while the display is on.
|
|
|
|
This resource should be set to "true" when a doze component has been specified
|
|
to maximize power savings but not all devices support it.
|
|
|
|
Refer to power.h for details.
|
|
-->
|
|
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
|
|
|
<!-- Whether the new Auto Selection Network UI should be shown -->
|
|
<bool name="config_enableNewAutoSelectNetworkUI">true</bool>
|
|
|
|
<!-- If true, the display will be shifted around in ambient mode. -->
|
|
<bool name="config_enableBurnInProtection">true</bool>
|
|
|
|
<!-- Whether device supports double tap to wake -->
|
|
<bool name="config_supportDoubleTapWake">true</bool>
|
|
|
|
<!-- Low zone brightness thresholds in the range [0, 255] -->
|
|
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate" translatable="false">
|
|
<item>7</item>
|
|
<item>11</item>
|
|
</integer-array>
|
|
|
|
<!-- Low zone lux thresholds -->
|
|
<integer-array name="config_ambientThresholdsOfPeakRefreshRate" translatable="false">
|
|
<item>-1</item>
|
|
<item>15</item>
|
|
</integer-array>
|
|
|
|
<!-- Default refresh rate in the zone defined by brightness and ambient thresholds.
|
|
If non-positive, then the refresh rate is unchanged even if thresholds are configured. -->
|
|
<integer name="config_defaultRefreshRateInZone">120</integer>
|
|
</resources>
|