After applying the logind fix to /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla and doing a killall indicator-session-service, it still doesn't work. Hibernate does not appear and in fact the restart option goes away as well.
After applying the logind fix to /etc/polkit- 1/localauthorit y/50-local. d/com.ubuntu. enable- hibernate. pkla and doing a killall indicator- session- service, it still doesn't work. Hibernate does not appear and in fact the restart option goes away as well.
gdbus call --system --dest org.freedesktop .login1 --object-path /org/freedeskto p/login1 --method org.freedesktop .login1. Manager. CanHibernate
returns
('challenge',)