| Parameter | Description | Data Type | Unit |
|---|
| Voltage | Current voltage | int | V |
| Current | Current current | int | 10mA |
| RemainingCapacity | Current remaining capacity | int | 10mAh |
| NominalCapacity | Battery nominal capacity | int | 10mAh |
| Cycles | Current cycle count | int | cycles |
| ProtectedState | Current protection state | int | Not triggered=0, Triggered=1 |
| BatteryLevel | Current battery percentage | int | % |
| BatteryTemperature | Current battery temperature | float | ℃ |
The motion host reports BatterySensorData struct data via UDP:
| Command Code | Command Type | Data Content | Send Frequency |
|---|
| 0x21050F0A | 1 | BatterySensorData struct | 0.5Hz |
struct BatterySensorData {
uint16_t remaining_capacity;
uint16_t nominal_capacity;
uint16_t production_date;
uint16_t protected_state;
uint8_t software_version;
uint8_t battery_quantity;
float battery_temperature[4];
If the motion program jy_exe version is 1.10.19 or later:
| Field | Type | Description |
|---|
| voltage | uint16_t | Voltage (V) |
| current | int16_t | Current (10mA) |
| battery_level | uint8_t | Remaining capacity percentage (%) |