The Apple Developer Documentation on App Nap explains it this way:
That's arguably a superior method to disabling App Nap system-wide, as it seems just as resistant to the 'disappearing checkbox' syndrome. (By 'temporarily,' the documentation means the change does not survive a restart.)
An app is considered to be a candidate for sleep if:The documentation goes on to describe the coding the developer needs to employ to opt out of having his application be subject to App Nap's invocation, addingIt is not visible—if all of an app’s windows are either hidden by other windows or minimized in a hidden dock, and the app is not in the foreground It is not audible It has not explicitly disabled automatic termination It has not taken any power management assertions
When all of these conditions are met [..] the app is placed on a scheduling queue that rarely gets actual time on the CPU. The app wakes up automatically when the user brings the app to the foreground or when the app receives a Mach message or Apple event.
Note: If you experience problems with App Nap, you can temporarily disable it for a particular process by typing:
defaults write app.domain.name NSAppSleepDisabled -bool YES
That's arguably a superior method to disabling App Nap system-wide, as it seems just as resistant to the 'disappearing checkbox' syndrome. (By 'temporarily,' the documentation means the change does not survive a restart.)
Nov 04, 2013 Within this video, I explain how to disable App Nap within Mac OS X Mavericks both from the application icon and from the command-line via Terminal. Please note that applications like Safari have. Oct 24, 2016 What App Nap Does. App Nap was one of the energy features added with macOS (then OS X) 10.9 Mavericks. Other tweaks include a list of “Apps Using Significant Energy”, which was added to the battery icon. Mac software to create panoramic photoshop. App Nap is a related optimization, blocking inactive applications from using the CPU and other system resources. How to disable App Nap system-wide on OS X Mavericks. A quick Terminal command can turn off App Nap, letting all of your apps run at their full capacity when hidden from view. Nov 12, 2013 A quick video on how to disable app nap within Mac OS X Mavericks. You can turn off certain applications from going into sleep mode. Subscribe for more video.
Apple does mention about the effectiveness of App Nap in their official website:
“… OS X can tell when an app is completely hidden behind other windows. And if that app isn’t currently doing something for you — playing music, downloading a file or checking email, for example — App Nap conserves valuable battery life by slowing the app down.”
The screen of your Mac automatically turns off after a certain duration of inactivity. Eventually, the entire Mac goes into sleep mode depending on your configured power settings. If you have a background app running with the App Nap feature enabled, it won’t be able to prevent your Mac from going into sleep mode. And once sleep mode is activated, all your active apps will stop working.
When you resume work on your Mac, you might notice that background activity (for example, downloading files via μTorrent or other download managers) have been paused or that the internet had been disconnected while in sleep mode. Of course, OS X did this to save power, but the feature is not really helpful in this case. https://powerupbling.weebly.com/best-multi-dock-software-mac.html.
If App Nap is disabled for a particular app, it won’t allow your Mac to go into sleep mode while it’s active, even in background. You can see this in action when you’re playing music in iTunes and the display turns off. In this case, iTunes keeps playing music in the background. This is because App Nap is disabled by default for iTunes.
Page Contents
- 2 Prevent Mac from sleeping
Prevent App Nap for specific apps
![Disable Disable](/uploads/1/2/6/2/126270470/471161333.jpg)
Mac OS X gives you the option to manually turn off App Nap for certain apps. If a particular app has the Prevent App Nap option, you can enable it to ensure the app will continue running in background even when your Mac inactive over a long period. The following steps below will help you to enable Prevent App Nap for specific apps.
- Open Finder on your Mac and click on the Applications tab from the left pane.
- Right click / Ctrl + Click on the app you want to disable App Nap for and click on Get Info from the menu.
- Look for the Prevent App Nap option under the General section of the App Info window. If present, check on it to disable App Nap for that particular app.
Now, the App Nap feature won’t affect the activity of this particular app.
Prevent Mac from sleeping
As mentioned earlier, OS X’s native feature to prevent App Nap may not be available for all the apps. If you want to make sure a particular app is not paused automatically, but it doesn’t have the Prevent App Nap option in its Info window, there are some third party alternatives available to help you achieve the same.
Prevent Mac from sleeping when downloading
Caffeine is a useful app that sits on the Mac OS X menu bar and prevents your Mac from automatically going to sleep. Thus, it helps applications to keep running over long duration of inactivity. Depending on your requirement, you can activate Caffeine from a few minutes to a few hours or even indefinitely, when you need background tasks to be performed without any interruption. You can even turn off the display by using the Ctrl+Shift+Eject or Ctrl+Shift+Power shortcut to save power.
Get Caffeine from the Mac App Store.
However, if you want to disable sleep on Macbook even when the lid is closed, Caffeine won’t help you in this case; NoSleep would be a better option here.
Prevent Mac from sleeping when lid is closed
NoSleep is similar to Caffeine in the way that it allows applications to keep running over long periods of inactivity. But unlike Caffeine, which only prevents your Mac from automatically going to sleep, NoSleep disables the sleep feature completely as long as it is enabled. This means your Macbook won’t go into sleep mode even if the lid is closed and background apps will keep running without any interruption. But it also means that your Mac might probably consume a lot more power when NoSleep is enabled.
To save some power when NoSleep is active, you might want to lock your Mac’s screen with the Lock Screen option from the NoSleep menu. Alternatively, you may just turn off the display by using the (Ctrl+Shift+Eject) / (Ctrl+Shift+Power) keyboard shortcut.
Get NoSleep from MacUpdate.
Note: OS X also has a a native option to permanently disable sleep on your Mac. But this is not recommended to be used over the long term.
Disable App Nap Mojave
The apps mentioned above will prevent your Mac from automatically going to sleep. Hence, if any of the applications are using an Internet connection, the connection will remain active even if the screen is locked or your Mac is not in use for a long time.
Mac Disable App Nap
If you like the article, do subscribe to our newsletter for more content like this. You can also tell us your suggestions to help you serve more useful content.