help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implement power management (suspend, hibernate, resume) in Shepherd?


From: Mark H Weaver
Subject: Re: Implement power management (suspend, hibernate, resume) in Shepherd?
Date: Tue, 04 Jul 2017 15:31:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Mekeor Melire <address@hidden> writes:

> As far as I understand, currently GuixSD uses elogind (“systemd
> project's ‘logind’, extracted to a standalone package”) to suspend,
> hibernate and resume when some events happen, like pressing the
> suspend-key etc.
>
> Is there any nice way to suspend GuixSD by command? (I didn't yet try
> out ‘echo mem > /sys/power/state’.)

"loginctl suspend" will do it, optionally with "-i" added to ignore
inhibitors.  See "loginctl --help" for more.

      Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]