player_energy_data Struct Reference

Data: state (PLAYER_ENERGY_DATA_STATE). More...

#include <player.h>

List of all members.


Public Attributes

float joules
 energy stored [J].
float watts
 estimated current power consumption (negative values) or aquisition (positive values) [W].
int32_t charging
 charge exchange status: if 1, the device is currently receiving charge from another energy device.

Detailed Description

Data: state (PLAYER_ENERGY_DATA_STATE).

The energy interface reports he amount of energy stored, current rate of energy consumption or aquisition, and whether or not the device is connected to a charger.


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.

energy stored [J].

estimated current power consumption (negative values) or aquisition (positive values) [W].


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

Last updated 12 September 2005 21:38:45