Mac Doesn’t Go to Sleep
When you make the Mac go to sleep but it just stays on with the screen black, you can use the
pmset -g
to display you current power management settings and see the entry for sleep that will tell you the problem causing process PID