News for hackers. Stuff that matters.
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 viraptor on Wednesday February 15, 2023 @03:23AM (#34801351)
It should be easy to add new services/ports to the list. Or if you're streaming, maybe your CPU load goes over the threshold anyway?
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 goodpoint on Wednesday February 15, 2023 @04:09AM (#34801601)
This is done already in various mobile Linux distributions.
Re:Circadian – Suspend-on-Idle Daemon for GNU/Linux Power Ma... by haarts on Wednesday February 15, 2023 @04:29AM (#34801699)
I'd be interested to learn a bit more about this. What are you referring to?
Re:Circadian – Suspend-on-Idle Daemon for GNU/Linux Power Ma... by delijati on Wednesday February 15, 2023 @06:52AM (#34802608)
You mean this? https://i.stack.imgur.com/XriCj.jpg Anyway a DE independent power management tool sounds nice.
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 jacooper on Wednesday February 15, 2023 @05:00PM (#34811257)
Now if only the home server can wake it self up on a web request...
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.

There are also webuis that can do this for you https://github.com/sameerdhoot/wolweb

Re:Circadian – Suspend-on-Idle Daemon for GNU/Linux Power Ma... by jacooper on Thursday February 16, 2023 @07:53AM (#34818034)
I think a better idea would be a proxy that will send a wake-on-lan signal if the end point hasn't been connected to in a certain time frame.
Re:Circadian – Suspend-on-Idle Daemon for GNU/Linux Power Ma... by jacooper on Thursday February 16, 2023 @12:29PM (#34821935)