xapm1x
Display advanced power management (apm) bios information
Usage
xapm []
Overview
xapm puts up an X window that displays the remaining battery life. The left side of the window contains a printed time or percentage, and the right side of the window contains a bar indicating the percentage. Clicking on the left side of the window will toggle the display between time and percent.
Options and resources
In addition to standard Xt options, the following options are available:
-V-
Print version and exit.
-highcolorcolor-
The color of the bar when the battery percentage is above highvalue. Defaults to "green". (*highColor)
-lowcolorcolor-
The color of the bar when the battery percentage is between lowvalue and highvalue. Defaults to "yellow". (*lowColor)
-criticalcolorcolor-
The color of the bar when the battery percentage is below lowvalue. Defaults to "red". This color is also used to flash the alphanumeric part of the display when the power status is critical. (*criticalCOlor)
-highvaluehighvalue-
Set highvalue. The default is 50. (*highValue)
-lowvaluelowvalue-
Set lowvalue. The default is 10. (*lowValue)
-chargingcolorcolor-
The color of the printed display when charging. The default is "blue". Use
-foregroundto change the color used when on battery power. (*chargingColor)
-delaydelay-
Sets the number of seconds delay between each update. The default is 1. (*delay)
-percent-
Display percentage on startup, instead of time remaining. (*percent, boolean)
Files
/proc/apm
Releases
5 releases since Debian 1.2 (Rex); the text changed 1 time.