Keep Your Mac Awake
Keep Your Mac Awake
Sleep Blocker is a macOS application designed to prevent a Mac from entering sleep mode. It offers various sleep prevention modes, allowing users to control whether the display, system idle, disk, or all sleep types are prevented. The application integrates into the menu bar, providing access to its controls without occupying the dock. Users can set specific durations for sleep prevention, ranging from preset times to indefinite periods, or create custom timeframes. The app provides real-time status updates and a countdown timer to indicate the remaining active duration. Notifications are available to inform users when the sleep prevention process starts, stops, or is nearing its end. Sleep Blocker is built with Swift and SwiftUI, utilizing the native macOS `caffeinate` command for its functionality. It adheres to Apple's Human Interface Guidelines, offering a clean interface. The application requires macOS 12.4 or later, an Apple Silicon or Intel processor, 50 MB of available storage, and administrator privileges for the `caffeinate` command.