You are not logged in.

#1 2020-01-21 20:18:48

qlem
Member
Registered: 2017-05-09
Posts: 29

i3wm - power management with systemd

Hi everyone,

I set up /etc/systemd/logind.conf file to suspend the system after 15 minutes of inactivity.

[Login]
...
HandlePowerKey=poweroff
HandleSuspendKey=suspend
HandleHibernateKey=hibernate
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
IdleAction=suspend
IdleActionSec=15min
...

But, every 15 minutes, even if i use my laptop, the system fall in suspend mode.

The man of logind.conf says about IdleAction option:

Note that this requires that user sessions correctly report the idle status to the system...

How do I configure my user session ? I didn't find relevant information in the wiki.

Edit: I use i3wm (no DE)

Last edited by qlem (2020-01-21 20:21:12)

Offline

Board footer

Powered by FluxBB