java.lang.Object | +--javax.power.management.PowerManager
public abstract void addPowerStateListener(PowerStateListener listener)
removePowerStateListener(javax.power.management.PowerStateListener)
PowerStateEvent
public static PowerManager getInstance()
public abstract PowerState getPowerState()
protected static PowerManager instance
protected PowerManager()
public abstract void removePowerStateListener(PowerStateListener listener)
addPowerStateListener(javax.power.management.PowerStateListener)
public abstract void setPowerState(PowerState state, boolean urgency) throws PowerManagerException, java.lang.SecurityException
PowerStateListener