Use the lsenclosurebattery command to display information about the batteries. The batteries are located in the node canisters.
lsenclosurebattery -filtervalue "battery_id=1"
Attribute | Description |
---|---|
enclosure_id | Identifies the identity of the enclosure that contains the battery. |
battery_id | Identifies the battery in the enclosure. |
status | Identifies the status of the battery:
|
charging_status | Identifies the charging state of the battery:
|
percent_charged | Indicates the charge of battery (in a percentage). |
end_of_life_warning | Identifies the battery's end of life (with a
warning noise). The values are yes and no. Important: Replace the battery.
|
FRU_part_number | Identifies the FRU part number of the battery. |
FRU_identity | Identifies the 11S number, combining the manufacturing part number and the serial number. |
firmware_level | The version of the microcode image that is installed on the battery. |
error_sequence_number | Indicates the error log (or event log) number of the highest priority error for this object. This output field is typically blank. However, if there is a problem (for example, the status is degraded), then it contains the sequence number of that error event. |
remaining_charge_capacity_mAh | Identifies the battery's remaining charge capacity in milliampere-hour (mAh). |
full_charge_capacity_mAh | Identifies the fully-charged capacity of the battery in mAh (this diminishes as the battery ages). |
compatibility_level | Identifies the battery driver software must support this level to operate with this battery - this comes from the battery vital product data (VPD). |
last_recondition_timestamp | Identifies a system timestamp, in the format YYMMDDHHMMSS, for when the last successful calibration of
the gas gauge occurred, where:
|
powered_on_hours | Identifies the number of hours the battery has been in a powered node (not necessarily the same node). |
cycle_count | Identifies the number of charge or discharge cycles performed on the battery. |
lsenclosurebattery 1
The resulting output:
enclosure_id battery_id status charging_status recondition_needed percent_charged end_of_life_warning 1 1 online idle no 100 no 1 2 online idle no 100 no
lsenclosurebattery -battery 1 1
The resulting output:
enclosure_id 1 battery_id 1 status online charging_status idle recondition_needed no percent_charged 100 end_of_life_warning no FRU_part_number 31P1807 FRU_identity 11S00AR085YM30BG42R04P firmware_level 105:1 error_sequence_number remaining_charge_capacity_mAh 3477 full_charge_capacity_mAh 3795 compatibility_level 1 last_recondition_timestamp 140528045617 powered_on_hours 1162 cycle_count 10