Assuming you are trying to improve on the SUSE hdd APM fix ( 
http://en.opensuse.org/Disk_Power_Management ),
a temporary workaround to achieve this functionality would be to use the script 
in the attachment in /etc/pm/sleep.d/

This script will check whether we are resuming from suspend/hibernate (thats 
what sleep.d is for, doh) and in case we are, 
it will check the AC state and than allow you to set APM according to whether 
we run on battery od on AC power.


** Attachment added: "disk"
   http://launchpadlibrarian.net/15624529/disk

-- 
scripts in /etc/pm/power.d should be called after resuming/ thawing
https://bugs.launchpad.net/bugs/235105
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to