Backlight level save and restore as a init-script / upstart job for laptops

Nrbrtx nrbrtx at
Mon Dec 22 21:46:58 UTC 2014

Dear Debian and Ubuntu developers!

Let me inform you about the problem.
The problem is well described on LaunchPad - see (21 users affected).

Here I can repeat myself.

I have tested many distros - Arch, OpenSuSe 13.1, Fedora 20, ALT Linux p7,
Sabayon, Mageia 4.
Many of them are based on systemd.
It does not matter what init system they use, but all of them have very
useful script (or binary program, I don't know) for saving and restoring
backlight level on laptop.

In these distros there is a script for save and restore backlight levels
for two video-cards (acpi_video0 and acpi_video1). During system boot it is
indicated as follows:

[ OK ] Started Load/Save Screen Backlight Brightness of acpi_video1.
[ OK ] Started Load/Save Screen Backlight Brightness of acpi_video0.

I have a draft version, which works normally on my VAIO F13Z1R laptop with
Ubuntu 12.04.4. It is in attachment.
You can use it unmodified or modify it for compatibility or something. I
made symlinks for it:

ln -s /etc/init.d/brightness /etc/rc0.d/S25backlight
ln -s /etc/init.d/brightness /etc/rcS.d/S25backlight
ln -s /etc/init.d/brightness /etc/rc6.d/S25backlight

For details you can read my comment on askubuntu (

I think that having a script for saving and restoring backlight level is
very useful for laptop Ubuntu users.
So, please, add such init script to default Debian and Ubuntu installation.
Thank you!

With best regards,
Debian and Ubuntu user,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: upstart_backlight.tar.gz
Type: application/x-gzip
Size: 882 bytes
Desc: not available
URL: <>

More information about the Ubuntu-devel-discuss mailing list