acpi_listen

ACPI event monitor

TLDR

Listen to any ACPI event while the daemon is running
$ acpi_listen

SYNOPSIS

acpi_listen [-h]

DESCRIPTION

acpi_listen monitors and displays ACPI (Advanced Configuration and Power Interface) events from the kernel in real-time. Events include power button presses, lid open/close, AC adapter connection, battery status changes, and thermal events.The tool connects to the acpid daemon socket to receive events. Each event is printed to standard output as it occurs.

PARAMETERS

-h, --help

Display help information

INSTALL

sudo apt install acpid
sudo dnf install acpid
sudo pacman -S acpid
sudo apk add acpid
sudo zypper install acpid
nix profile install nixpkgs#acpid

CAVEATS

Requires the acpid daemon to be running. Events will not be received if acpid is not active or if the user lacks permission to access the ACPI socket.

HISTORY

Part of the acpid (ACPI daemon) package, which provides a framework for handling ACPI events on Linux systems.

SEE ALSO

acpi(1), acpid(8), acpi_available(1)

RESOURCES

Source code