GET BATTERY STATE

Role

Read the device's current battery state.

Access condition

Free. The device must have a battery (bit 7 in byte 0 of POWER_STATE must be 1).

Command

Field Value
CLA 58 (CONTROL)
INS 20 (GET_DATA)
Data BC (GET BATTERY STATE)

Response

If STA=00 (success):

Field Content
Data Battery state (9 bytes)

Response data

Bytes Content
0 Battery load (in %)
1-2 Battery voltage (in 0.01 volts)
3-4 Battery temperature (in 0.01 degree)
5-6 Battery accumulator (raw value)
7-8 Battery current (signed, discharging if negative. Raw value)

A battery is considered as new if the accumulator value is below 0x8000.