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
Add the following script to /etc/pm/power.d
----------
#!/bin/bash
case $1 in backlight/ acpi_video0/ device/ backlight/ acpi_video0/ brightness backlight/ acpi_video0/ device/ backlight/ acpi_video0/ brightness
true)
echo "Enable screen power saving"
echo 5 > /sys/class/
;;
false)
echo "Disable screen power saving"
echo 10 > /sys/class/
;;
esac