<div dir="ltr">Thanks for the quick answer Michael; I see logind suspending the system but not because of "System idle": I have then to investigate what component is triggering such suspend after a certain inactivity time.<div>I guess this bug can be therefore closed.</div><div><br></div><div>Cheers,</div><div><br></div><div>Andrea</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 7, 2021 at 11:55 AM Michael Biebl <<a href="mailto:biebl@debian.org">biebl@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 07.12.21 10:30, Michael Biebl wrote:<br>
> Control: tags -1 + moreinfo<br>
> <br>
> On 07.12.21 09:47, Andrea V wrote:<br>
>> changing IdleAction options inside /etc/systemd/logind.conf does not<br>
>> have any effect on automatic sleep.<br>
> <br>
> What exactly does that mean?<br>
> Do you want logind to suspend after some idle time (and it doesn't) or <br>
> did you set IdleAction to ignore but it suspended anyway?<br>
<br>
Assuming it is the latter, keep in mind that  IdleAction=ignore is the <br>
default, so you don't need to explicitly configure it.<br>
<br>
I suspect that your system suspend wasn't actually trigged by logind's <br>
idle action.<br>
<br>
But you can find out easily.<br>
<br>
Run (as root) journalctl -u systemd-logind and check the time window <br>
when your system went into suspend. If it was triggered by logind, then <br>
you should have a message like:<br>
<br>
<br>
Dez 07 11:49:33 pluto systemd-logind[3087]: System idle. Doing suspend <br>
operation.<br>
Dez 07 11:49:33 pluto systemd-logind[3087]: Suspending...<br>
<br>
<br>
<br>
</blockquote></div>