From: Mark H Weaver <mhw@netris.org>
To: Mekeor Melire <mekeor.melire@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Implement power management (suspend, hibernate, resume) in Shepherd?
Date: Tue, 04 Jul 2017 15:31:11 -0400 [thread overview]
Message-ID: <874lusgfsw.fsf@netris.org> (raw)
In-Reply-To: <87a84l3u88.fsf@gmail.com> (Mekeor Melire's message of "Tue, 04 Jul 2017 02:45:43 +0200")
Mekeor Melire <mekeor.melire@gmail.com> 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
next prev parent reply other threads:[~2017-07-04 19:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150328205904.GB8346@venom>
2017-07-04 0:45 ` Implement power management (suspend, hibernate, resume) in Shepherd? Mekeor Melire
2017-07-04 19:31 ` Mark H Weaver [this message]
2017-07-08 22:09 ` Ludovic Courtès
2017-07-09 12:15 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lusgfsw.fsf@netris.org \
--to=mhw@netris.org \
--cc=help-guix@gnu.org \
--cc=mekeor.melire@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).