public static class SystemCapability.PowerMgr extends Object
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
BATTERY_MANAGER |
Indicates the battery manager, which provides capabilities such as querying and reporting the battery
charging/discharging status.
|
static String |
BATTERY_STATISTICS |
Indicates the battery statistics capabilities, including power consumption statistics of applications and a
rank of applications based on their power consumption.
|
static String |
DISPLAY_MANAGER |
Indicates the display manager, which provides capabilities such as switching the screen state and
setting brightness
|
static String |
POWER_MANAGER |
Indicates the power manager, which provides capabilities such as switching the power status, hibernating and
waking up the device, turning on/off the device screen, and managing the running lock.
|
static String |
THERMAL_LISTENER |
已过时。
This change is effective since API version 7
|
static String |
THERMAL_MANAGER |
Indicates the thermal manager, which provides a callback to notify the application to release resources once
the thermal severity level of the device rises.
|
| 构造器 | 说明 |
|---|---|
PowerMgr() |
public static final String BATTERY_MANAGER
public static final String BATTERY_STATISTICS
public static final String DISPLAY_MANAGER
public static final String POWER_MANAGER
@Deprecated public static final String THERMAL_LISTENER