Mac mini shuts down while in sleep mode.
I want to start off by saying that I have a Mac mini that's currently running on High Sierra. A few nights ago I put my Mac on sleep mode and the next morning I noticed that the Mac indicator light wasn't flashing as usual and pressing any key did not start it up as usual. It was off like it was shut down. I pressed the power button and when the loading screen showed up, it did not have the usual Apple logo with a solid loading bar. Instead it had a bunch of individual vertical ovals below the Apple logo. It seems as though my Mac was shut down but I don't remember clicking on the shut down option. My TextEdit was still opened as was my VLC player. Normally when I turn off the computer or restart it with those two apps still opened my VLC player will clear out the current playlist and my TextEdit window will lower slightly from its original placement that I had it in. Neither of that happened. I also use a Compaq keyboard with my Mac and they normally don't sync up when I turn the computer on, I always have to unplug and replug. However, this time the mouse was affected as well. As far as I know there wasn't an electrical outage overnight. The next night sleep mode worked fine and there was no shut down. Now on the third night it happened again with the same unusual loading screen. And once again my keyboard diconnected and my mouse was frozen for a few minutes. I do not have energy saving mode turned on for my Mac.
Mac mini (2018)