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

Michael Biebl biebl at debian.org
Tue Dec 8 14:52:38 GMT 2015


Am 08.12.2015 um 00:30 schrieb George B.:
> On 04/12/15 14:39, Michael Biebl wrote:
>>
>> Can you attach the output of (as root)
>> journalctl -u systemd-logind
>>
>> and mark the time when the auto-suspend happens.
> 
> ```
> -- Logs begin at Mon 2015-12-07 14:25:13 GMT, end at Mon 2015-12-07
> 23:26:59 GMT. --
> Dec 07 14:25:15 deli systemd[1]: Starting Login Service...
> Dec 07 14:25:15 deli systemd-logind[920]: New seat seat0.
> Dec 07 14:25:15 deli systemd[1]: Started Login Service.
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event9 (Power Button)
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event10 (Video Bus)
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event7 (Power Button)
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event6 (Lid Switch)
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event8 (Sleep Button)
> Dec 07 14:25:15 deli systemd-logind[920]: Watching system buttons on
> /dev/input/event14 (Dell WMI hotkeys)
> Dec 07 14:25:26 deli systemd-logind[920]: New session 1 of user borisov.
> Dec 07 19:37:36 deli systemd-logind[920]: Suspending...
> Dec 07 23:26:28 deli systemd-logind[920]: Operation 'sleep' finished.
> ```
> 
> The "Suspending" message would be around the time that the suspend
> happened (~15 minutes after I left it alone).

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.

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

Does systemd-inhibit list anything?

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.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?




More information about the Pkg-systemd-maintainers mailing list