Package | Description |
---|---|
jdk.dio.power |
Interfaces and classes for power management of devices.
|
Modifier and Type | Method and Description |
---|---|
void |
PowerManaged.enablePowerSaving(int powerStates,
PowerSavingHandler handler)
Enables application-dictated power saving for the
Device instance and registers a
PowerSavingHandler instance to get asynchronously notified when the power management facility is about to
change the power state of the Device instance, hence allowing the application to veto the power state
change on the device. |
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, 2014, Oracle and/or its affiliates. All rights reserved.
Legal Notices