unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
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: Sun, 09 Jul 2017 14:15:32 +0200	[thread overview]
Message-ID: <8737a5g61n.fsf@elephly.net> (raw)
In-Reply-To: <87a84l3u88.fsf@gmail.com>


Mekeor Melire <mekeor.melire@gmail.com> writes:

> Is there any nice way to suspend GuixSD by command? (I didn't yet try
> out ‘echo mem > /sys/power/state’.) Is it still desirable that Shepherd
> itself could get this job done?

My librebooted laptop sometimes … breaks in weird ways disabling all
hotkeys, including the switch that is used to suspend.  Whenever this
happens and I cannot reboot I use

    echo mem | sudo tee /sys/power/state

This works fine to suspend the laptop.  It does not lock it, though.

Usually, though it is enough to close the lid of this X200S.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

      parent reply	other threads:[~2017-07-09 12:15 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
2017-07-08 22:09     ` Ludovic Courtès
2017-07-09 12:15   ` Ricardo Wurmus [this message]

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=8737a5g61n.fsf@elephly.net \
    --to=rekado@elephly.net \
    --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).