未验证 提交 7a73c3a2 编写于 作者: O openharmony_ci 提交者: Gitee

!1465 翻译已完成

Merge pull request !1465 from shawn_he/shawn-1
......@@ -9,6 +9,10 @@
import batteryInfo from '@ohos.batteryInfo';
```
## System Capabilities
SystemCapability.PowerManager.BatteryManager
## Attributes<a name="section0536924123914"></a>
Describes battery information.
......
......@@ -9,13 +9,10 @@
import power from '@ohos.power';
```
## Required Permissions<a name="section11257113618419"></a>
## System Capabilities
Shutdown: ohos.permission.SHUTDOWN
SystemCapability.PowerManager.PowerManager
Reboot: ohos.permission.REBOOT
Reboot and entering the recovery mode: ohos.permission.REBOOT\_RECOVERY
## power.shutdownDevice<a name="section192192415554"></a>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册