On Thu, Aug 31, 2023 at 11:50 AM Michel Verdier <mv...@free.fr> wrote:
> On 2023-08-31, Tom Browder wrote:
> > Is there a way to definitely deactivate all OS-related power changes so the
> > power button has only two functions (on/off)?
>
> To disable all sleep/suspend/hibernation I put in /etc/systemd/sleep.conf
>
> [Sleep]
> AllowSuspend=no
> AllowHibernation=no
> AllowSuspendThenHibernate=no
> AllowHybridSleep=no

Adding that, too, thanks.

-Tom

Reply via email to