playerc_power_t Struct Reference
[power]
#include <playerc.h>
Detailed Description
Power device data.Public Attributes | |
playerc_device_t | info |
Device info; must be at the start of all device structures. | |
int | valid |
status bits. | |
double | charge |
Battery charge (Volts). | |
double | percent |
Battery charge (percent full). | |
double | joules |
energy stored (Joules) | |
double | watts |
power currently being used (Watts). | |
int | charging |
charging flag. |
Member Data Documentation
Device info; must be at the start of all device structures.
status bits.
Bitwise-and with PLAYER_POWER_MASK_ values to see which fields are being set by the driver.
double playerc_power_t::charge |
Battery charge (Volts).
double playerc_power_t::percent |
Battery charge (percent full).
double playerc_power_t::watts |
power currently being used (Watts).
Negative numbers indicate charging.
charging flag.
TRUE if charging, else FALSE
The documentation for this struct was generated from the following file: