Linux

  1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: xapm
Command Library

NAME

xapm - display Advanced Power Management (APM) BIOS information  

SYNOPSIS

xapm [ ... ]  

DESCRIPTION

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.
-highcolor color
The color of the bar when the battery percentage is above highvalue. Defaults to "green". (*highColor)
-lowcolor color
The color of the bar when the battery percentage is between lowvalue and highvalue. Defaults to "yellow". (*lowColor)
-criticalcolor color
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)
-highvalue highvalue
Set highvalue. The default is 50. (*highValue)
-lowvalue lowvalue
Set lowvalue. The default is 10. (*lowValue)
-chargingcolor color
The color of the printed display when charging. The default is "blue". Use -foreground to change the color used when on battery power. (*chargingColor)
-delay delay
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)
 

SEE ALSO

apm(1), apmd(8)


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Linux

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.