I just released a new version of
yacpi. yacpi displays various
ACPI information like batteries, ac status, thermal zones, fans and some information about CPU.
The new release is a complete rewrite based on
libacpi (yacpi is now the 3rd tool using libacpi).
For those of you already using yacpi here are the relevant changes:
- yacpi now depends on libacpi, compile, install, ldconfig
- -m option removed, default is to display just the present batteries, use -n if you want to see not found items too
- Removed interactive delay input in ncurses interface, restart yacpi if you feel like changing it
- Samples are not needed anymore, I rewrote the algorithm to compute remaining time in libacpi
- Immediate reaction on user input in ncurses interface, thanks select(2), fuck halfdelay(3)
- New options for every feature, the default is to print everything but you can now decide what you exactly want to see, check yacpi -h for new parameters.
Quite some things changed so if you use yacpi in shell scripts, check for the new command line options.
Ncurses:
Plain-Text (yacpi -p):
| BAT0 = 100% discharging rtime 04:49 h | ac = off-line | THRM = 50 C | gov = ondemand | cpu = 600/1500 mhz
Have fun:
http://www.ngolde.de/download/yacpi-3.0.tar.gz,
http://www.ngolde.de/download/libacpi-0.2.tar.gz.