I've set system to hibernate when I close laptop in KDE settings, both for battery and cable. Hibernation works fine when I execute it from KDE menu but does not work when I close laptop despite system settings. Strange, but recently it was working correctly, don't know what happened and why now it is broken, I haven't touched anything related, only upgraded system from time to time. Grep dmesg by "hibernation" shows nothing interesting. Laptop - ThinkPad X1 Carbon Gen 8.
Could anybody help me get hibernation back to work?
UPD-1: Answers to some questions
Q1)
$ sudo ls /etc/polkit-1/localauthority/
10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d
also there is
$ ls /etc/polkit-1/localauthority.conf.d/
50-localauthority.conf 51-ubuntu-admin.conf
Q2)
$ dpkg -l | grep -E 'pm-utils|hibernate'
shows nothing, packages not installed
Q3)
$ cat /sys/power/state
freeze mem disk
/etc/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
and/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
./etc/polkit-1/localauthority
? 2) Do you have packagespm-utils
andhibernate
? 3) Please post the output ofcat /sys/power/state
.