Controls kernel sleep assertions on macOS and Windows so tasks, audio, downloads, and servers continue uninterrupted when the display is folded. No external display, dummy HDMI plug, or power adapter required.
Standalone portable ZIP archives compiled natively for each target architecture.
OpenLid modulates hardware power assertions for macOS and Windows laptops. To install, please open this site on your laptop or PC.
Compiled natively for Apple Silicon efficiency cores. Instantaneous wake, negligible RAM overhead, and native power assertion handles.
Optimized for legacy Intel MacBook Pro and MacBook Air hardware with direct SMC sleep modulation and thermal monitoring.
brew install --cask openlid
Manages Windows Power Schemes and engages Win32 SetThreadExecutionState AwayMode. Lives in the taskbar notification area.
Native compilation for modern ARM-based Windows devices. Direct power management with zero emulation layer.
powershell -Command ".\OpenLid.ps1 -On"
How OpenLid handles clamshell state without interfering with display sleep.
On macOS, OpenLid modulates pmset -a disablesleep 1 alongside an active kIOPMAssertionTypePreventSystemSleep token. On Windows, it engages ES_AWAYMODE_REQUIRED and sets LIDACTION 0.
Choose where OpenLid lives: discreetly in the macOS Menu Bar / Windows System Tray, as a standalone App Window in your Dock/Taskbar, or both simultaneously.
An intuitive 3-step Welcome Onboarding flow with 3D animated vigilant eye (scanning left-to-right) walks you through instant passwordless Touch ID elevation and safety thresholds.
Automated fail-safes prevent battery drain and thermal accumulation.
Monitors ProcessInfo.processInfo.thermalState continuously. If thermal pressure reaches critical levels, OpenLid drops assertions immediately and permits normal sleep.
Continuous observation of hardware power sources, clamshell state transitions, and real-time AC adapter connections via native IOKit and Win32.
Traps SIGINT, SIGTERM, and unhandled exits to guarantee power settings are restored to default state upon termination.
Scriptable control for terminal workflows, shortcuts, and SSH sessions.
openlid on --duration 30m
openlid status
openlid mode app
openlid off
Submit bug reports, logs, and feature requests