
システムで休止状態を有効にしようとしています。現在、スリープ モードになっていますが、機能しないことがあります。機能する場合でも、ラップトップを開くとバッテリーの寿命が短くなります。
以下のコマンドを使用すると、エラー メッセージが表示されます。
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