[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implement power management (suspend, hibernate, resume) in Shepherd?
From: |
Ludovic Courtès |
Subject: |
Re: Implement power management (suspend, hibernate, resume) in Shepherd? |
Date: |
Sun, 09 Jul 2017 00:09:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Mark H Weaver <address@hidden> skribis:
> 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.
Even simpler: closing my laptop’s lid puts it into suspend-to-memory
mode.
Ludo’.
- Implement power management (suspend, hibernate, resume) in Shepherd?, Mekeor Melire, 2017/07/03
- Re: Implement power management (suspend, hibernate, resume) in Shepherd?, Mark H Weaver, 2017/07/04
- Re: Implement power management (suspend, hibernate, resume) in Shepherd?,
Ludovic Courtès <=
- Re: Implement power management (suspend, hibernate, resume) in Shepherd?, Ricardo Wurmus, 2017/07/09