This 'feature' seems to have been introduced in OS X Yosemite and has continued through at least OS X El Capitan—and most likely MacOS Sierra. If a Mac is started, and there is no login within a couple minutes, it will shut down. This is really bad from a remote perspective. Dec 08, 2020 Learn how to avoid or remove Mac Defender malware in Mac OS X v10.6 or earlier. A phishing scam has targeted Mac users by redirecting them from legitimate websites to fake websites which tell them that their computer is infected with a virus. The user is then offered Mac Defender 'anti-virus' software to solve the issue. If you’re using a Mac desktop without a T2 chip (such as an iMac), switch it off, unplug the power cord and wait 15 seconds, plug it back in, then turn on your Mac. If your Mac has a T2 chip.
In case you feel that your Mac is going too quickly into Sleep Mode, then you can stop Mac from automatically sleeping by either increasing the sleep timer on your Mac or by configuring the Mac to never go into sleep mode.
By default, all Mac computers automatically go into sleep mode after a certain period of inactivity. This feature on Mac is designed to save power and also to prevent unauthorized access, while you are away from your Mac.
Usually the period of inactivity after which the Mac automatically goes into sleep mode is 2 minutes while on battery and 10 minutes when the Mac is plugged into a direct power supply source.
The Power Saving Auto-sleep feature is turned OFF while you are watching movies or videos on your Mac and not while you are reading or going through an interesting article on a website.
This can get very annoying, especially when you are in the middle of reading something and the display on your Mac turns off and goes into Sleep Mode.
Follow the steps below to stop Mac from automatically sleeping, whenever it is left unattended.
1. Click on the Apple Icon from the top menu bar on your Mac and then click on System Preferences option in the drop-down menu.
2. On the System Preferences screen, click on Energy Saver.
3. On the Energy Saver Screen, click on the Power Adapter Tab and then Move the slider beside “Turn Display off After” all the way to the right to Never Position (See image below).
4. Next, click on the Battery tab and move the slider next to “Turn display off after” to Never position (See image below)
Note: Instead of choosing “Never” and not allowing your Mac to go to sleep, it is better to make your Mac stay awake for a longer duration of time by moving the slider to 15 or 30 minutes.
This way you can prevent your Mac from draining its battery, in case you happen to leave your Mac unattended for a longer duration.