Data 97 (Internal Battery Status)¶
The current status of the internal battery.
The frame format of the Data 97 unit is as follows:
For example (Total 7 bytes):
61 05 01 0D 20 50 00
Parts |
Fields |
Length (Byte) |
Range/Format |
Default |
|---|---|---|---|---|
ID |
Data ID |
1 |
61H (97) |
61H (97) |
Length |
Data Length |
1 |
00H or 05H |
|
Content |
Basic Status |
1 |
00H-FFH |
|
Voltage |
2 |
0000H-FFFFH (mV) |
||
Percentage |
1 |
00H-64H (*1%) |
||
Charging |
1 |
00H-FFH |
Basic Status
The lowest bit is used to indicate the connection status, while the other bits are reserved and default to 0.
Connection Status (Bit0)
Indicates whether the internal battery is connected.
0b0 - Not connected.
0b1 - Connected.
Voltage
The internal battery voltage of the terminal device. Expressed as a 16-bit unsigned integer and the unit is mV. This field is only valid when Connection Status is 01H (Connected).
Percentage
The current volume of the internal battery in percentage.
For example, 1FH means 31%.
Charging
Whether the internal battery is being charged. For non-rechargeable battery, the value of this field is 02H.
00H - Not charging.
01H - Charging.
02H - Not support.
11H - Charging (Solar).
Note
The terminal supports two charging methods: USB charging and solar charging, and the terminal prioritizes USB charging. When the device is charged by USB power or solar power, the value of ‘Charging’ will be 01H or 11H, respectively.