
InsomniaX is a free Mac app that not only lets you disable Mac’s idle sleep function, but also lets you stop your MacBook from entering sleep mode when you close the lid. The app lets you define these settings based on the power source, i.e., if the MacBook is running on battery, you may choose to allow it to enter sleep mode when the lid closes or the system is idle, and disable this behavior when it is plugged in.Once installed, the app adds a dark crescent button to the Menu Bar. From the app’s Menu Bar icon, you can quickly choose to enable or disable sleep on lid close or if idle. You can also put the system to sleep immediately by...