未验证 提交 805567de 编写于 作者: O openharmony_ci 提交者: Gitee

!1481 Done! 1448 电源相关API文档新增syscap说明

Merge pull request !1481 from wusongqing/TR1448
# Brightness<a name="EN-US_TOPIC_0000001152548786"></a>
>![](../../public_sys-resources/icon-note.gif) **NOTE:**
>![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE:**
>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<a name="s56d19203690d4782bfc74069abb6bd71"></a>
......@@ -9,6 +9,10 @@
import brightness from '@ohos.brightness';
```
## System Capabilities
SystemCapability.PowerManager.DisplayPowerManager
## brightness.setValue<a name="section1853612361618"></a>
setValue\(value: number\)
......
# Running Lock<a name="EN-US_TOPIC_0000001133776274"></a>
>![](../../public_sys-resources/icon-note.gif) **NOTE:**
>![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE:**
>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<a name="s56d19203690d4782bfc74069abb6bd71"></a>
......@@ -9,9 +9,10 @@
import runninglock from '@ohos.runningLock';
```
## Required Permissions<a name="section11257113618419"></a>
## System Capabilities
SystemCapability.PowerManager.PowerManager
To request or use a running lock, you must declare the **ohos.permission.RUNNING\_LOCK** permission.
## RunningLockType<a name="section7299123218370"></a>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册