Like everyone else here, I have the same problem.
The only thing that's been working for me is each day, I go into Energy Saver, uncheck "Prevent computer from sleeping automatically when the display is off", leave Energy Saver, go back into it and re-check it again. Since I've been doing that each morning after waking the screens, (5 weeks? except weekends), the problem has only returned once (see below). I'm unsure if leaving Energy Saver is a needed step but it's working for me.
At one point during this time, I neglected to perform my routine, and within about 4 days, the bug happened again. Since I started it again, it hasn't returned.
From my investigation, clicking on that checkbox modifies the sleep time in minutes. Clicking on it effectively calls "
pmset sleep 0"
for checkbox off (0 = disable) or "
pmset sleep [value of the 'Turn display off after' slider]".
So, if I have turn display off after 3 hrs, set, and have "Prevent computer from sleeping automatically when the display is off" checked, it's effectively the same as saying "
pmset sleep 180
".
I've thought about attempting to create an automated solution to do this daily (ie cron job calling I think
sudo pmset sleep [time in minutes]
) but during my attempts of CLI calls, I noticed that I cannot get the checkbox to physically check, I can only modify the underlying core value. As such, I'm not sure if checking the checkbox modifies other values in the system.
I have no idea how/if this could correlate to stopping the bug but at a minimum, clicking on the checkbox daily works for me.
The only other thing worth noting is my Mac is using Carbon Copy Cloner which wakes the displays each day at 5AM. Usually, the displays are still operational by the time I get behind my computer - within the 3 hr timeout).