Page 1 of 1

Prevent Sleep Only When Streaming!!!

Posted: Mon Dec 31, 2018 4:39 am
by dunbargomes
Currently there is an option in UMS to prevent operating system from sleeping. However this prevents the computer from sleeping all the time, even if UMS is not being utilized.

I propose an enhancement to this to "Prevent Sleep Only when Streaming". This would allow better management of power features when things are idle.

Re: Prevent Sleep Only When Streaming!!!

Posted: Wed Jan 02, 2019 9:55 pm
by valib
This feature is already implemented. See the UMS.conf

Code: Select all

# Prevent system idle sleep
# -------------------------
# If your UMS host has a power-saving mode, use this option to prevent the
# system from hibernating or sleeping. Currently only Windows and macOS are
# supported. There are three modes:
#
# - Never: UMS doesn't interfere with system idle sleep.
# - Playback: UMS prevents the system from going to sleep while playback from
#   UMS is active.
# - Running: UMS prevents the system from going to sleep while UMS is running.
#
# Default: Playback
prevent_sleep =
Currently only Windows and macOS are supported.