Sleep then hibernate

I have managed to get hibernate working in neon, and have the hibernate button on the start menu and the I get the option to set hibernate in the power management page in ksettings, but the option to sleep and then hibernate after a certain period of time seems to be missing. How would I go about enabling that?

Kde Neon 6.4.5 with Wayland.

what are the contents of

/etc/systemd/sleep.conf

I have tried turning them all on with no luck.

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

what are the outputs of

cat /sys/power/state

cat /sys/power/mem_sleep

cat /sys/power/disk

also there is this

That was the blog I used to try to get it to work before posting this, but alas it does not.

cat /sys/power/state
freeze mem disk
cat /sys/power/mem_sleep
s2idle [deep]
cat /sys/power/disk
[platform] shutdown reboot suspend test_resume

Also, I discovered we need to install polkitd-pkla to get the buttons to show up in the start menu and the hiberate option in ksettings, but it does not trigger the “allow suspend and resume” option.

sudo apt install polkitd-pkla

You also need to touch and edit
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
and add:

[Re-enable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Re-enable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=yes

However I have seen variations of this entry so it may be wrong, but it seems to work for hibernate at least. Hibernate does work. Just not the suspend then hibernate.