Skip to content
86% off$349 $48.86code BF2026

Docs

Glowmoth docs25 pages

Keep your Mac awake for a time, until a time, or indefinitely

Start, change and end a Glowmoth keep-awake session: durations, a clock time, custom formats, Stop In and Add Time chips, the default duration and countdown.

Updated 8 min read

On this page

This page shows how to set how long Glowmoth keeps your Mac awake: for a set duration, until a clock time, or until you stop it. It also covers how to change or end a running session. The fastest way to start is to right-click the moth icon in the menu bar and pick a duration under Keep This Mac Awake.

Your session is separate from automatic reasons such as rules, apps or coding agents. Stopping your session leaves those running.

Before you start

  • Glowmoth needs an active trial or MacSuite license. Without one it keeps nothing awake, and the right-click menu shows Activate Glowmoth… instead of the durations.
  • Glowmoth has no Dock icon. Everything starts from the menu bar icon. If you can't see the icon, see Getting started with Glowmoth.

Keep your Mac awake indefinitely or for a set time

From the right-click menu:

  1. Right-click (or Control-click) the Glowmoth icon in the menu bar.
  2. Under Keep This Mac Awake, choose Indefinitely or a duration. The defaults are 15 Minutes, 30 Minutes, 1 Hour, 2 Hours, 4 Hours and 8 Hours.

A checkmark marks the duration that's running.

From the panel:

  1. Click the icon to open the panel. Left-click opens it by default, and Option-click always opens it.
  2. Under Keep Awake For, click a duration chip, or click ∞ for no end time.
Glowmoth panel with the Awake header, Until 18:00 today and the time left, Add Time chips and a highlighted duration chip
A timed session: the header shows when it ends and the time left.

While a session runs, the chips header changes to Change To and the running duration is highlighted. Picking another duration replaces the running session but keeps its display setting (see Display, screen saver and screen lock).

The Keep Awake switch on the right of the panel header starts your default duration with one click. Hover over it to see which duration that is ("Keep awake: …").

The panel header shows what's running:

  • A timed session: "Until 18:00 today" with a live "1h 05m left".
  • An open-ended session: "Until you turn it off".

Other ways to start a session

  • Left-click toggle: set Settings ▸ General ▸ Left-click to Toggle Keep Awake. A left-click then starts or stops your default duration.
  • Global hotkey: none is set by default. Record one in Settings ▸ General ▸ Keyboard Shortcuts (see Keyboard shortcuts and hotkeys).
  • Desktop widget: its Keep Awake button starts your default duration.
  • Shortcuts, the URL scheme and the command line: these can start, adjust and stop sessions. Some examples:
bash
glowmoth for 2h

Keeps the Mac awake for 2 hours. This needs the command-line tool: install it from Settings ▸ Advanced ▸ Command Line. It goes in ~/.local/bin, so add that folder to your shell's PATH if glowmoth isn't found.

bash
glowmoth until 18:00

Keeps the Mac awake until 18:00, or 18:00 tomorrow if that time has passed.

bash
open --background 'glowmoth://start?minutes=30'

Starts a 30-minute session through the URL scheme without bringing Glowmoth to the front.

Keep it awake until a clock time

From the right-click menu:

Glowmoth panel with Until a Time open: a time field set to 18:00, a Start button and the Until line below
  1. Right-click the icon and open Until.
  2. Choose one of the two fixed picks, for the next 18:00 and the next 7:00 (for example "18:00 Today" and "7:00 Tomorrow"). The times follow your system's 12- or 24-hour setting, so they can read "6:00 PM Today".
  3. For any other time, choose Other Time…. This opens the panel with Until a Time… expanded.

From the panel:

  1. Open the panel and expand Until a Time….
  2. Enter a time. The field starts at the next 18:00.
  3. Click Start or press Return.

The caption under the field confirms the result, for example "Until 18:00 today". If the time has already passed today, the session runs until that time tomorrow. The two picks in the Until submenu can't be changed.

Custom keep-awake duration formats

To enter any length, right-click the icon and choose Custom…, or expand Custom… in the panel. Type a duration and click Start (or press Return). As you type, the panel shows how it reads your entry, for example "1 hour 30 minutes".

Glowmoth panel with Custom open: a duration field showing 1h 30m as a hint and the line Minutes, or a duration like 2h 15m
You typeGlowmoth reads
9090 minutes (a plain number means minutes)
45m or 45 min45 minutes
2h or 2 hours2 hours
1h30 or 1.5h1 hour 30 minutes
2h 15m2 hours 15 minutes

Glowmoth also accepts a colon form such as 1:30. Check the live result under the field to confirm the length before you start.

The longest timed session is 7 days (10,080 minutes). For anything longer, use Indefinitely. If Glowmoth can't read your entry, it shows "Try 90, 1h30 or 2h 15m."

Set the default keep-awake duration

The default duration is used whenever you start a session without choosing a length:

  • the left-click toggle
  • the global hotkey
  • the panel's Keep Awake switch
  • Keep awake when Glowmoth opens
  • the desktop widget
  • a glowmoth://start URL with no time
  • glowmoth on on the command line

To change it:

  1. Choose Settings… in the right-click menu or the panel footer (⌘,).
  2. Go to the Sessions tab.
  3. Under Default duration, pick Indefinitely or one of your quick durations.

The default is Indefinitely.

Change the end time with Stop In and Add Time

The panel shows different chips depending on whether your session has an end time.

Glowmoth panel in an open-ended session with Stop In chips for 15m, 30m and 1h
Stop In gives an open-ended session an end time.

Stop In appears on an open-ended session. The default chips are 15m, 30m and 1h. Clicking one gives the session an end time of now plus that amount, and the original start time is kept. For example, 30m on a session you started this morning makes it end 30 minutes from now.

Add Time appears on a timed session as +15m and +1h. These extend the session from its current end time, not from now.

To change the Stop In chips:

  1. Open Settings ▸ Sessions.
  2. Edit Stop In buttons. Enter up to four durations, for example 15m, 30m, 1h.

If the entry isn't valid, you'll see "Use up to four durations, like 15m, 30m, 1h."

Adjust the time from Shortcuts, the URL scheme or the command line

The Shortcuts action Adjust Keep-Awake Time, glowmoth://extend?minutes=15 and glowmoth extend 15 add minutes, or remove them with a negative number:

  • With no session running, a positive number starts a timed session of that length.
  • On an open-ended session, a positive number makes it end that long from now.
  • On a timed session, the number moves the end time. If the new end would be within a minute, the session stops instead.

The "5 minutes of awake time left" notification also has +30 Min and +1 Hour buttons (see Notifications and what happens when a session ends).

Edit the quick durations

Quick durations are the lengths listed in the right-click menu and as panel chips.

  1. Open Settings ▸ Sessions.
  2. Under Quick Durations:
    • Use Move Up and Move Down to reorder.
    • Use Remove to delete one.
    • Type a new one in "Add a duration, like 45m or 3h" and click Add.
  3. Click Restore Defaults to go back to 15m, 30m, 1h, 2h, 4h and 8h.

You can have up to 8 quick durations, each 7 days or shorter, and you must keep at least one.

End a session

A timed session ends on its own at its end time. To end any session sooner, use one of these:

  • Stop in the right-click menu (shown only while your session runs)
  • the Keep Awake switch in the panel header
  • the ✕ (End This Reason) on your session's row in the panel's Held By list (the list appears only when something besides your session is holding the Mac)
  • your global hotkey, if you set one
  • the Shortcuts action Stop Keeping Awake, glowmoth://stop or glowmoth off
  • Stop on the desktop widget

Stop ends only your session. Rules, apps, folders and other automatic reasons keep the Mac awake if they're active.

Stop Everything ends your session and also suspends all automatic reasons until you next start a session or relaunch Glowmoth. It's in the right-click menu while automatic reasons are holding the Mac, and under the Held By list. There's no separate button to resume automatic reasons.

Two optional settings also end your session:

  • End the session when the screen locks (Settings ▸ Sessions, off by default)
  • Stop the session when switching to battery (Settings ▸ Safety, off by default, laptops only)

Quitting Glowmoth releases its hold on the Mac.

What happens after a relaunch

Setting (Settings ▸ General ▸ Startup)What it doesDefault
Resume a timed session after relaunchA timed session that hasn't ended yet comes back with its original start and end timeOn
Keep awake when Glowmoth opensStarts your default duration when Glowmoth launchesOff

Open-ended sessions are never restored after a relaunch. If both settings are on and a timed session is waiting to resume, the resumed session takes precedence over starting the default duration.

Show a countdown next to the icon

  1. Open Settings ▸ General.
  2. Turn on Show countdown next to the icon.
  3. Under Show, choose:
    • Time Left, for example "45m" or "1h 05m". In the last minute it counts seconds, such as "30s".
    • End Time, for example "→18:00".

The countdown appears only for your own timed session. It doesn't appear for open-ended sessions or when only automatic reasons are keeping the Mac awake. It updates once a minute, and every second in the final minute.

The Glowmoth awake icon in the menu bar with 1h 05m next to it
The countdown shows the time left.

If it doesn't work as expected

  • The Custom field won't accept your duration. Use one of the formats in the table above and keep it to 7 days or less. Choose Indefinitely for longer.
  • The session didn't come back after you quit and reopened Glowmoth. Only timed sessions are restored, and only while Resume a timed session after relaunch is on. Open-ended sessions end when Glowmoth quits.
  • No countdown appears. The countdown only shows for a timed session you started. Check that Show countdown next to the icon is on.
  • The display goes dark during a session. Either Keep Display On is off for this session, so only the system stays awake, or Let the screen saver start when I'm away is on and you've been idle long enough. Turn on Keep Display On in the panel's Show More section, or change the screen saver setting in Settings ▸ Sessions (see Display, screen saver and screen lock).
  • The panel says "Paused". A safety limit (low battery or heat) has paused every reason, including your session. Plug in or let the Mac cool, or click Resume Anyway (30 min).
  • The Mac sleeps when you close the lid or choose Sleep. A session only prevents idle sleep. Closing a laptop lid still sleeps the Mac unless closed-lid mode is on, and choosing Sleep from the Apple menu isn't blocked.

Every app.
One purchase.