Announcement

Collapse
No announcement yet.

Options missing from Power Management in System Settings

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Options missing from Power Management in System Settings

    Hey All,
    I recently installed Kubuntu 23.10 (fresh install from 23.04) and I'm missing the Hybrid-Sleep and Hibernate functions in the Power Management in the system settings menu. I had this previously in 23.04 and have had it on every other distro I've ran with Plasma.
    installed using LVM and the first thing I did was reboot directly into the live .iso and increase my swap size. My laptop has 12 gb of ram, so I increased my swap to 17.5 gb, then did my first boot into the fresh install. I've checked and modified /etc/systemd/sleep.conf to allow for hybrid-sleep and hibernate, but they still do not show up in the menu. Do I have to rebuild grub first? Am I missing some step with systemctl?
    Any help is appreciated, I've also listed out my lsblk below so you can see how the volumes are structured.

    nvme0n1 259:0 0 238.5G 0 disk
    ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
    └─nvme0n1p2 259:2 0 238G 0 part
    ├─vgkubuntu-root 252:0 0 220.4G 0 lvm /
    └─vgkubuntu-swap_1 252:1 0 17.5G 0 lvm [SWAP]

    #2
    Welcome.

    So what do sudo systemctl status hibernate.target and sudo systemctl status hybrid-sleep.target say?

    PS:
    You might have to rebuild your initramfs …​
    And if during update-grub the wrong resume partition is set, one can define it with e.g. the swap's UUID in /etc/initramfs-tools/conf.d/resume .
    Last edited by Schwarzer Kater; Oct 28, 2023, 02:05 PM.
    Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
    Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

    get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
    install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

    Comment


      #3
      Here is the output.

      ╭─bruce at Kubuntu in ⌁
      ╰─λ systemctl status hybrid-sleep.target 0 (0.000s) < 19:06:07
      ○ hybrid-sleep.target - Hybrid Suspend+Hibernate
      Loaded: loaded (/lib/systemd/system/hybrid-sleep.target; static)
      Active: inactive (dead)
      Docs: man:systemd.special(7)
      ╭─bruce at Kubuntu in ⌁
      ╰─λ sudo systemctl status hibernate.target 3 (0.037s) < 19:06:11
      [sudo] password for bruce:
      ○ hibernate.target - System Hibernation
      Loaded: loaded (/lib/systemd/system/hibernate.target; static)
      Active: inactive (dead)
      Docs: man:systemd.special(7)

      And here is grub config
      GRUB_DEFAULT=0
      GRUB_TIMEOUT_STYLE=hidden
      GRUB_TIMEOUT=3
      GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
      GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=f347bc2f-207a-450e-ba9e-9033a93b815d"
      GRUB_CMDLINE_LINUX=""

      Here is /etc/systemd/sleep.conf
      AllowSuspend=yes
      AllowHibernation=yes
      AllowSuspendThenHibernate=yes
      AllowHybridSleep=yes
      SuspendMode=
      SuspendState=mem standby freeze
      HibernateMode=platform shutdown
      HibernateState=disk

      When I try to edit the conf.d/resume file with nano, it's creating a new file instead of editing an existing one.

      Comment

      Working...
      X