
acpi_available | 35
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
their docking stations and keyboard lights that are not used on
nondocking or unlighted laptops. On all systems, the /proc/acpi
directory must be present for acpi commands to work.
Options
-b, --battery
Display battery information.
-B, --without-battery
Do not display battery information.
-t, --thermal
Display temperature information.
-T, --without-thermal
Do not display temperature information.
-a, --ac-adapter
Show whether the AC adapter is connected.
-A, --without-ac-adapter
Do not show information about the AC adapter.
-V, --everything
Show all information on every device.
-s, --show-empty
Display information even on devices that are not available or
not installed, such as empty slots for extra batteries.
-S, --hide-empty
Do not display information on devices that are not opera-
tional or not installed.
-c, --celcius
Use degrees Celsius as the temperature unit. This is the default
unit.
-d, --directory /path
Use the specified path to ACPI information. The default path
is /proc/acpi.
-f, --fahrenheit
Use degrees Fahrenheit as the temperature unit.
-h, --help
Display help information.
-k, --kelvin
Use degrees Kelvin as the temperature unit.
-v, --version
Display version information.
acpi_available
acpi_available
Determine whether ACPI functionality exists. Returns 0 for true ...