As a temporary patch, you can try the following:

- Create a file (any name) under /etc/pm/power.d with the following
content:


# Brightness adjustment

case $1 in
        true)

                # 20% screen brightness on battery
                echo 2 > /sys/class/backlight/acpi_video0/brightness
        ;;
        false)
                # 80% screen brightness on AC
                echo 8 > /sys/class/backlight/acpi_video0/brightness
        ;;
esac

exit 0


- Make it executable "chmod +x myscript" assuming  "myscript" is the name of 
your file.

Of course, you will need to reboot. This will adjust the brightness at
20 % when on battery and 80% when on AC power.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/923940

Title:
  Ubuntu 12.04 LTS set max lcd brightness on every boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/923940/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to