# 睡眠模式

经改装后的 HHKB 键盘，除了功耗远低于原厂外，HHKB DMC 还设计有完善的自动功耗控制程序。用户不再需要担心费电，而进行繁琐的键盘开关机操作。现在已经没有了开关机的概念，只需像鼠标那样，拿起来就用。

下面对键盘的睡眠进行详细介绍，以便用户根据自身需求进行个性化配置。

## 两种睡眠模式

经 HHKB DMC 改装后的 HHKB 键盘支持两种睡眠模式：浅睡眠（Light Sleep Mode）和深睡眠（Deep Sleep Mode）。用户可以结合实际使用需求，通过 [Web App](https://keyboard.xorlink.com) 进行配置。

下面分别介绍这两种睡眠模式。

### 浅睡眠（Light Sleep Mode）

该睡眠模式下，键盘可以通过任意键唤醒。这意味着键盘始终处于工作模式，因此会有一定的功耗。

⚠️ 该模式下，键盘通过降低按键扫描频率，进一步降低功耗。因此该模式下唤醒键盘时，需保持按下动作超过 0.5 秒，方可有效唤醒键盘。

### 深睡眠（Deep Sleep Mode）

该睡眠模式下，键盘几乎不耗电。此时键盘不响应任何输入，只能通过 `Wake Up` 键唤醒，或插入 USB 线唤醒。

⚠️ HHKB Classic 键盘因为没有 `Wake Up` 键，在深睡眠模式下，可通过插入 USB 线唤醒或切换底部的电源开关实现重启。

## 自动睡眠

自动睡眠指的是在连续一段无任何按键操作的时间过后，键盘将进入自动睡眠模式，以降低自身功耗，提升续航时间。

支持的自动睡眠时间为 10-240 分钟，默认为 30 分钟。

自动睡眠时间可通过 [Web App](https://keyboard.xorlink.com) 或快捷键进行设置。

**设置快捷键：**

`Fn + 右 ALT + -` 减少自动睡眠时间。

`Fn + 右 ALT + +` 增加自动睡眠时间。

注：当使用快捷键修改自动睡眠时间时，请先将输入法切换到英文输入，然后将光标定位到文本输入框。此时操作上述快捷键可显示当前所设置的时间。如：`t=120`。表示自动睡眠时间为 120 分钟。

## 总结

1. 自动睡眠的时间可结合实际使用情况进行设置。
2. 通过 [Web App](https://keyboard.xorlink.com) 可配置键盘自动睡眠时进入的睡眠模式，是浅睡眠还是深睡眠。
3. 通过 `Fn + 右 ALT + S` 快捷键可立即进入深睡眠模式。
4. 深睡眠模式下，通过 `Wake Up` 键或插入 USB 线唤醒键盘。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hhkb.xorlink.com/keyboard_sleep.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
