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

Docs

Hermitbox docs29 pages

Hermitbox battery, sleep and keeping the Mac awake

How Hermitbox pauses or suspends VMs when idle, when the battery runs low and when your Mac sleeps, with every default and how to change each one.

Updated 5 min read

On this page

This page covers what Hermitbox does with your virtual machines (VMs) when you stop using them, when your Mac's battery gets low, and when the Mac sleeps.

In short:

  • When Idle is off by default. You turn it on per VM to pause or suspend that VM after a set time.
  • Low battery suspends (or pauses) your VMs once per charge, at 10% by default.
  • Sleep pauses running VMs and resumes them when the Mac wakes.

Pause or suspend a VM when it's idle

When Idle is a per-VM option in the inspector, on the right side of the library window. It does nothing until you choose an action.

Hermitbox inspector for Ubuntu 24.04: running, with System, Cores, Memory, Disk, Network, MAC address and When Idle
The inspector's Details tab.
  1. In the library, select the VM.
  2. If the inspector is hidden, choose View ▸ Show Inspector (⌃⌘I, Control-Command-I).
  3. In Details, set When Idle to Pause or Suspend.
  4. Set After to how long the VM must be idle first.
SettingChoicesDefault
When IdleDo Nothing, Pause, SuspendDo Nothing
After5 min, 15 min, 30 min, 1 hour15 min

What counts as idle

A VM is idle when its window isn't in front and gets no clicks or keys. Work running inside the guest doesn't count, such as a build, a download or a server answering requests. If you start a long job in a VM and switch to another app, When Idle still pauses or suspends the VM once the time is up.

Pause or Suspend: which to pick

  • Pause freezes the VM in memory. It resumes right away, but the VM keeps holding its memory on your Mac.
  • Suspend saves the VM's state to disk and stops it, which frees its memory. It needs free disk space of about the VM's memory plus 2 GB. The next start resumes where it left off.

Some VMs can't be suspended: disposable runs, VMs with a serial console attached, and VMs with certain devices. For those, choose Pause. The full list is in Start, pause, suspend and shut down.

Resume a VM that was paused for being idle

The VM window shows "Paused to save energy" with "Click to resume". Click or press a key in the guest area and the VM continues. A suspended VM resumes the next time you start it, for example by double-clicking its box or pressing ⌘R (Command-R).

What Hermitbox does when the battery gets low

On a Mac with a battery, Hermitbox suspends (or pauses) all running VMs when the charge drops to the level you set. It happens once per charge, and the VMs resume where they left off.

To change it, open Hermitbox ▸ Settings (⌘,, Command-Comma) and go to General:

SettingWhat it doesDefault
Suspend VMs when the battery is lowSuspends (or pauses) all VMs once per dischargeOn
Battery levelThe charge that triggers it: 5, 10, 15, 20 or 30%10%

These settings appear only on Macs with a battery. A higher Battery level leaves more charge on the Mac after your VMs stop.

What happens to VMs when the Mac sleeps

When your Mac goes to sleep, Hermitbox pauses every running VM. When the Mac wakes, it resumes them. This includes closing the lid and choosing Apple menu ▸ Sleep. Nothing is shut down. There's no setting for this.

The guest's clock may be behind after a long sleep. In a macOS VM with Hermitbox Guest installed, choose Keep Clock in Sync… from the Hermitbox Guest menu inside the VM. It sets the VM's clock to your Mac's after it resumes and needs an administrator password once.

Keep the Mac from sleeping during long jobs

The current version of Hermitbox doesn't stop your Mac from going to sleep on its own. If a VM install or a long task inside a VM must keep running, use macOS's built-in caffeinate command while it works:

bash
caffeinate -i

This prevents idle system sleep until you press ⌃C (Control-C) in that Terminal window. It changes no settings, so there's nothing to undo. Closing the lid still sleeps the Mac. The caffeinate guide covers the other options.

If a macOS restore image or Linux installer download is interrupted, it picks up where it stopped the next time.

Keep the Mac awake (coming in a later update)

A Keep the Mac awake setting is planned for a Hermitbox update after 1.0.0. It isn't in the current version, so you won't find it in Settings yet. It's meant to prevent idle sleep while a VM is running; closing the lid will still put the Mac to sleep. We'll update this page when it ships.

What the memory balloon does

Memory balloon is a per-VM setting in VM Settings ▸ Advanced ("Lets the VM hand unused memory back to this Mac."). It's on by default, and you can change it only while the VM is shut down.

In Hermitbox 1.0.0 the balloon device is attached to the VM but doesn't reclaim memory yet, so a running VM keeps all the memory you gave it. A later update is planned to make it hand memory back from VMs you aren't using. Until then, to get memory back from a VM, Suspend it or shut it down, by hand or with When Idle.

Troubleshooting

A VM paused or suspended and I didn't do it. Check, in this order: the VM's When Idle setting in the inspector, Suspend VMs when the battery is low in Settings ▸ General, and whether the Mac slept. Idle time counts only clicks and keys in the VM's window, so background work inside the guest doesn't reset it.

"Not Enough Space to Suspend" Suspending needs free space of about the VM's memory plus 2 GB on the disk that holds the VM. Free some space, set When Idle to Pause, or shut the VM down instead. Storage, downloads and disk space shows what's using space.

Suspend is grayed out. The VM has something that can't be saved, such as an attached serial console or an inserted CD/DVD. Hover over the option to see the reason. Detach or eject it, or use Pause.

"Couldn't Resume Saved State" The saved state no longer matches the VM. Choose Machine ▸ Discard Saved State…, or Discard and Start when Hermitbox offers it. The VM then starts fresh, like after a shutdown, and unsaved work inside it is lost.

A macOS VM's clock is wrong after waking the Mac. Turn on Keep Clock in Sync… in Hermitbox Guest inside the VM (see above).

Every app.
One purchase.