提交 1e675807 编写于 作者: S shawn_he

update docs

Signed-off-by: Nshawn_he <shawn.he@huawei.com>
上级 42af99f5
......@@ -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.
先完成此消息的编辑!
想要评论请 注册