The PowerSavingHandler interface defines methods for getting notified of power state change requests on a
specific Peripheral instance.

Package com.oracle.deviceaccess.power Description

Interfaces and classes for power management of peripheral devices.

A Peripheral implementing class may implement the
PowerManaged interface if the underlying peripheral device supports some form
of power management and saving states that can be mapped to the states defined by this API.

The following sample code gives an examples of using the power saving/management API:

Security

As any other peripheral devices, peripheral devices that can be power-managed are opened by invoking one of the
com.oracle.deviceaccess.PeripheralManager.open methods.
The "com.oracle.deviceaccess.power" permission allows access to be granted to peripheral power management.