unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice via <help-guix@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Behaviour change when closing laptop lid: it no longer suspends
Date: Sat, 19 Dec 2020 14:36:26 +0100	[thread overview]
Message-ID: <877dpd6hph.fsf@nckx> (raw)
In-Reply-To: <87y2hunbvm.fsf@nckx>

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

Pierre,

Tobias Geerinckx-Rice 写道:
> I'll add the above to my next reconfiguration (tonight or 
> tomorrow)
> and will let you know what happens here.

I hoped to gleefully report failure (especially after Maxime's 
message), but my X230T suspends fine on mains power with the 
following snippet:

   (service elogind-service-type
     (elogind-configuration
       (handle-lid-switch-external-power 'suspend)
       (handle-power-key 'hibernate)))

The machine instantly falls asleep (crescent moon light) and my 
display is swaylocked when it resumes.  This is on guix 
4ea2e1a9ebfd92a6ce79c631a4c2230ed5825c04, kernel based on upstream 
5.10.

Hm.

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2020-12-19 13:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 13:28 Behaviour change when closing laptop lid: it no longer suspends Pierre Neidhardt
2020-12-18 14:02 ` Tobias Geerinckx-Rice
2020-12-18 15:25   ` Pierre Neidhardt
2020-12-18 15:44     ` Pierre Neidhardt
2020-12-18 19:38       ` Tobias Geerinckx-Rice
2020-12-19 13:36         ` Tobias Geerinckx-Rice via [this message]
2020-12-20 13:57           ` Pierre Neidhardt
2020-12-20 14:08             ` Pierre Neidhardt
2021-01-14 16:27           ` Maxim Cournoyer
2021-01-14 17:44             ` Tobias Geerinckx-Rice
2021-01-14 17:54               ` Maxim Cournoyer
2021-01-18 17:37                 ` Pierre Neidhardt
2020-12-18 20:33       ` Maxim Cournoyer

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=877dpd6hph.fsf@nckx \
    --to=help-guix@gnu.org \
    --cc=me@tobias.gr \
    /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).