A month ago there was a wave of posts and tweets about engineers walking around cafes and parks with their MacBooks propped half-open, as fully closing the lid forces sleep that stops their AI agents. Some people made snarky comments about using tmux or Amphetamine, and some defended their choice with “but I only need it sometimes, and forgetting to disable Amphetamine and finding my laptop discharged in my bag is worse.”This is a solution to this problem. Unlike caffeinate, it will prevent your MacBook from sleeping even with the lid closed, with no external power or display, using pmset disa
---
🔗 **[显示HN :阿德拉非尼–仅在客服代表工作时保持盖子关闭的Mac唤醒](https://github.com/kageroumado/adrafinil)**
> Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work
📊 71投票 · 投稿者: kageroumado
🏷️ 来源: Hacker News
⏱️ 2026-06-28 08:00
加载回复中...