Host Protocols Direct Protocol CONTROL class Queries GET DATA BATTERY STATE
April 13, 2023 at 2:39 AMGET BATTERY STATE
This instance of the GET DATA instruction reads the device’s current battery state.
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.