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 1 or 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 percentage 5%.
  • 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 percentage 5%.
  • 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