These days suddenly found that the MacBook Pro notebook on hand can't sleep, even close the lid. There is no sleep can be observed in the lower right corner of the breathing lamp, if the breathing lamp is solid indicates a problem. The so-called "工欲善其事, its prerequisite", siege lions want to knock more and better code must love the hands of the fighting equipment, not sleep every day not only power consumption, but also the life of the book will be greatly discounted. Now I'm going to put in a little trick to check why the laptop can't sleep.
1, first, you have to check your system energy Saver settings, set a time to avoid "never" sleep. If your settings are fine, then there are programs that prevent your computer from getting into sleep.
2. Open application---Other->terminal, enter the PMSET-G command to get the following results:
Find the "Sleep" line, if the value is 0, your computer is forbidden to sleep, if the value is 0, then the value should be you in the system settings, energy-saving inside the value set, and then look at the comment section of parentheses. Basic at a glance, write "sleep prevented by qqmusic,configd", meaning sleep function by QQ Music and CONFIGD block. Open the Activity monitor, other than applications, locate the two processes and close them.
The above steps will basically solve most of the problems. If this is not a solution, please refer to this more detailed article for troubleshooting.
"Original" MacBook does not sleep the troubleshooting and resolution