To Avoid Mac OS
- To prevent software conflicts, it’s recommended that you install OSX on a clean drive. As a first step, you may try deleting your outdated system files. So here’s the tip for you: download CleanMyMac X to refresh your Mac’s drive automatically. It removes only safe-to-delete files and is notarized by Apple.
- /donotprintYou can use the caffeinate command. This command creates assertions to alter system sleep behavior. If no assertion flags are specified, caffeinate creates an assertion to prevent idle sleep. Another option is to use the pmset command to manipulate power management settings.
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.
1) Make sure the disk you want to prevent mounting at boot is mounted. 2) Launch Terminal. 3) Run the following command to print out information about the disk: diskutil info /Volumes/ 4) Locate the line that starts with: Volume UUID. Select the UUID (Universal Unique Identifier) that follows on the rest of the line.
Stop Mac From Going 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.
Stop Mac From Automatically Sleeping
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.
To Avoid Mosquito Bites
Does your Mac go to sleep when you are downloading a file or backing it up? Do you want to keep your Mac from sleeping? Okay, there are three easy ways to do so. The first one is using the energy-saver feature, second is to use the terminal, and the third is using a third-party app. All of these methods are straightforward. So, let us dig right in and see how to stop your Mac from sleeping.
Prevent Your Mac from Sleeping Using Energy Saver
- Click on the Apple logo from top-right → Click on System Preferences.
- Click on Energy Saver.Note: If you are on a MacBook, you will see two tabs here: Battery and Power Adapter. You can follow steps 3 and 4 below for both Battery power and while your MacBook is charging.
- Drag the Turn display off after slider to Never → Select Ok from the popup.
- Next, tick the box for Prevent computer from sleeping automatically when the display is off.
Download Mac Os On Windows
Now, your Mac will not go to sleep. If you wish to turn off this feature, follow the above steps, and drag the slider to the left and set the time according to your preference. Now, you Mac will sleep after the set period of inactivity.
RELATED: How to Keep MacBook from Sleeping With Lid Closed
Prevent Mac From Sleeping Using Terminal App
- Go to Applications folder → Utilities → and open Terminal.Or press Command (⌘) + Space Bar to open Spotlight Search and type Terminal.
- Type one of the following Terminal commands according to your preference and hit the enter
caffeinate -d
To prevent the display from sleepingcaffeinate -i
To prevent the system from idle sleepingcaffeinate -m
To prevent the disk from going idlecaffeinate -s
Keep the Mac awake while it is plugged into AC powercaffeinate
Now, your Mac will stay awake for as long as you leave the Terminal running. To stop this, use the keyboard shortcut Ctrl+Ccaffeinate -t 1800 &
Here 1800 is the time in seconds. You can set it to anything. Now your Mac will stay awake for this time duration
The above commands run as long as you leave the Terminal app running.
Using Third-party Apps
- Download Amphetamine from the Mac App Store.
- Open the app and click on Next. You can read and click Next on all subsequent screens to learn more about this app.
- Click on two half-circle icon (that looks like a pill) from the top menu bar.
- Click on Indefinitely. Now you Mac will never sleep.
- Now, Click on the Amphetamine app icon from the top menu bar and then click on End Current Session.
Other Apps That Prevent Your Mac From Sleeping
Amphetamine is potent (and popular). However, your choices are not limited. Some other great apps that keep your Mac from sleeping are:
That’s all, mate!
Signing off…
These were the easy ways to keep your macOS device from sleeping. Now you can peacefully continue to download big files, backup the Mac, or prevent the screen from dimming when you are not watching a video in full screen. I hope this tutorial was helpful, and you learned something new.
To Avoid Mac Os Update
You may also like to take a peek at:
To Avoid Mac Os Update
Which method are you going to use? System Preferences, any App, or Terminal? Please share your thoughts with us in the comments down below.