Re:Circadian – Suspend-on-Idle Daemon for GNU/Linux Power Ma...
by LanternLight83 on Wednesday February 15, 2023 @02:23AM
(#34801004)
Awesome project! Might be posted because there was that thread about power savings earlier? All I need now is to pick a WAL daemon to run on my raspberry pi (er, it's actually a KVM with access to the POWER button so if I wanted eg. wake-on-stream I'd need to either use WAL anyways or rig something up to use my own trigger...).
Re:Circadian – Suspend-on-Idle Daemon for GNU/Linux Power Ma...
by morsch on Wednesday February 15, 2023 @03:16AM
(#34801316)
Still won't inhibit suspend when I'm streaming video via UPnP, from what I can tell. Too bad. Not that I'm complaining.
Does stuff like this just work with arbitrary third party apps in other operating systems? Ideally, I'd want a control panel with a list of applications that attempt to inhibit suspend, a possibility to override that intent, and perhaps a default policy for new applications.
Re:Circadian – Suspend-on-Idle Daemon for GNU/Linux Power Ma...
by morsch on Wednesday February 15, 2023 @03:51AM
(#34801512)
On a headless server, maybe, but I'd assume an open browser, even idle, will use up more CPU resources than streaming a video file, unless you're doing transcoding.
If it's easy to add a new service, that's nice, though now we're kind of back to the poking a handful of conf files and wafting the smoke of burning sage across your keyboard that the readme alludes to.
Re:Circadian – Suspend-on-Idle Daemon for GNU/Linux Power Ma...
by goombacloud on Wednesday February 15, 2023 @08:15AM
(#34803356)
For most use cases you can configure autosuspend and always wrap your commands with systemd-inhibit or gnome-session-inhibit. E.g., for an SSH session when starting tmux, or when you start the music player (for GNOME I guess that many players already do register inhibitors only when they play). One could also write a server that registers inhibitors as long as it serves connections (one could also use systemd socket activation and wrap the server in systemd-inhibit and terminate the server when done).
Re:Circadian – Suspend-on-Idle Daemon for GNU/Linux Power Ma...
by flas9sd on Thursday February 16, 2023 @07:02AM
(#34817631)
yes, homeservers do not need to run at all times. I solve this by being able to ssh into the router from WAN via wireguard and sending out wake-on-LAN magic packets.
Does stuff like this just work with arbitrary third party apps in other operating systems? Ideally, I'd want a control panel with a list of applications that attempt to inhibit suspend, a possibility to override that intent, and perhaps a default policy for new applications.
If it's easy to add a new service, that's nice, though now we're kind of back to the poking a handful of conf files and wafting the smoke of burning sage across your keyboard that the readme alludes to.
There are also webuis that can do this for you https://github.com/sameerdhoot/wolweb
https://serverfault.com/questions/948283/from-nginx-wake-ano...
And Caddy using a plugin https://github.com/dulli/caddy-wol