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

2017-07-09 Thread Ricardo Wurmus
Mekeor Melire 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 s

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

2017-07-08 Thread Ludovic Courtès
Mark H Weaver skribis: > Mekeor Melire 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 nic

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

2017-07-04 Thread Mark H Weaver
Mekeor Melire 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

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

2017-07-03 Thread Mekeor Melire
I'm bumping this old thread: https://lists.gnu.org/archive/html/guix-devel/2015-03/msg00757.html because I'd like to discuss if it still makes sense to implement power management, i.e. suspend (to memory=RAM), hibernate (to (hard) disk) and resume in GNU Shepherd. As far as I can see, Shephe