💻
💻 Technology
Adrafinil: Mac app keeps laptop awake with lid closed only while AI agents are active
Adrafinil is a new macOS utility that prevents a MacBook from sleeping when the lid is closed, but only while an AI agent such as Claude Code or Codex is actively running. It uses the pmset disablesleep 1 command and installs hooks to detect agent activity. The active status is shown in the menu bar, avoiding battery drain when no agent is working.
Comments
No comments yet
Comments
No comments yet — be the first to weigh in 👇
No comments yet. Be the first!