일부 의견/답변을 해결하기 위해 편집

일부 의견/답변을 해결하기 위해 편집

방금 Debian GNU/Linux 11 (bullseye)데비안 10에서 업그레이드했는데 업그레이드 후 시스템을 절전 모드로 전환하는 데 오랜 시간이 걸렸습니다.

예를 들어, 이 명령은 systemctl suspend세션을 빠르게 잠그지만 시스템을 절전 모드로 전환하는 데 30초가 걸립니다. 제가 모르는 구성이 있나요(30초는 의도적인 것으로 보이는 일종의 지연입니다). 수면 위젯을 클릭해도 동일한 결과가 나타납니다.

일부 의견/답변을 해결하기 위해 편집

산출cat /etc/systemd/sleep.conf

#  This file is part of systemd.
#
#  systemd is free software; ...«ref to GPL»...
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See systemd-sleep.conf(5) for details

[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=180min

systemctl hibernate약 40초 정도 더 걸립니다. 키를 눌러도 깨어나지 않고 일반적으로 grub을 통해 부팅되지만 최대 절전 모드에서 깨어납니다. 따라서 원래 명령은 영구 메모리(예: 디스크)로 최대 절전 모드로 전환하는 대신 RAM으로 일시 중지하는 것이었습니다.

답변1

확인하다systemd-sleep.confsuspend, hibernate또는 으로 구성되는지 여부 hybrid-sleep.

후자 두 개는 전체 시스템 상태를 스왑에 기록합니다. 이 작업은 시간이 좀 걸리지만 일시 중지 기간 동안 데이터 손실을 방지합니다.

관련 정보