Hi @eric,
The sleep settings for my Macbook Pro are included below.
In terms of how I found out about the problem. I first noticed that my machine wouldn’t sleep, despite the sleep settings, so checked in terminal to find out why.
I did some further testing after reading your latest response and have some additional info that my shed some light on this. If I pause/play music using the Roon app on my Macbook Pro (note, this is the same device that runs my core) the machine WILL sleep as expected when the music is paused.
However, I also use my iPhone or iPad at night, to listen via headphones when in bed, and it’s this that seems to be causing the problem. I can play/pause music without any issue, but both devices create a NoIdleSleepAssertion that doesn’t seem to get released unless I quit the roon server/appliance.
For example, I played a few seconds of a track last night on my iPhone, immediately paused the music, yet terminal still reports the following:
trinity:~ djn$ pmset -g assertions |grep Roon
pid 76382(RoonAppliance): [0x000d10bd000191a7] 09:59:39 NoIdleSleepAssertion named: “Music is playing”
In other words, almost 10 hours after the music has stopped playing the NoIdleSleepAssertion is still active.
It’s also worth noting that I just initiated and paused playback on my Macbook Pro (using Roon on that device) and another NoIdleSleepAssertion was created (see below). This one, however, disappeared of it’s own accord.
pid 76382(RoonAppliance): [0x000d9db500019b9d] 00:00:06 NoIdleSleepAssertion named: “Music is playing”
pid 76382(RoonAppliance): [0x000d10bd000191a7] 10:01:33 NoIdleSleepAssertion named: “Music is playing”
trinity:~ djn$ pmset -g assertions |grep Roon
pid 76382(RoonAppliance): [0x000d9db500019b9d] 00:04:46 NoIdleSleepAssertion named: “Music is playing”
pid 76382(RoonAppliance): [0x000d10bd000191a7] 10:06:14 NoIdleSleepAssertion named: “Music is playing”
trinity:~ djn$ pmset -g assertions |grep Roon
pid 76382(RoonAppliance): [0x000d9db500019b9d] 00:04:49 NoIdleSleepAssertion named: “Music is playing”
pid 76382(RoonAppliance): [0x000d10bd000191a7] 10:06:16 NoIdleSleepAssertion named: “Music is playing”
trinity:~ djn$ pmset -g assertions |grep Roon
pid 76382(RoonAppliance): [0x000d10bd000191a7] 10:06:38 NoIdleSleepAssertion named: “Music is playing”
In short then, it looks like my iOS devices are creating but not cancelling NoIdleSleepAssertion,
Best wishes,
Dave
My Current Energy Saver settings :-