Script to handle acpi/power events of a notebook