Host Protocols Direct Protocol CONTROL class Queries GET DATA BATTERY DATA
September 27, 2024 at 7:00 AMGET BATTERY DATA
This instance of the GET DATA instruction reads the device’s battery current load, as well as various indicators.
To access this instruction, invoke GET DATA (INS=20
) with DATA=BC
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.