Commit 9077ac9a authored by Tails developers's avatar Tails developers
Browse files

Enable laptop-mode-tools hard drive power management settings.

Set APM level to 128 on battery, and to 254 on AC power, as a sid desktop
system does.

254 is chosen to avoid causing excessive head load/unload cycles.
128 is chosen because it's the best we can do without going as far as 127,
    that has its load of issues (e.g. Debian bug #684241)
parent 64563a14
--- chroot.orig/etc/laptop-mode/laptop-mode.conf 2013-03-01 12:16:16.068000389 +0000
+++ chroot/etc/laptop-mode/laptop-mode.conf 2013-03-01 12:19:34.288000445 +0000
@@ -280,13 +280,13 @@
# Should laptop mode tools control the hard drive power management settings?
#
# Set to 0 to disable
-CONTROL_HD_POWERMGMT="auto"
+CONTROL_HD_POWERMGMT=1
#
# Power management for HD (hdparm -B values)
#
-BATT_HD_POWERMGMT=1
+BATT_HD_POWERMGMT=128
LM_AC_HD_POWERMGMT=254
NOLM_AC_HD_POWERMGMT=254
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment