Can't suspend laptop using systemd while Slack is started

0

0

Sometimes when I'm trying to suspend a laptop using systemctl hybrid-sleep, I get response like this:

Failed to put system into hybrid sleep via logind: Sleep verb not supported

But after reboot everything is ok - it just works. The version of systemd I'm using is v227.


UPDATE:

I found out what was the problem with. It's the Slack built from AUR, what prevents the system to sleep.

I don't know, why it happens, cause systemd-inhibit --list --mode=block shows me

0 inhibitors listed.

alexcleac

Posted 2015-11-17T18:24:33.093

Reputation: 1

Do you have a swap partition and/or is it enabled & mounted at the time of the command? – SupaJord – 2015-11-17T22:54:48.630

@SnowRep Yes, I have swap partition and it's in use at the time of command. But it's in use even when it works – alexcleac – 2015-11-18T06:34:51.627

Answers

0

The problem is in Slack from AUR (package slack-desktop) that's somehow preventing logind to sleep

alexcleac

Posted 2015-11-17T18:24:33.093

Reputation: 1