# Keep your Mac awake, for as long as you need

Downloads, renders, presentations and long builds shouldn't stop because your Mac fell asleep. Keep Awake holds it awake from the menu bar, for a set time, until a time you pick, or until you turn it off.

## How to use it

1. Click the Meowse icon in the menu bar.
2. Click a time, from **15m** to **4h**, or choose **Until…** to pick when it ends. Keep Awake starts right away.
3. The time left shows beside **Keep Awake**, and the cat on the menu bar icon opens its eyes. Click the lit time again to end it early.

To stay awake until you turn it off, turn on **Keep Awake** itself. When a timed session ends, your Mac goes back to its usual sleep settings.

## Let the display sleep

Under Keep Awake's **Options**, turn on **Allow Display to Sleep** to keep your Mac running while the screen turns off as usual. It suits downloads and long tasks you don't need to watch.

## Keep running with the lid closed

Turn on **Run With Lid Closed** under Options and a MacBook keeps running with its lid shut while Keep Awake is on. The first time, macOS asks an administrator to allow Meowse in Login Items.

Sleep comes back as soon as Keep Awake ends, if Meowse quits, or if the battery falls to 20%, so a closed Mac in a bag doesn't run flat.

## How it works

Keep Awake uses a macOS power assertion, the same mechanism as the `caffeinate` command built into macOS. macOS itself enforces a timed session's end, so it always ends on time.

It prevents sleep from inactivity. Closing a MacBook's lid still puts it to sleep unless Run With Lid Closed is on, and choosing Apple menu → Sleep always does. Sessions end when Meowse quits, so your Mac never stays awake by accident.

## The Terminal way

macOS can do the same from Terminal. This keeps the display awake for an hour:

```sh
caffeinate -d -t 3600
```

Keep Awake does it from the menu bar, shows the time left, and can't be forgotten in a Terminal window.

## Questions

### Will Keep Awake stop my MacBook sleeping when I close the lid?

Only with Run With Lid Closed, under Keep Awake's Options. Without it, closing the lid or choosing Sleep from the Apple menu still puts your Mac to sleep. With it, the Mac keeps running until Keep Awake ends, and sleeps anyway if its battery falls to 20%.

### Is it the same as caffeinate?

It uses the same kind of macOS power assertion, with a menu, a countdown and an end time that macOS enforces.

### Can I keep the Mac awake but let the screen turn off?

Yes. Turn on Allow Display to Sleep under Keep Awake's Options in the menu, or in Settings → Awake.

---

Meowse is free for macOS 14 or later. Download: https://github.com/salvcy/meowse/releases/latest/download/Meowse.zip · Web page: https://meowse.app/keep-awake · Everything in one file: https://meowse.app/llms-full.txt
