vcsapm

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
BUGS
AUTHOR
SEE ALSO

NAME

vcsapm − displays current battery status on the text console

SYNOPSIS

vcsapm [-t number] [ -c number] [ -f file]

DESCRIPTION

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.

OPTIONS

-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.

BUGS

There is no way to customize displayed info.

Format for parsing /proc/apm is hardwired.

AUTHOR

Victor Wagner <vitus@ice.ru>

SEE ALSO

vcstime(8)