Cafe

Keep your Mac or PC awake from the tray.

Download for Windows Download for macOS

or scoop install kidchenko/cafe · winget and Chocolatey coming

or brew install --cask kidchenko/tap/cafe

Try it: click the menu.

What it does

Good for downloads, renders, presentations, long builds, or reading without the screen going dark.

As long as you like

Click the cup and your computer stays awake until you click it again.

For a while

Anywhere from 15 minutes to 8 hours. The menu shows how long is left.

Until a set time

Pick 17:00 and walk away. At 17:00 your computer goes back to its usual sleep settings.

While an app is open

Stays awake while OBS, a game or a build is running, and stops when you close it.

Easy on your battery

When the battery drops below a level you pick, Cafe turns itself off so your laptop doesn't run flat overnight.

Tells you when it stops

You get a notification when a timer ends or a low battery turns Cafe off.

A coffee fact a day

Like where coffee comes from, what a cortado is, or why it's called mocha.

Reading the cup

One look at the tray tells you what Cafe is doing.

OffYour computer sleeps as usual.
AwakeNo sleep, but the screen can still turn off.
Awake, screen onNothing goes to sleep.
Timer runningA small clock on the cup. The menu says when it ends.

It leaves your settings alone

Cafe doesn't change your power settings. It just asks the OS to stay awake for now, using SetThreadExecutionState on Windows and an IOKit power assertion on macOS.

If you turn it off, quit it, or it crashes, the request goes away with it and your computer goes back to how it was. There's nothing to undo.

You can see it for yourself with powercfg /requests or pmset -g assertions. It shows up as Cafe.

Install

Windows installerCafe-Setup.exe
Scoopscoop bucket add kidchenko https://github.com/kidchenko/scoop-bucket
scoop install kidchenko/cafe
winget, ChocolateyComing soon
macOSCafe.dmg (Apple silicon and Intel)
Homebrewbrew install --cask kidchenko/tap/cafe

Windows 10 or later, or macOS 11 or later. It's under 1 MB and needs nothing else installed.

More small tray apps