Hi all,
I set Fedora 38 Workstation's power mode to performance, but if any user doesn't login the computer hibernates. How do I change this behavior so that the computer does not go to sleep if there is no user logged in?
Thanks
On Nov 9, 2023, at 11:22, Celso Viana celso.vianna@gmail.com wrote:
Hi all,
I set Fedora 38 Workstation's power mode to performance, but if any user doesn't login the computer hibernates. How do I change this behavior so that the computer does not go to sleep if there is no user logged in?
Thanks
I believe you need to set this to disable gdm from suspending:
sudo -u gdm dbus-run-session gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
Ideally you’d drop something in /etc/dconf/.
On 9 Nov 2023 at 13:22, Celso Viana wrote:
From: Celso Viana celso.vianna@gmail.com Date sent: Thu, 9 Nov 2023 13:22:15 -0300 Subject: Power management To: Community support for Fedora users users@lists.fedoraproject.org Send reply to: Community support for Fedora users users@lists.fedoraproject.org
Hi all,
I set Fedora 38 Workstation's power mode to performance, but if any user doesn't login the computer hibernates. How do I change this behavior so that the computer does not go to sleep if there is no user logged in?
Thanks
Check /etc/systemd/sleep.conf The default settings have it set to sleep as per request from Lenovo as I've heard to get better power rating, but totally screwed up my machines. I set options to no.
[Sleep] AllowSuspend=no AllowHibernation=no AllowSuspendThenHibernate=no AllowHybridSleep=no
-- Celso Vianna BSD User: 51318 http://www.bsdcounter.org
Palmas/TO _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
On Thu, Nov 9, 2023 at 9:21 PM Michael D. Setzer II via users < users@lists.fedoraproject.org> wrote:
On 9 Nov 2023 at 13:22, Celso Viana wrote:
From: Celso Viana celso.vianna@gmail.com Date sent: Thu, 9 Nov 2023 13:22:15 -0300 Subject: Power management To: Community support for Fedora users users@lists.fedoraproject.org Send reply to: Community support for Fedora users users@lists.fedoraproject.org
Hi all,
I set Fedora 38 Workstation's power mode to performance, but if any user doesn't login the computer hibernates. How do I change this behavior so that the computer does not go to sleep if there is no user logged in?
Thanks
Check /etc/systemd/sleep.conf The default settings have it set to sleep as per request from Lenovo as I've heard to get better power rating,
Lenovo (along with all the big vendors) wants "enterprise" deployments in cubicle farms where power and cooling limits per seat are being downsized to fit in more workstations.
but totally screwed up my machines. I set options to no.
[Sleep] AllowSuspend=no AllowHibernation=no AllowSuspendThenHibernate=no AllowHybridSleep=no
If you edit /etc/systemd/sleep.conf the settings may be overwritten with upgrades. You can avoid that by putting your local version of sleep.conf in /etc/systemd/sleep.conf.d/<name>.conf.
-- George N. White III