Macbook doesn't sleep after upgrade to El Capitan

0 comments
After upgrade my macbook to El Capitan (10.11.3) from Yosemite 10.10.5. I was experiencing as issue that my macbook doesn't go to sleep mode even after close the lid. It keeps doing some processing and drained my full battery.

Cause : While doing upgrade, some permission on "com.apple.PowerManagement.plist" gets corrupted and macbook/macmini starts behaving abnormally.

Solution : Here we have two solutions.

1) You can set "SleepDisable" boolean value to "NO" by below mentioned command.
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist SystemPowerSettings -dict SleepDisabled -bool NO
If you want to undo this settings, then use this command.
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist SystemPowerSettings -dict SleepDisabled -bool YES
2) Delete "com.apple.PowerManagement.plist".
> Open Terminal
> Sudo rm -rf /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist
> Reboot your mac.

Thankyou