My macbook does not want to go to sleep when I close the lid or manually choose sleep from the apple menu.

Things I have tried:

  • resetting the PRAM
  • resetting the SMC

According to PMSET the following assertion did occur:

   PreventSystemSleep                      1

No idea why or where that comes from.

Edit: Apparently cupsd is the problem, but why is it acting up all of the sudden? I haven't changed any of my printer settings lately.

link|improve this question
take a look at this: apple.stackexchange.com/questions/29480/… Also, some process could be writing to the disk to prevent sleeping. I had this issue, and could not figure out which process was the culprit, but a restart solved the problem. (not really a solution I know) – chakram88 Jan 1 at 15:26
Related. – Daniel Beck Jan 1 at 15:56
Related. – Daniel Beck Jan 1 at 15:59
feedback

2 Answers

Because printers make requests that prevent your computer from sleeping.

These requests can persist until you uninstall the printer. I had this happen to me for about six months and had no clue at all what it was, but the command (in terminal)

pmset -g assertions

… showed it was a printer request keeping my computer awake.

link|improve this answer
wouldn't purging the print queue help without having to uninstall and install printers? Assuming that there were unfinished print jobs and that's why there were such requests. – lupincho Apr 10 at 14:15
feedback
up vote 0 down vote accepted

Remove all printers added, re-add them.

link|improve this answer
Any chance of an explanation as to why this would fix the problem? – Mokubai Jan 2 at 10:28
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.