AcpiTool is (yet another) Linux ACPI client. It's a small command-line application, intended to be a replacement for the apm tool. The primary target audience are laptop users, since these people are most interested in stuff like battery status, thermal status and the ability to put their precious laptop to sleep. Most of this does not apply to desktop systems.
Besides "basic" ACPI information like battery status, AC presence, etc . . . , Acpitool also supports various extensions for Toshiba, Asus and IBM Thinkpad laptops, allowing you to change the LCD brightness level, toggle fan on/off, and more.
The program simply accesses the /proc/acpi or /sysfs entries to get/set acpi values. Hence, you need a computer running a Linux kernel from the 2.4.x or 2.6.x series with acpi enabled, to use this program.
Code: Select all
# acpitool --help
Usage: acpitool [option] . . .
Shows ACPI information from the /proc/acpi filesystem, like battery status,
temperature, or ac power. Can also suspend your machine (if supported).
-a, --ac_adapter AC adapter information
-A, --Asus show supported Asus ACPI extensions (LCD brightness level, video out routing DSTD/acpi4asus info)
-b battery status, available batteries only
-c, --cpu CPU information (type, speed, cache size, frequency scaling, c-states, . . .)
-B, --battery battery status, all info on all battery entries
-e show just about everything
-f, --fan show fan status
-F x force fan on (x=1) or switch back to auto mode (x=0). (Toshiba only)
-h, --help show this help screen
-j eject ultrabay device (Thinkpad only)
-l x set LCD brightness level to x, where x is 0..7 (Toshiba and Thinkpad only)
-m x switch the mail led on (x=1) or off (x=0) (Asus only)
-n x switch the wireless led on (x=1) or off (x=0). (Asus only)
-o x set LCD on (x=1) or off (x=0). (Asus only)
-s, --suspend suspend to memory (sleep state S3), if supported
-S suspend to disk (sleep state S4), if supported
-t, --thermal thermal information, including trip_points
-T, --Toshiba show supported Toshiba ACPI extensions (LCD brightness level, video out routing, fan status)
-v be more verbose (more detailed error messages, only usefull combined with other options)
-V, --version show application version number and release date
-w, --wakeup show wakeup capable devices
-W x enable/disable wakeup capable device x. The x can be seen when invoking -w first.
-z x set Asus LCD brightness level to x, where x is 0..15 (Asus only).
If invoked without options, acpitool displays information about available batteries,
AC adapter and thermal information.
For more info, type man acpitool at the prompt.
AcpiTool v0.5, released 24-Jul-2008
Homepage: http://freeunix.dyndns.org:8000/site2/acpitool.shtml