I would rather suggest to modify /etc/apm/event.d/20hdparm and at line 32 
instead of 
APMD_SPINDOWN=18

put 
APMD_SPINDOWN=180 # 15 minutes  instead of 90 seconds.

You can also set /etc/hdparm.conf, but as long as the apmd service is activated 
the setting in /etc/hdparm.conf will be useless, so if you modify hdparm.conf 
please 
don't forget to make sure that hdparm is executed at boot (use 
rcconf,update-rc.d or services admin for that) AND make sure that you either 
modify the APMD_SPINDOWN or disable the apmd service using the previously 
mentioned rc tools.
I had a longer discussion with Martin by email and he had apmd disabled - 
that's why his hdparm.conf setting was not overset.
Anyway, 90 seconds is insane as default value.
And I also want to reiterate that the same apm script incorrectly assumes a 
on-battery configuration when it can't actually figure out if we are running on 
ac power or on battery (the special case 255 returned by on_ac_power ).

-- 
default value in power.sh potentially kills laptop disks
https://bugs.launchpad.net/bugs/59695
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to