playerc_power_t Struct Reference

#include <playerc.h>

Collaboration diagram for playerc_power_t:

Collaboration graph
List of all members.

Detailed Description

Power device data.

Definition at line 2804 of file playerc.h.

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

status bits.

Bitwise-and with PLAYER_POWER_MASK_ values to see which fields are being set by the driver.

Definition at line 2811 of file playerc.h.

power currently being used (Watts).

Negative numbers indicate charging.

Definition at line 2824 of file playerc.h.

charging flag.

TRUE if charging, else FALSE

Definition at line 2827 of file playerc.h.

The documentation for this struct was generated from the following file:

Last updated 12 September 2005 21:38:45