Package | Description |
---|---|
com.oracle.deviceaccess.power |
Interfaces and classes for power management of peripheral devices.
|
Modifier and Type | Method and Description |
---|---|
void |
PowerManaged.enablePowerSaving(int powerStates,
PowerSavingHandler handler)
Enables application-dictated power saving for the
Peripheral instance and registers a
PowerSavingHandler instance to get asynchronously notified when the power management facility is about to
change the power state of the Peripheral instance, hence allowing the application to veto the power state
change on the peripheral. |
void |
PowerManaged.Group.setPowerSavingHandler(PowerSavingHandler handler)
Registers a
PowerSavingHandler instance to get asynchronously notified when the power management
facility is about to change the power state of this group, hence allowing the application to veto the power
state change. |
Copyright © 2012, 2013, Oracle and/or its affiliates. All rights reserved.
Legal Notices