For those who do not know yet Nap App on OS X, it is a power option introduced in OS X Mavericks that makes applications idle go into a kind of pause, helping to reduce the use of energy and therefore system resources. This feature can help extend battery life on MacBooks by having a significant impact on power consumption, and while App Nap has its benefits, some power users may find that it slows down their work more than it helps conserve battery power. Therefore it is possible to deactivate this functionality quickly if we want to.
The possibility that Mavericks offers us is to deactivate this feature in individual applications, but we will see how disable it completely for all the others.
It should be made clear before starting that this deactivates App Nap throughout the system and returns it to a state as if it were a pre-Mavericks version to recover performance if we do not give importance to battery consumption. This will affect to each process, task or application running in the background.
- Terminal: We will go to the system terminal in Applications> Utilities> Terminal and enter this command: defaults write NSGlobalDomain NSAppSleepDisabled -bool YES
- Restart: Once we have concluded, the terminal will not return any type of confirmation so we will close the terminal and relaunch the applications that we have open. The simplest solution is to reboot the system to make sure it has worked.
- Verification: When our Mac has restarted, we will only have to go to the activity monitor and check that the applications remain active without going into pause.
To reactivate App Nap, we will follow the same steps to enable the terminal and we will enter the following:
defaults delete NSGlobalDomain NSAppSleepDisabled
The verification that everything returns to its default state will also be carried out in the same way by restarting the system.