player_power_data Struct Reference
Detailed DescriptionData: voltage (PLAYER_POWER_DATA_STATE).
power interface returns data in this format.
|Status bits. |
|Battery voltage [V]. |
|Percent of full charge [%]. |
|energy stored [J]. |
|estimated current energy consumption (negative values) or aquisition (positive values) [W]. |
|charge exchange status: if 1, the device is currently receiving charge from another energy device. |
Member Data Documentation
charge exchange status: if 1, the device is currently receiving charge from another energy device.
If -1 the device is currently providing charge to another energy device. If 0, the device is not exchanging charge with an another device.
The driver will set the bits to indicate which fields it is using. Bitwise-and with PLAYER_POWER_MASK_X values to see which fields are being set.
The documentation for this struct was generated from the following file: