diff --git a/powermgr/powermgrbattery/src/main/config.json b/powermgr/powermgrbattery/src/main/config.json index 45115324edc81c7cb27ee33c47e004b1be4f5d66..7077023750cf2661057e065df6322ae4b72cb4d5 100755 --- a/powermgr/powermgrbattery/src/main/config.json +++ b/powermgr/powermgrbattery/src/main/config.json @@ -55,6 +55,12 @@ "autoDesignWidth": false } } + ], + "reqPermissions": [ + { + "name": "ohos.permission.RUNNING_LOCK", + "reason": "use ohos.permission.RUNNING_LOCK" + } ] } -} +} \ No newline at end of file diff --git a/powermgr/powermgrpower/src/main/config.json b/powermgr/powermgrpower/src/main/config.json index 10774757072ba69cfc828ee9d8e0ff20463b86f2..254c0142698673c1ef7dda4b2e5f08bf0fdc79bb 100755 --- a/powermgr/powermgrpower/src/main/config.json +++ b/powermgr/powermgrpower/src/main/config.json @@ -57,4 +57,4 @@ } ] } -} +} \ No newline at end of file