Comment 8 for bug 1605189

Mike Dev (mike-dev) wrote :

Another way that seem to fix the problem is to create a file named /etc/polkit-1/localauthority/50-local.d/enable-suspend.pkla with this content:

[Enable Suspend on Idle]
Identity=unix-user:*
Action=org.freedesktop.login1.suspend
ResultAny=auth_admin_keep
ResultInactive=yes
ResultActive=yes

Reboot isn't seem to be required. Seem to be more secure as there is no need to disable session locking.