Power Interface Reference

Power.

Inheritance diagram for Power:

Public Member Functions

PowerStatus getPowerStatus () throws PowerNotAvailableException, PowerLowLevelException
 Method to get the power status. More...
 
void shutdownRequest () throws PowerNotAvailableException, PowerLowLevelException
 Method to request a shutdown action. More...
 
void rebootRequest () throws PowerNotAvailableException, PowerLowLevelException
 Method to request a reboot action. More...
 
void standbyRequest () throws PowerNotAvailableException, PowerLowLevelException
 Method to request a standby action. More...
 
void abortRequest () throws PowerNotAvailableException, PowerLowLevelException
 Method to request an abort action. More...
 
boolean checkPowerRailsStatus () throws PowerNotAvailableException, PowerLowLevelException
 Method to request the status of the power rails. More...
 
void criticalBatteryRequest () throws PowerNotAvailableException, PowerLowLevelException
 Method to request a critical battery action. More...
 
void setDebugMode (boolean modeActive) throws PowerNotAvailableException, PowerLowLevelException
 Method to set the power manager in debug mode. More...
 
boolean getDebugMode () throws PowerNotAvailableException, PowerLowLevelException
 Method to get the power manager debug mode. More...
 
void setTimers (PowerTimers timers) throws PowerNotAvailableException, PowerLowLevelException
 Method to set the timers. More...
 
PowerTimers getTimers () throws PowerNotAvailableException, PowerLowLevelException
 Method to get the timers configured. More...
 
void setTimersState (PowerTimersState timersState) throws PowerNotAvailableException, PowerLowLevelException
 Method to set the state of the wakeup timers. More...
 
PowerTimersState getTimersState () throws PowerNotAvailableException, PowerLowLevelException
 Method to get the state of the wakeup timers. More...
 
void setTransitionIntervals (PowerTransitionIntervals intervals) throws PowerNotAvailableException, PowerLowLevelException
 Method to set the transition intervals. More...
 
PowerTransitionIntervals getTransitionIntervals () throws PowerNotAvailableException, PowerLowLevelException
 Method to get the transition intervals configured. More...
 
- Public Member Functions inherited from Subject< T extends Observer< U, U extends Event >
void subscribe (T observer) throws CannotSubscribeException
 
void unSubscribe (T observer) throws ObserverNotSubscribedException
 

Member Function Documentation

void abortRequest ( ) throws PowerNotAvailableException, PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
boolean checkPowerRailsStatus ( ) throws PowerNotAvailableException, PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
void criticalBatteryRequest ( ) throws PowerNotAvailableException, PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
boolean getDebugMode ( ) throws PowerNotAvailableException, PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
void rebootRequest ( ) throws PowerNotAvailableException, PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
void setDebugMode ( boolean  modeActive) throws PowerNotAvailableException, PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
void setTimersState ( PowerTimersState  timersState) throws PowerNotAvailableException, PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
void setTransitionIntervals ( PowerTransitionIntervals  intervals) throws PowerNotAvailableException, PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
void shutdownRequest ( ) throws PowerNotAvailableException, PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException
void standbyRequest ( ) throws PowerNotAvailableException, PowerLowLevelException
Exceptions
PowerNotAvailableException
PowerLowLevelException