PowerManager.h File Reference

#include <list>
#include "Thread.h"
#include "EventBroadcaster.h"

Classes

class  PowerEventListener
 Power event listener interface. More...
class  PowerManager
 Power manager class. More...

Defines

#define POWER_SAVE_SLEEP   60
#define NUM_POWER_STATES   7

Enumerations

enum  PowerState {
  FULLY_OPERATIONAL = 0, DISPLAY_DIMMED, DISPLAY_MINIMAL, DISPLAY_DISABLED,
  LOW_POWER_AWAKE, LOW_POWER_SLEEP, POWER_DOWN
}

Detailed Description


Define Documentation

#define NUM_POWER_STATES   7

Number of power states defined

#define POWER_SAVE_SLEEP   60

Maximum time spent in power-save mode in loop


Enumeration Type Documentation

enum PowerState

Available power states of the mobile terminal.

Enumerator:
FULLY_OPERATIONAL 

Device is fully operational, display is at maximum brightness

DISPLAY_DIMMED 

Device is operational with full functionality, display is dimmed to the half brightness

DISPLAY_MINIMAL 

Device is operational with full functionality, display is at minimum brightness

DISPLAY_DISABLED 

Device is operational with full functionality, display is in power saving mode

LOW_POWER_AWAKE 

Device is awaken from power saving mode and runs in a temporary state with limited functionality

LOW_POWER_SLEEP 

Device is in power saving mode, running on slow clock and awaiting wake-up interrupts

POWER_DOWN 

Device is powered down

Generated on Wed Oct 20 11:13:43 2010 for libspatha by  doxygen 1.6.3