> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 监控挂起功耗管理

挂起（Suspend）状态是 APSS 中最深的休眠状态，此时所有用户空间进程被冻结，驱动释放其资源。在挂起状态期间，所有核心进入 C4 状态，随后进入 AOSD 休眠状态。

用户空间模块可以使用以下命令配置挂起状态：

`echo s2idle > /sys/power/mem_sleep`

## **触发挂起的方法**

1. 断开 type-c USB，并使用 PuTTY 运行以下命令。

```text theme={null}
systemctl suspend
```

2. 通过 USB 使用 ADB 运行以下命令，然后立即断开 USB 连接。

```text theme={null}
nohup sh -c 'sleep 10 && systemctl suspend ' >/dev/null 2>&1 &
```

3. 要同时触发挂起和恢复，请断开 USB 并使用 PuTTY 运行以下命令：

**注意**
IQ-9075 不支持 RTC 唤醒。

```text theme={null}
rtcwake -d /dev/rtc0 -m no -s 30 && systemctl suspend
```

## **验证挂起统计信息**

要检查挂起统计信息，请运行以下命令：

```text theme={null}
cd /sys/power/suspend_stats
cat success
cat fail
```

success 计数表示 APSS 成功进入挂起状态的次数，而 fail 计数表示 APSS 进入挂起状态失败的次数。

## **后续步骤**

* [SoC 休眠验证 →](SoC-Sleep-Validation)
