From da7d39719f80457c529ed6c42874a868ecda5354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kate=20Gao=28=E9=AB=98=E6=B3=BE=E5=87=AF=29?= Date: Sat, 20 Dec 2025 15:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9pm=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/syslib/pm.md | 2 ++ zh/syslib/pm.md | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/en/syslib/pm.md b/en/syslib/pm.md index 6c0737d..953217f 100644 --- a/en/syslib/pm.md +++ b/en/syslib/pm.md @@ -137,6 +137,8 @@ Sets automatic sleep mode. `0` - Successful execution `-1` - Failed execution + +> Note: BG95 series cannot use this method during the boot-up process. ## Get the Number of Created Wakelocks diff --git a/zh/syslib/pm.md b/zh/syslib/pm.md index 35d915a..7b4094e 100644 --- a/zh/syslib/pm.md +++ b/zh/syslib/pm.md @@ -126,7 +126,9 @@ pm.autosleep(sleep_flag) **返回值描述** -成功返回 `0`,失败返回 `-1` +成功返回 `0`,否则返回 `-1` + +> BG95系列不能在开机阶段使用此方法。 ## 获取已创建的锁数量 -- Gitee