! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Suspends on lid close when plugged in, even when power manager is set to "Lock".
Status:
RESOLVED: MOVED
Product:
Xfce4-power-manager
Component:
General

Comments

Description feynfor 2017-01-31 04:40:48 CET
Created attachment 6975 
Power manager settings not obeyed.

Notebook goes into suspend (when it is plugged in and lid is closed) even when the power manager setting is set to "Lock screen". I have attached a screenshot of my power manager settings. I am using Fedora 25 (XFCE spin).

However, if I set On battery settings to "Lock screen" or "Hibernate", it works as expected.
Comment 1 Marcel Pol 2017-07-31 21:06:11 CEST
I think this has to do with Systemd/Logind, and probably a lack of support for it.

In my /etc/systemd/logind.conf I had:
"#HandleLidSwitch=suspend"
by default. Changing it to:
"HandleLidSwitch=ignore"
fixed it for me.

I think it would be a good thing if Poer Manager supported Systemd/Logind as in changing the settings here.
Comment 2 Simon Naunton 2017-08-10 13:47:12 CEST
Have you tried the following?

xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s false
Comment 3 Git Bot editbugs 2020-05-27 01:41:05 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-power-manager/-/issues/25.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13322

Reported by:
feynfor
Reported on: 2017-01-31
Last modified on: 2020-05-27

People

Assignee:
Ali Abdallah
CC List:
5 users

Version

Attachments

Power manager settings not obeyed. (50.08 KB, image/png)
2017-01-31 04:40 CET , feynfor
no flags

Additional information