Battery schema describes a battery unit, such as those used to provide systems with power during a power-loss event. It also describes the location, such as a slot, socket, or bay, where a unit can be installed by populating a resource instance with an absent state if a unit is not present.NOTE: To check the battery health status on the Dell PowerEdge 14th generation servers, use the following URI: /redfish/v1/Systems/{ComputerSystemId}/Oem/Dell/DellSensors/{SensorId}.
username:passwordAuthorization: Basic *****************X-Auth-Token: ********************curl --location '/redfish/v1/Chassis//PowerSubsystem/Batteries/' \
--header 'Authorization: Basic <encoded-value>'{
"@odata.context": "/redfish/v1/$metadata#Battery.Battery",
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/PowerSubsystem/Batteries/SDPMBattery1",
"@odata.type": "#Battery.v1_2_0.Battery",
"ChargeState": "Idle",
"Description": "A battery unit which is used to provide systems with power during a power loss event",
"FirmwareVersion": "15.1",
"Id": "SDPMBattery1",
"Metrics": {
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/PowerSubsystem/Batteries/SDPMBattery1/Metrics"
},
"Name": "SDPM Battery"
}