Announcement

Collapse
No announcement yet.

hibernate after sleep is not supported?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [DESKTOP] hibernate after sleep is not supported?

    the usual check box for hibernate after sleep is missing and there is no hibernate option in the pulldown menu on the power management settings page (only sleep or shutdown)

    i've tried doing following this guide to enable the hibernate options in kubuntu 24.10 but to no avail.

    i've also tried putting `sudo systemctl hibernate` into the script box under Other Settings but still the system only sleeps (ram is still on) and does not write to disk.

    the hibernate function does work when called from the command line tho and as proof when it starts back up there is a line on the boot splash screen saying "resuming from ...." where my swap partition resides.

    is there a missing package?

    is this yet another trapped between qt5 and qt6 things?

    #2
    Try editing the /etc/systemd/sleep.conf file to include "HibernateDelaySec=20", replacing the number with any duration in seconds (can also write "30min" if you want to). If you already have this line, uncomment it. If you don't, you need to have the setup:

    [Sleep]

    HibernateDelaySec=20



    Please Read Me

    Comment


      #3
      Originally posted by oshunluvr View Post
      Try editing the /etc/systemd/sleep.conf file to include "HibernateDelaySec=20"
      thanks, i've been in that file, this is what mine looks like

      Code:
      [Sleep]
      #AllowSuspend=yes
      AllowHibernation=yes
      AllowSuspendThenHibernate=yes
      AllowHybridSleep=yes
      #SuspendState=mem standby freeze
      #HibernateMode=platform shutdown
      #MemorySleepMode=
      HibernateDelaySec=1
      #SuspendEstimationSec=60min

      i uncommented a bunch of other stuff too in hopes it would suddenly work.... i've also modified my grub and
      Code:
      /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla​
      according to this guide

      https://jaytuckey.name/2023/02/07/ho...e-neon-laptop/

      but to no avail

      as i said, running sudo systemctl hibernate does indeed work but i can't get KDE to do it and when i run either of these commands i get a "false" result

      # both of these checks give negative results
      Code:
      qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement CanSuspendThenHibernate
      qdbus org.freedesktop.PowerManagement /org/freedesktop/PowerManagement CanHibernate

      ​so something is not connecting.

      Comment

      Working...
      X