Bug#807041: logind: laptop unexpectedly auto-suspends after some time of inactivity

George B. i93.borg at gmail.com
Wed Dec 9 01:27:14 GMT 2015

On 08/12/15 14:52, Michael Biebl wrote:
> Have you set IdleAction= and IdleActionSec= in /etc/systemd/logind.conf?
> If not, this looks like the suspend request is triggered externally and
> logind simply executes the action.

No, my logind.conf is the Debian default with all the options commented out.

> Do you have a tool like xfce4-power-manager, mate-power-manager,
> lxqt-powermanagement etc installed?

Not that I can find:

$ dpkg -l | awk '{print $2}' | grep power

> Does systemd-inhibit list anything?

$ systemd-inhibit
      Who: NetworkManager (UID 0/root, PID 935/NetworkManager)
     What: sleep
      Why: NetworkManager needs to turn off networks
     Mode: delay

1 inhibitors listed.

> Can you run dbus-monitor --system (as root) and check if you get any
> dbus messages for org.freedesktop.login1 at the time the suspend happens.

This is the first sleep-related thing - happens about 15 minutes of idle:

signal time=1449602082.422699 sender=:1.1 -> destination=(null destination) serial=264 path=/org/freedesktop/login1; interface=org.freedesktop.login1.Manager; member=PrepareForSleep
    boolean true
signal time=1449602082.423998 sender=:1.1 -> destination=(null destination) serial=265 path=/org/freedesktop/login1; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
    string "org.freedesktop.login1.Manager"
    array [
       dict entry(
          string "DelayInhibited"
          variant             string "sleep"
    array [
method call time=1449602082.424179 sender=:1.1 -> destination=org.freedesktop.systemd1 serial=266 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=StartUnit
    string "suspend.target"
    string "replace-irreversibly"

Best regards,


More information about the Pkg-systemd-maintainers mailing list