
내 시스템에서 최대 절전 모드를 활성화하려고 합니다. 지금은 절전 모드로 설정되어 있는데 가끔 작동하지 않는 경우가 있습니다. 작동하면 노트북을 열면 배터리 수명이 단축됩니다.
아래에서 이 명령을 사용하면 오류 메시지가 나타납니다.
root@OMEN:/# systemctl hibernate
Failed to hibernate system via logind: Not enough swap space for hibernation
다음 기사를 찾았습니다.
swapon
내 시스템에는 없습니다 .
업데이트
파일 시스템 >>cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=f81f9e45-4f96-40e0-aaea-00f859ac559f / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=C682-3748 /boot/efi vfat umask=0077 0 1
# /swapfile none swap sw 0 0