config.xml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2024 The LineageOS Project
  4. SPDX-License-Identifier: Apache-2.0
  5. -->
  6. <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
  7. <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
  8. <integer name="config_shutdownBatteryTemperature">580</integer>
  9. <!-- Doze: should the TYPE_PICK_UP_GESTURE sensor be used as a pulse signal. -->
  10. <bool name="config_dozePulsePickup">true</bool>
  11. <!-- Type of the double tap sensor. Empty if double tap is not supported. -->
  12. <string name="config_dozeDoubleTapSensorType" translatable="false">org.lineageos.sensor.double_tap</string>
  13. <!-- Type of the tap sensor. Empty if tap is not supported. -->
  14. <string name="config_dozeTapSensorType" translatable="false">org.lineageos.sensor.single_tap</string>
  15. <!-- Power Management: Specifies whether to decouple the auto-suspend state of the
  16. device from the display on/off state.
  17. When false, autosuspend_disable() will be called before the display is turned on
  18. and autosuspend_enable() will be called after the display is turned off.
  19. This mode provides best compatibility for devices using legacy power management
  20. features such as early suspend / late resume.
  21. When true, autosuspend_display() and autosuspend_enable() will be called
  22. independently of whether the display is being turned on or off. This mode
  23. enables the power manager to suspend the application processor while the
  24. display is on.
  25. This resource should be set to "true" when a doze component has been specified
  26. to maximize power savings but not all devices support it.
  27. Refer to autosuspend.h for details.
  28. -->
  29. <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
  30. <!-- Power Management: Specifies whether to decouple the interactive state of the
  31. device from the display on/off state.
  32. When false, setInteractive(..., true) will be called before the display is turned on
  33. and setInteractive(..., false) will be called after the display is turned off.
  34. This mode provides best compatibility for devices that expect the interactive
  35. state to be tied to the display state.
  36. When true, setInteractive(...) will be called independently of whether the display
  37. is being turned on or off. This mode enables the power manager to reduce
  38. clocks and disable the touch controller while the display is on.
  39. This resource should be set to "true" when a doze component has been specified
  40. to maximize power savings but not all devices support it.
  41. Refer to power.h for details.
  42. -->
  43. <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
  44. <!-- Whether the new Auto Selection Network UI should be shown -->
  45. <bool name="config_enableNewAutoSelectNetworkUI">true</bool>
  46. <!-- If true, the display will be shifted around in ambient mode. -->
  47. <bool name="config_enableBurnInProtection">true</bool>
  48. <!-- Low zone brightness thresholds in the range [0, 255] -->
  49. <integer-array name="config_brightnessThresholdsOfPeakRefreshRate" translatable="false">
  50. <item>7</item>
  51. <item>11</item>
  52. </integer-array>
  53. <!-- Low zone lux thresholds -->
  54. <integer-array name="config_ambientThresholdsOfPeakRefreshRate" translatable="false">
  55. <item>-1</item>
  56. <item>15</item>
  57. </integer-array>
  58. <!-- Default refresh rate in the zone defined by brightness and ambient thresholds.
  59. If non-positive, then the refresh rate is unchanged even if thresholds are configured. -->
  60. <integer name="config_defaultRefreshRateInZone">120</integer>
  61. </resources>