When Coldpack works
Coldpack works while you do not. Four gates must be open at the same time, and each one can stop the work between two files.
The gates
| Gate | Closed when | Setting |
|---|---|---|
| Power | The Mac runs on battery. | pauseOnBattery (on) |
| Heat | The thermal state is serious or critical, or Low Power Mode is on. | pauseWhenHot (on) |
| Idle | Keyboard or pointer input is younger than the idle time. | idleMinutes (5; 0 means no idle requirement) |
| Hours | The local time is outside your active hours. | activeHours (empty means always) |
One check decides for all kinds of work: compression, the scan, and the daily housekeeping. Coldpack reads the gates before each tick, and again before each file of a batch, so a gate that closes in the middle of a batch stops the work between two files. A file that is being processed is finished first.
The state comes from public system interfaces only: the thermal state and Low Power Mode from the system, the power source from IOKit, and the idle time from the system's input idle counter. This needs no accessibility permission. If the idle time cannot be read, Coldpack treats you as present.
When a gate holds the work, the popover says why, for example Waiting: on battery, Waiting: too hot, Waiting: Low Power Mode or Waiting: user active (idle 2 of 5 min).

Active hours
Give a window in local time, written HH:MM-HH:MM. It may cross midnight, as 22:00-06:00 does. Outside the window Coldpack only records file changes. It does not compress, scan or tidy. Edit it in the Schedule tab.

Time you can set
| Setting | Default | What it does |
|---|---|---|
Cooldown (cooldownHours) | 6 | How long a file must stay unchanged since the last change Coldpack saw, or since its modification date for a file the scan finds. |
Minimum file age (minAgeDays) | 0 (off) | The modification date must be older than this. A file that is too young is held until it is old enough. The wait survives a restart. |
Rate (filesPerMinute) | 200 | The most files Coldpack handles in one tick. A tick happens every 60 seconds. |
A compress rule can replace the cooldown, the minimum age and the minimum saving for the files it matches. See Rules and scope.
How aggressive is Coldpack? Tune it
There is no single "aggressiveness" dial. How eager Coldpack is depends on a few settings that you combine. This table shows where each one is.
| To make it… | Change | Where |
|---|---|---|
| Start sooner on a changed file | Lower Cooldown | Settings, General |
| Include files that save less | Lower Minimum saving | Settings, General |
| Include smaller or younger files | Lower Minimum file size; lower Minimum file age | General; Schedule |
| Work even when you are around | Switch off Wait until the Mac is idle | Settings, General |
| Work in a window you choose | Active hours | Settings, Schedule |
| Go faster through a backlog | Raise filesPerMinute | settings.json only |
| Work on battery or when hot | Set pauseOnBattery or pauseWhenHot to false | settings.json only |
| Treat one folder differently | A compress rule with its own cooldown, age and saving | Settings, Rules |
Three starting points. These are suggestions made from the settings above. They are not measured recommendations, so start with dry run and watch the estimate.
| Gentle | Balanced (default) | Eager | |
|---|---|---|---|
| Cooldown | 48 h | 6 h | 1 h |
| Minimum file age | 14 days | 0 (off) | 0 (off) |
| Minimum saving | 30 % | 15 % | 5 % |
| Wait until idle | On, 5 min | On, 5 min | Off |
filesPerMinute | 50 | 200 | 200 |
| Battery and heat | Pause | Pause | Pause |
settings.json apply within a minute, while the app runs.Light on the machine
Coldpack runs at background priority. The scan reads at low disk priority, and file events are stored on their own queue, so a busy walk never delays them. The measured cost, with the app idle, is 0.22 % CPU and 68 MB of memory over 10 minutes. While it works through a backlog, the average was 0.75 % CPU over 10 minutes.