scripts in /etc/pm/power.d should be called after resuming/ thawing
Bug #235105 reported by
ubuntu_demon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pm-utils (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: pm-utils
scripts in /etc/pm/power.d should be called after resuming/ thawing
Why ?
* the laptop might have switched from AC to battery or the other way around
* the harddrive 's apm settings might be reset to the default state
* this is needed for a clean workaround for the Load_Cycle_Count Issue see :
http://
http://
http://
https:/
description: | updated |
To post a comment you must log in.
Assuming you are trying to improve on the SUSE hdd APM fix ( http:// en.opensuse. org/Disk_ Power_Managemen t ),
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.