artemgordinskiy / Spotifree

An OS X app that automatically mutes ads on Spotify [DISCONTINUED]
http://spotifree.gordinskiy.com
MIT License
1.05k stars 70 forks source link

Assertion "PreventUserIdleSystemSleep #27

Closed amanpatel closed 10 years ago

amanpatel commented 10 years ago

The application causes the system to never sleep because it has a power assertion called "PreventUserIdleSystemSleep

You can figure this out by issuing the following command on the Terminal:

$ pmset -g assertions
4/16/14, 8:56:48 PM CDT  
Assertion status system-wide:
   ...
   PreventUserIdleSystemSleep     1
Listed by owning process:
   pid 425(applet): [0x000000010000016c] 56:10:03 PreventUserIdleSystemSleep named: "executing event" 
...

Is there a way to not have this? I need my iMac to go to sleep whenever possible... And it's a pain to quit spotifree every now and then.

Think of it this way: This fix would potentially save hundreds of tons of CO2 going in to the atmosphere :)

danieldabate commented 10 years ago

I'm not being able to reproduce the problem on my Mac. My "pmset -g assertions" doesn't show an entry like yours.

Are you sure that Spotifree is causing this power assertion? And if so, do you have the latest version of Spotifree installed?