From fc53809803cd2bc2434e312b19a18fa36776da12 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:40 +0200 Subject: Adding upstream version 256. Signed-off-by: Daniel Baumann --- man/systemd-backlight@.service.xml | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'man/systemd-backlight@.service.xml') diff --git a/man/systemd-backlight@.service.xml b/man/systemd-backlight@.service.xml index 431b27b..bb7f2b6 100644 --- a/man/systemd-backlight@.service.xml +++ b/man/systemd-backlight@.service.xml @@ -1,9 +1,9 @@ + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> - @@ -31,13 +31,22 @@ Description - systemd-backlight@.service is a service that restores the display backlight - brightness at early boot and saves it at shutdown. On disk, the backlight brightness is stored in - /var/lib/systemd/backlight/. During loading, if the udev property - is not set to false, the brightness is clamped to a value of at least - 1 or 5% of maximum brightness, whichever is greater. The percentage can be adjusted by specifying a - percentage (needs to be suffixed with %, e.g. 30%) to the property - . + systemd-backlight@.service is a service that restores the brightness of + a display backlight or LED (e.g. keyboard backlight) device at early boot, and saves it at shutdown. + The brightness is stored in /var/lib/systemd/backlight/. + + On restoring brightness of a display backlight device, systemd-backlight reads + ID_BACKLIGHT_CLAMP udev property, that takes a boolean value or a percentage (needs to + be suffixed with %, e.g. 30%). When a percentage is specified, the + saved brightness is clamped to a value of at least 1 or the specified percentage of the maximum + brightness, whichever is greater. When unset or set to true, the brightness is clamped in the same way + with percentage 5%. When false, the saved brightness will not be clamped, and loaded as is. + + On restoring brightness of a LED device, systemd-backlight reads + ID_LEDS_CLAMP udev property, that also takes a boolean value or a percentage. When a + percentage is specified, the saved brightness is clamped to the specified percentage of the maximum + brightness. When set to true, the brightness is clamped in the same way with percentage 5%. When unset or + set to false, the saved brightness will not be clamped, and loaded as is. -- cgit v1.2.3