3 <!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
5 SPDX-License-Identifier: LGPL-2.1+
7 <refentry id=
"systemd-backlight@.service" conditional='ENABLE_BACKLIGHT'
>
10 <title>systemd-backlight@.service
</title>
11 <productname>systemd
</productname>
15 <contrib>Developer
</contrib>
16 <firstname>Lennart
</firstname>
17 <surname>Poettering
</surname>
18 <email>lennart@poettering.net
</email>
24 <refentrytitle>systemd-backlight@.service
</refentrytitle>
25 <manvolnum>8</manvolnum>
29 <refname>systemd-backlight@.service
</refname>
30 <refname>systemd-backlight
</refname>
31 <refpurpose>Load and save the display backlight brightness at boot and shutdown
</refpurpose>
35 <para><filename>systemd-backlight@.service
</filename></para>
36 <para><filename>/usr/lib/systemd/systemd-backlight
</filename></para>
40 <title>Description
</title>
42 <para><filename>systemd-backlight@.service
</filename> is a service
43 that restores the display backlight brightness at early boot and
44 saves it at shutdown. On disk, the backlight brightness is stored
45 in
<filename>/var/lib/systemd/backlight/
</filename>. During
46 loading, if the udev property
<option>ID_BACKLIGHT_CLAMP
</option> is
47 not set to false, the brightness is clamped to a value of at
48 least
1 or
5% of maximum brightness, whichever is greater. This
49 restriction will be removed when the kernel allows user space to
50 reliably set a brightness value which does not turn off the
55 <title>Kernel Command Line
</title>
57 <para><filename>systemd-backlight
</filename> understands the
58 following kernel command line parameter:
</para>
60 <variablelist class='kernel-commandline-options'
>
62 <term><varname>systemd.restore_state=
</varname></term>
64 <listitem><para>Takes a boolean argument. Defaults to
65 <literal>1</literal>. If
<literal>0</literal>, does not
66 restore the backlight settings on boot. However, settings will
67 still be stored on shutdown.
</para></listitem>
73 <title>See Also
</title>
75 <citerefentry><refentrytitle>systemd
</refentrytitle><manvolnum>1</manvolnum></citerefentry>