Why does pmset -g return sleep 1 When running pmset -g, the sleep value (putting the system to sleep) is set to 1 (sleep prevented by coreaudiod)


I have set my screen saver to show after 10 minutes of inactivity.
I then set my display to shutoff after 20 minutes.
I then modified the disksleep value to 20 minutes as well.


At this point, I noticed that I get this "warning":


  Warning: Idle sleep timings for "AC Power" may not behave as expected.
  - Display sleep should have a lower timeout than system sleep.


This is because my displaysleep is 20 and my sleep is 1. Can this be explained, why is system sleep set to 1, what does this really mean?
Per the pmset man page:


  sleep - system sleep timer (value in minutes, or 0 to disable)


So, your computer (Mac Pro, I'm assuming by the question tag) is set to sleep the system after one minute, but other sleep functions that depend on the system (putting the display to sleep, putting the disk to sleep, etc.) are set to run after the system is supposed to sleep.  How can the screensaver start after 10 minutes if the entire system is already sleeping after 1 minute??? :D

To change this, you can run sudo pmset sleep &lt;number of minutes&gt;.  So, to set the system sleep value to zero minutes (turning off sleep) on my own system, I run sudo pmset sleep 0.  If you want to do it through the GUI, you go to System Preferences > Energy Saver, and toggle the "Computer Sleep" value.