title: Handle idle sleep from audio virtual driver - Mac OSX
body: <p>We have an virtual audio device driver similar to Sound flower. This virtual device will be listed in sound system preferences.  Whenever our device gets selected in system preferences, it prevents idle sleep. If we switch the selection to default output device, everything works as expected.</p>
  
  <p>If we execute 'pmset -g assertions' command in Terminal, it gives below output</p>
  
  <pre><code>Assertion status system-wide:  
     ChargeInhibit                           0
     PreventUserIdleDisplaySleep             0
     PreventUserIdleSystemSleep              1
     NoRealPowerSources_debug                0
     CPUBoundAssertion                       0
     EnableIdleSleep                         1
     PreventSystemSleep                      0
     DisableInflow                           0
     DisableLowPowerBatteryWarnings          0
     ExternalMedia                           0
  
  Listed by owning process:
  
     pid 115: [0x0000012c00000073] PreventUserIdleSystemSleep named: MY_DRIVER_IDENTIFER.noidlesleep" 
  </code></pre>
  
  <p>Could any one suggest me some pointers to resolve this issue.</p>