LinuxCommandLibrary

acpi

display battery, thermal, and power information

TLDR

Show battery information

$ acpi
copy
Show thermal information
$ acpi -t
copy
Show cooling device information
$ acpi -c
copy
Show thermal information in Fahrenheit
$ acpi -t -f
copy
Show all information
$ acpi -V
copy
Extract information from /proc instead of /sys
$ acpi -p
copy

SYNOPSIS

acpi [-b] [-a] [-t] [-c] [-V] [-f] [-k] [-p] [-i]

DESCRIPTION

acpi shows information from the /proc or /sys filesystem, such as battery status, AC adapter status, thermal zone temperatures, and cooling device status. It is primarily used on laptops and portable devices to monitor battery charge levels, remaining time, and system temperatures from the command line.
By default, it displays battery information. Additional flags enable viewing thermal zones, AC adapter state, and cooling device activity. Temperature output can be displayed in Celsius, Fahrenheit, or Kelvin. The tool reads ACPI data exposed by the kernel, making it a lightweight alternative to graphical power management applets.

PARAMETERS

-b, --battery

Display battery status information
-a, --ac-adapter
Display AC adapter status
-t, --thermal
Display thermal/temperature information
-c, --cooling
Display cooling device details
-V, --everything
Show all devices (overrides other options)
-r, --remaining-time
Display remaining (dis)charge time
-e, --end-time
Display when (dis)charge will complete
-i, --details
Provide battery capacity and temperature trip points
-f, --fahrenheit
Use Fahrenheit instead of Celsius
-k, --kelvin
Use Kelvin instead of Celsius
-p, --proc
Use legacy /proc interface (/sys is default)
-s, --show-empty
Include non-operational devices in output
-d, --directory dir
Specify custom ACPI info path

CAVEATS

Some options may not work on all systems depending on ACPI support and kernel configuration. Legacy /proc interface may not be available on newer kernels.

HISTORY

Created to provide a simple command-line interface to ACPI information on Linux laptops and desktops.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community