scripts in /etc/pm/power.d should be called after resuming/ thawing

Bug #235105 reported by ubuntu_demon
8
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://ubuntuforums.org/showpost.php?p=5031047&postcount=1
http://ubuntuforums.org/showpost.php?p=5031047&postcount=3
http://en.opensuse.org/Disk_Power_Management
https://bugs.launchpad.net/ubuntu/+source/acpi-support/+bug/59695

description: updated
Revision history for this message
Frantisek Vacek (w4tch0) wrote :

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.

Revision history for this message
Daniel Karlsson (dannioni) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect 235105 and any other logs that are relevant for this particular issue.

Changed in pm-utils (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pm-utils (Ubuntu) because there has been no activity for 60 days.]

Changed in pm-utils (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.