LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

acpi_available

test for ACPI support on the system

TLDR

Check if ACPI is available on the system
$ acpi_available && echo "ACPI supported"
copy
Check exit status for scripting
$ if acpi_available; then echo "ACPI available"; fi
copy

SYNOPSIS

acpi_available

DESCRIPTION

acpi_available is a simple utility that tests whether ACPI (Advanced Configuration and Power Interface) support is available on the current system. It returns exit status 0 if ACPI is supported and 1 if not, making it useful in shell scripts for conditional execution.ACPI provides information about power management, thermal zones, batteries, and hardware configuration. This tool helps scripts determine whether they can use ACPI-dependent features like battery monitoring or suspend/hibernate functions.

CAVEATS

This tool only checks for basic ACPI availability, not whether specific ACPI features (like battery or thermal) are supported. The tool is part of acpid and may not be installed by default on all systems.

HISTORY

acpi_available is part of the acpid (ACPI daemon) package, which has been a standard component in Linux power management since the early 2000s. It was developed to help scripts and applications detect ACPI support.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid