diff --git a/en/application-dev/reference/apis/js-apis-brightness.md b/en/application-dev/reference/apis/js-apis-brightness.md index a4c533575f626f9b7c4dffb968da7809e0fe84e8..c573b79ab8f0af4128f4cbf950167607a7935baa 100644 --- a/en/application-dev/reference/apis/js-apis-brightness.md +++ b/en/application-dev/reference/apis/js-apis-brightness.md @@ -1,6 +1,6 @@ # Brightness ->![](../../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 @@ -9,6 +9,10 @@ import brightness from '@ohos.brightness'; ``` +## System Capabilities + +SystemCapability.PowerManager.DisplayPowerManager + ## brightness.setValue setValue\(value: number\) diff --git a/en/application-dev/reference/apis/js-apis-runninglock.md b/en/application-dev/reference/apis/js-apis-runninglock.md index 9c99661eb2ae5544557b53509bcb265d4c2c094e..106d47b814e282b0d22b84d1f84dfe1163313172 100644 --- a/en/application-dev/reference/apis/js-apis-runninglock.md +++ b/en/application-dev/reference/apis/js-apis-runninglock.md @@ -1,6 +1,6 @@ # Running Lock ->![](../../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 @@ -9,9 +9,10 @@ import runninglock from '@ohos.runningLock'; ``` -## Required Permissions +## System Capabilities + +SystemCapability.PowerManager.PowerManager -To request or use a running lock, you must declare the **ohos.permission.RUNNING\_LOCK** permission. ## RunningLockType