Bug 77671

Summary: systemd-logind does not detect user activity (→idle→suspend during use)
Product: systemd Reporter: Ben Morgan <neembi>
Component: generalAssignee: systemd-bugs
Status: RESOLVED NOTOURBUG QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Ben Morgan 2014-04-19 14:04:42 UTC
Using new Arch Linux install with following packages:
   linux 3.14.1-1
   systemd 212-3

I am using xlogin:
   https://github.com/joukewitteveen/xlogin
With the following guide:
   https://bbs.archlinux.org/viewtopic.php?pid=1357400

I am actively working on the system, and yet:

Apr 19 15:51:40 atlas systemd-logind[334]: System idle. Taking action.
Apr 19 15:51:40 atlas systemd-logind[334]: Suspending...
Apr 19 15:51:40 atlas systemd[1]: Starting Sleep.
Apr 19 15:51:40 atlas systemd[1]: Reached target Sleep.
Apr 19 15:51:40 atlas systemd[1]: Starting Suspend...
Apr 19 15:51:40 atlas systemd-sleep[25421]: Suspending system...

This is a recurring problem. I have my idle time set to 60min and my idle action to suspend in /etc/systemd/logind.conf.

Thank you for your time!
Comment 1 Lennart Poettering 2014-05-24 06:47:47 UTC
Your DE needs to inform logind about when it is idle or not, logind cannot figure that out on its own. GNOME and KDE do this correclty. Please file a bug against your DE of choce.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.