vcsapm − displays current battery status on the text console |
vcsapm [-t number] [ -c number] [ -f file] |
vcsapm is small utility which runs in the background and periodically displays in the right upper corner of text console current battery status of your notebook. This program should be run as root to be able to access /dev/vcs It displays only two proprietes of information, provided by APM driver in the kernel - whether AC adapter is connected, and percentage of power left in the batteries. |
-t number, --time=number |
Set interval between information refreshes. Interval is specified as floating point number of seconds. Default is 0.5 sec. |
-c number, --column=number |
Sets offset from left corner of screen where information should be displayed. Default is 72 (information is at maximum 7 symbols long), but if you use wider textmode than 80x25, you’ll want to specify something else. Other reason is to make vcsapm coexist with vcstime(8) |
-f file, --file=file |
Specifies device file to write to. Default is /dev/vcs. |
--help |
Display brief usage message and exit successfully. |
There is no way to customize displayed info. Format for parsing /proc/apm is hardwired. |
Victor Wagner <vitus@ice.ru> |
vcstime(8) |