You are not logged in.

#1 2012-11-01 17:32:33

exterm
Member
Registered: 2011-05-01
Posts: 17

[Solved] Power Management unconfigurable after switch to systemd

Hi,

I have a machine running gdm and xfce. Up until now, I configured when to suspend, blank screen etc. via xfce4-power-manager.
Automatic suspend was totally disabled as I use this machine as a server.

After switching to systemd, the machine always suspends after some idle minutes. This is of course unacceptable for server use. xfce4-power-manager settings are not respected anymore. Any ideas?

I tried changing settings with $ gsettings set gsettings set org.gnome.settings-daemon.plugins.power {setting} but that isn't respected either (or I don't understand gsettings).

Best regards
exterm

Last edited by exterm (2012-11-01 19:16:30)

Offline

#2 2012-11-01 17:34:54

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Power Management unconfigurable after switch to systemd

I don't really see why your machine would be suspending on its own.  Screen blanking I can see, as dpms is simply on by default.  But a total suspend sounds a bit fishy to me. 

Do you actualy know what process is suspending the computer?  Maybe some logs to inidcate what is actually going on...

Offline

#3 2012-11-01 17:40:53

exterm
Member
Registered: 2011-05-01
Posts: 17

Re: [Solved] Power Management unconfigurable after switch to systemd

journalctl -a reveals
systemd-sleep: suspending system

does that help?

Offline

#4 2012-11-01 17:45:11

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Power Management unconfigurable after switch to systemd

Well, at least we now know you are truly running systemd.  What is calling systemd-sleep though?

Offline

#5 2012-11-01 17:51:43

exterm
Member
Registered: 2011-05-01
Posts: 17

Re: [Solved] Power Management unconfigurable after switch to systemd

OK, I had a second, probably related problem, that now when closing the lid (it's an old laptop), it suspends (which it shouldn't, since it is configured to just blank the screen in xfce4-power-manager).

I followed the advice here to set all the "Handle..." settings to "ignore" and now at least xfce4-power-manager has control over the lid closing action again.

Testing now to see whether the problem with automatic suspend is gone too.

Offline

#6 2012-11-01 17:53:43

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [Solved] Power Management unconfigurable after switch to systemd

You need to either reboot, or do a daemon-reload (not sure if that is actually sufficient), in order for the new settings to take effect.

Offline

#7 2012-11-01 19:15:49

exterm
Member
Registered: 2011-05-01
Posts: 17

Re: [Solved] Power Management unconfigurable after switch to systemd

The config file edit seems to have solved the other problem too. Thanks for your input!

Offline

Board footer

Powered by FluxBB