acpi¶
$ acpi -h
Usage: acpi [OPTION]...
Shows information from the /proc filesystem, such as battery status or
thermal information.
-b, --battery battery information
-i, --details show additional details if available:
- battery capacity information
- temperature trip points
-a, --ac-adapter ac adapter information
-t, --thermal thermal information
-c, --cooling cooling information
-V, --everything show every device, overrides above options
-s, --show-empty show non-operational devices
-f, --fahrenheit use fahrenheit as the temperature unit
-k, --kelvin use kelvin as the temperature unit
-d, --directory <dir> path to ACPI info (/sys/class resp. /proc/acpi)
-p, --proc use old proc interface instead of new sys interface
-h, --help display this help and exit
-v, --version output version information and exit
By default, acpi displays information on installed system batteries.
Non-operational devices, for example empty battery slots are hidden.
The default unit of temperature is degrees celsius.
$ su -c "yum install acpi"
$ acpi Battery 0: Discharging, 0%, remaining
Estado de la batería
$ acpi Battery 0: Charging, 7%, charging at zero rate - will never fully charge.
$ acpi -b Battery 0: Charging, 15%, charging at zero rate - will never fully charge.
Más detalles acerca del estado de la batería
$ acpi -i Battery 0: Charging, 16%, charging at zero rate - will never fully charge. Battery 0: design capacity 4000 mAh, last full capacity 2412 mAh = 60%
Adaptador de energía
$ acpi -a Adapter 0: on-line
Temperatura
$ acpi -t Thermal 0: ok, 55.0 degrees C
$ acpi -c Cooling 0: LCD 0 of 9 Cooling 1: Processor 0 of 10
$ acpi -V Battery 0: Charging, 20%, charging at zero rate - will never fully charge. Battery 0: design capacity 4000 mAh, last full capacity 2412 mAh = 60% Adapter 0: on-line Thermal 0: ok, 55.0 degrees C Thermal 0: trip point 0 switches to mode critical at temperature 110.0 degrees C Cooling 0: LCD 0 of 9 Cooling 1: Processor 0 of 10
