pog*_*gul 5 suspend hibernate dell power-management
在 Mac OS 上,当您合上盖子时,笔记本电脑将暂停到 RAM,当它进入睡眠状态达到特定(可配置)时间时,它将休眠。这通常是好的,因为您可以获得挂起的快速睡眠/唤醒优势和休眠的节能优势。
Ubuntu 有没有类似的东西?
[我目前正在使用 Kubuntu 18.04 并且喜欢它,尽管在我的 XPS 9560 上即使挂起似乎也不能正常工作,但我想这是另一个问题]
suspend-then-hibernate工作方式类似在这种模式下,当盖子合上或按下按钮时,笔记本电脑会休眠或暂停到 RAM。经过预先设定的一定时间后,笔记本电脑将唤醒并将RAM中的数据写入磁盘,并进入休眠模式。
优点是,当关闭盖子时,笔记本电脑会更快地暂停(睡眠)。如果您在预设时间之前唤醒它,它也会快速恢复。如果您没有在预设时间之前唤醒它,它会在休眠模式关闭时自动节省电池电量。
hybrid-sleep是最接近的在这种模式下,在笔记本电脑进入睡眠(也称为挂起)模式之前,RAM 中的数据被写入磁盘以进行休眠。如果睡眠时电池电量严重不足,笔记本电脑会在关闭电源之前进入休眠状态,因此 RAM 中的数据不会丢失。
如果笔记本电脑处于混合睡眠模式时电池电量耗尽,将其插入电源插座并通电将使其恢复到合上盖子以使笔记本电脑进入睡眠状态时的状态。
有关更多解释,请参阅什么是混合挂起。
从关于systemd 省电模式的 Ubuntu 联机帮助页:
systemd 支持四种通用的省电模式:
Run Code Online (Sandbox Code Playgroud)suspend a low-power state where execution of the OS is paused, and complete power loss might result in lost data, and which is fast to enter and exit. This corresponds to suspend, standby, or freeze states as understood by the kernel. hibernate a low-power state where execution of the OS is paused, and complete power loss does not result in lost data, and which might be slow to enter and exit. This corresponds to the hibernation as understood by the kernel. hybrid-sleep a low-power state where execution of the OS is paused, which might be slow to enter, and on complete power loss does not result in lost data but might be slower to exit in that case. This mode is called suspend-to-both by the kernel. suspend-then-hibernate A low power state where the system is initially suspended (the state is stored in RAM). If not interrupted within the delay specified by HibernateDelaySec=, the system will be woken using an RTC alarm and hibernated (the state is then stored on disk). Settings in these files determine what strings will be written to /sys/power/disk and /sys/power/state by systemd-sleep(8) when systemd(1) attempts to suspend or hibernate the machine.
如果您想在您的 Ubuntu 笔记本电脑中启用或启用,请参阅此答案。suspend-then-hibernatehybrid-sleep
希望这可以帮助。