From 92c3685b72fade6488ac5ec636bd763b1a47e560 Mon Sep 17 00:00:00 2001 From: xugro <82907135+xugro@users.noreply.github.com> Date: Sun, 15 Dec 2024 01:09:02 +0300 Subject: [PATCH] Update backlight file --- 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