> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
The Power Manager module provides APIs for rebooting and shutting down the system, as well as querying the screen status.
> **NOTE**<br>
> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
...
...
@@ -12,10 +12,6 @@ The Power Manager module provides APIs for rebooting and shutting down the syste
importpowerfrom'@ohos.power';
```
## System Capability
SystemCapability.PowerManager.PowerManager.Core
## power.shutdownDevice
...
...
@@ -27,6 +23,8 @@ This is a system API and cannot be called by third-party applications.