This package provides power management capabilities, such as restarting the system, managing RunningLock, and querying power status of a device.
| 类 | 说明 |
|---|---|
| DevicePowerStatusInfo | 已过时。
This change is effective since API version 7
|
| PowerManager |
Provides interfaces to manage power.
|
| 枚举 | 说明 |
|---|---|
| PowerManager.PowerState |
Indicates the power status of a device.
|
| PowerManager.RunningLockType |
Enumerates the
RunningLock types. |