energy
[Interface specifications]


Detailed Description

Energy storage / consumption.

DEPRECATED: THE FUNCTIONALITY OF THE ENERGY DEVICE HAS BEEN FOLDED INTO THE POWER DEVICE. YOU SHOULD CONSIDER USING THE POWER DEVICE INSTEAD. NO NEW DEVELOPMENT SHOULD BE DONE ON THE ENERGY DEVICE AND IT WILL BE REMOVED FROM HERE VERY SOON.

The energy interface provides data about energy storage, consumption and charging. This interface accepts no commands.

#define PLAYER_ENERGY_DATA_STATE   1
 Data subtype: state.
#define PLAYER_ENERGY_SET_CHARGING_POLICY_REQ   1
 Request subtype: set charging policy.
typedef struct player_energy_data player_energy_data_t
 Data subtype: state.
typedef struct
player_energy_chargepolicy_config 
player_energy_chargepolicy_config_t
 Data subtype: state.

Last updated 12 September 2005 21:38:45