[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 1

battery Command

Purpose

Controls or queries battery information.

Syntax

battery [ -d ]

Description

The battery command controls or queries the battery. If the battery command is invoked without -d option, the following battery information is displayed:

battery type: NiCd or NiMH
current battery usage: charging, discharging, in use, fully charged
battery capacity
current remaining capacity
full charge count

If the battery command is invoked with -d option, the following battery information is also displayed:

discharge quantity
discharge time

If you use 50% of a battery's capacity and charge it every time (about 20 to 30 times), then the battery cannot be used at more than 50% of its capacity. This is called the memory effect of battery. If, then, the battery is discharged (made empty) and then recharged, the battery can be used at 100% again.

Flags

-d Discharges the battery so you can reset the memory effect of battery.

Security

Access Control: Any User

Auditing Events: N/A

Examples

  1. To show current battery status, enter:
    battery
    Something similar to the following displays:
    battery type: NiMH
    current battery usage: in use
    battery capacity: 3200 (mAH)
    current remaining capacity: 1800 (mAH) [57%]
    full charge count: 3

Files

/usr/bin/battery Contains the battery command.

[ Previous | Next | Contents | Glossary | Home | Search ]