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.via...@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
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@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

Reply via email to