acpi scripts are only called on events
Bug #108611 reported by
Martijn de Nerd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: acpi-support
Scripts in /etc/acpi/battery.d or /etc/acpi/ac.d are nicely called when I plug or unplug my powersupply. However, at boottime or when resuming from suspend, these scripts aren't called. This means that my laptop doesn't notice when I unplug during suspend-to-ram, or even worse; when I boot without power plugged, it doesn't start all my save-as-
I think that after resume and boot, the powerstate should be checked again and scripts should be started accordingly.
Changed in acpi-support: | |
assignee: | nobody → chngwnhn |
assignee: | chngwnhn → nobody |
To post a comment you must log in.
Martin, have you modified /etc/default/ acpi-support to set ENABLE_LAPTOP_MODE to true?
From reading the various related scripts in /etc/init.d/, /etc/acpi/, and elsewhere, it seems there are inconsistencies with how and when the relevant commands are invoked. But I want to make sure the machine is configured correctly before proceeding. Thanks!