pub const BATTERY_ENERGY_STATUS: BluetoothUuid16;Expand description
Bluetooth characteristic UUID.
0x2bf0 Battery Energy Status
The Battery Energy Status characteristic is used to represent details about the energy status of the battery.
§Structure
§Data Type
| Field | Flags |
| Type | boolean8 |
| Size | 1 |
§Description
See sec:org.bluetooth.characteristic.battery_energy_status/field/flags.
––///
§Data Type
| Field | External Source Power |
| Type | medfloat16 |
| Size | 0 or 2 |
§Description
The total power being consumed from an external power source in watts for its Battery Aggregation Group. Base unit: org.bluetooth.unit.power.watt Allowed values are 0 and all positive real numbers. Present if bit 0 of the Flags field is set to 1
––///
§Data Type
| Field | Present Voltage |
| Type | medfloat16 |
| Size | 0 or 2 |
§Description
The present terminal voltage of the battery in volts. Base unit: org.bluetooth.unit.electric_potential_difference.volt Allowed values are all real numbers. Present if bit 1 of the Flags field is set to 1
––///
§Data Type
| Field | Available Energy |
| Type | medfloat16 |
| Size | 0 or 2 |
§Description
The available energy of the battery in kilowatt-hours in its current charge state. Base unit: org.bluetooth.unit.energy.kilowatt_hour Allowed values are 0 and all positive real numbers. Present if bit 2 of the Flags field is set to 1
––///
§Data Type
| Field | Available Battery Capacity |
| Type | medfloat16 |
| Size | 0 or 2 |
§Description
The capacity of the battery in kilowatt-hours at full charge in its current condition. Base unit: org.bluetooth.unit.energy.kilowatt_hour Allowed values are 0 and all positive real numbers. Present if bit 3 of the Flags field is set to 1
––///
§Data Type
| Field | Charge Rate |
| Type | medfloat16 |
| Size | 0 or 2 |
§Description
The energy flowing into the battery in watts. Positive values indicate charging, and negative values indicate discharging. Base unit: org.bluetooth.unit.power.watt Allowed values are all real numbers. Present if bit 4 of the Flags field is set to 1
––///
§Data Type
| Field | Available Energy at Last Charge |
| Type | medfloat16 |
| Size | 0 or 2 |
§Description
The available energy of the battery in kilowatt-hours in its last charge state. Base unit: org.bluetooth.unit.energy.kilowatt_hour Allowed values are 0 and all positive real numbers. Present if bit 5 of the Flags field is set to 1