Skip to content

Commit

Permalink
Update backlight file (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
xugro authored Dec 15, 2024
1 parent da97fcd commit 797447b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/devel/device/display.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:`</div>`

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

0 comments on commit 797447b

Please sign in to comment.