Blob Blame History Raw
# /etc/acpid/events/battery
# This detects changes to AC connector status, and passes them to
# /etc/acpi/battery.sh for further processing.

# Optionally you can specify the placeholder %e. It will pass
# through the whole kernel event message to the program you've
# specified.

event=battery
action=/etc/acpi/battery.sh