The Prevent System Standby (v3.0) Plugin (line 27/28) uses the
caffeinate with the -i flag (Create an assertion to prevent the system
from idle sleeping)
By changing the flag to -s (Create an assertion to prevent the system
from sleeping. This assertion is valid only when system is running on AC
power), the plugin now prevents my system from sleeping.

Now that's interesting. Because the last change to that file was almost four years ago - to replace -s with -i:

https://github.com/Logitech/slimserver/commit/9f1a3ec8b06bfd10693c186dca2a92c688f84159#diff-22adc3ba966f4a52b31693cb5d299c6a

The commit message then said "kIOPMAssertionTypePreventSystemSleep no longer supported".

--

Michael
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to