SYSTEMD-BACKLIGHT@.SERVICE(8)
๐ SYSTEMD-BACKLIGHT@.SERVICE ๐
okay bestie, pull up a chair, because this is the page for systemd-backlight@.service and systemd-backlight โ aka the little cuties that live in the systemd manual (section 8, if you're keeping track ๐) and whose whole job is loading and saving your display backlight brightness at boot and shutdown. yes. your screen glow has a dedicated service. we love a main character.
โจ NAME โจ
systemd-backlight@.service, systemd-backlight โ load and save the display backlight brightness at boot and shutdown ๐ฆ
๐ธ SYNOPSIS ๐ธ
systemd-backlight@.service
/usr/lib/systemd/systemd-backlight save [backlight|leds]:DEVICE
/usr/lib/systemd/systemd-backlight load [backlight|leds]:DEVICE
๐ DESCRIPTION ๐
so, systemd-backlight@.service is a service that restores the brightness of a display backlight or LED (think keyboard backlight, bestie) device at early boot, and then saves it right back at shutdown. it's giving "remember my vibe, put it back exactly how i left it" energy. ๐
the brightness value is stored in /var/lib/systemd/backlight/. that's its little home. periodt.
now for the tea โ โ when it's restoring the brightness of a display backlight device, systemd-backlight reads the ID_BACKLIGHT_CLAMP udev property. that property takes either a boolean value or a percentage (and the percentage needs to be suffixed with "%", like "30%", no exceptions bestie). here's the breakdown:
- when a percentage is specified, the saved brightness is clamped to a value of at least
1or the specified percentage of the maximum brightness โ whichever is greater. lowkey protective, honestly. - when it's unset or set to
true, the brightness is clamped the same way, with percentage5%. - when
false, the saved brightness will not be clamped, and gets loaded as is. no cap, literally.
and when it's restoring the brightness of a LED device, systemd-backlight reads the ID_LEDS_CLAMP udev property, which 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 percentage5%. - when unset or set to
false, the saved brightness will not be clamped, and gets loaded as is.
see how the two are just different enough to matter? iconic behavior tbh ๐ง
๐ KERNEL COMMAND LINE ๐
systemd-backlight understands exactly one (1) kernel command line parameter, and it's this one:
systemd.restore_state=โ takes a boolean argument. defaults to"1". if"0", it does not restore the backlight settings on boot. however โ and this is important bestie โ settings will still be stored on shutdown. so it remembers, it just doesn't put it back. ๐ญ
added in version 209. ๐ซถ
๐ SEE ALSO ๐
no cap, that's the whole page. every flag, every property, every percentage โ all accounted for. ๐
mwah ๐ that was systemd 262.1, and this page is dated SYSTEMD-BA...T@.SERVICE(8) โ go forth and glow, bestie. โจ๐๐ฆ
๐ฆ where this page comes from
- arch rolling: systemd 262.1-1 ยท LGPL-2.1-or-later AND CC0-1.0 AND GPL-2.0-or-later AND MIT-0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms