可使用 acpi 命令来查看信息。使用 acpi_listen 来监听所有的事件。在 Arch 上,它们分别位于 acpi 和 acpid 软件包中。
/etc/acpi/handler.sh 是 acpid 的默认事件处理脚本;默认情况下它什么也不做。
/etc/acpi/handler.sh