Comment 2 for bug 1184164

Revision history for this message
chreko (chreko) wrote :

Add the following script to /etc/pm/power.d
----------
#!/bin/bash

case $1 in
    true)
    echo "Enable screen power saving"
    echo 5 > /sys/class/backlight/acpi_video0/device/backlight/acpi_video0/brightness
    ;;
    false)
    echo "Disable screen power saving"
    echo 10 > /sys/class/backlight/acpi_video0/device/backlight/acpi_video0/brightness
    ;;
esac