Page 1 of 1

Prevent suspend/hibernation when mpd is in the playback mode

Posted: August 3rd, 2013, 5:06 pm
by Atronach
Hi,
when playing some music from mpd my system always gets suspended after some 45 min of idle period (but during playback) since I have it set that way in KDE. When mpd is running, the system should only get suspended when mpd is in the pause mode. During the playback mode the suspend/hibernate is annoying. There's already "restore_paused" option so the system wouldn't get suspended some time after mpd autostart in case you would implement some suspend/hibernate inhibitor mechanism in mpd. E.g. KTorrent has also this feature to supress sleep when torrents are running. Thank You.