Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update backlight file #88

Merged
merged 1 commit into from
Dec 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Loading