From 797447be79d5f9151e34380dd5e29ef0c829a609 Mon Sep 17 00:00:00 2001 From: xugro <82907135+xugro@users.noreply.github.com> Date: Sun, 15 Dec 2024 06:16:49 +0300 Subject: [PATCH] Update backlight file (#88) --- src/devel/device/display.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devel/device/display.rst b/src/devel/device/display.rst index 947f212..dae6751 100644 --- a/src/devel/device/display.rst +++ b/src/devel/device/display.rst @@ -47,10 +47,10 @@ Adjusting programmatically Setting the brightness outside of the range you can select in xochitl will make the battery drain faster, and may have unintended side effects that could damage the device. :raw-html:`` -The backlight can also be adjusted programmatically by writing to the `/sys/class/backlight/backlight/brightness` file. +The backlight can also be adjusted programmatically by writing to the `/sys/class/backlight/rm_frontlight/brightness` file. The value written to this file should be between 0 and 2047, where 0 is completely off and 2047 is the maximum brightness. .. code-block:: shell - echo 1734 > /sys/class/backlight/backlight/brightness + echo 1734 > /sys/class/backlight/rm_frontlight/brightness