On Thu, Nov 9, 2023 at 9:21 PM Michael D. Setzer II via users <
users(a)lists.fedoraproject.org> wrote:
On 9 Nov 2023 at 13:22, Celso Viana wrote:
From: Celso Viana <celso.vianna(a)gmail.com>
Date sent: Thu, 9 Nov 2023 13:22:15 -0300
Subject: Power management
To: Community support for Fedora users
<users(a)lists.fedoraproject.org>
Send reply to: Community support for Fedora users
<users(a)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