acpi/events/power: fix event handling