Privacy Policy
Last updated: 2026-04-18
1. What DontSleep does on your Mac
DontSleep is a small menu-bar application that prevents your Mac from going to sleep while specific processes (that you choose) are running. To do that it:
- Reads the output of
/bin/ps -Axo comm=every few seconds to see which processes are running. This list stays on your machine. - Spawns
/usr/bin/caffeinatewhen suppression is active. - Optionally runs
sudo -n pmset -a disablesleep 0/1if you opted into the lid-closed mode. The required sudoers entry is narrowly scoped to just those two commands and is written only after you click "Install…" and enter your admin password.
2. What data DontSleep does NOT collect
- No analytics / telemetry.
- No crash reports sent to us.
- No user accounts, no logins, no cloud sync.
- The list of processes you watch is stored locally in
~/Library/Preferences/com.haru.dontsleep.plistand never leaves your computer.
3. Advertising (optional)
When suppression is active, DontSleep can display a small sponsored banner in the bottom-right corner of your main screen.
Ad delivery
Two provider modes are supported:
- House Ads — fetches a static JSON file from an HTTPS URL you (or the app's publisher) configured. Only metadata about the creative (headline, image URL, click URL) is returned.
- EthicalAds — posts a request to
server.ethicalads.ioto get the next creative. The request includes only non-identifying fields (publisher id, placement name, keywords). See EthicalAds' own privacy policy.
Impression tracking
When a creative is shown for the first time during an app run, the
app issues a single HTTP GET to the creative's impressionUrl
(if one is provided). The User-Agent is hardcoded to
DontSleep/x.y. No user id, no IP header injection, no
cookie handling. If the creative has no impressionUrl,
nothing is sent.
Click tracking
Clicks open the creative's click URL in your default browser via
NSWorkspace.open. From that point onward, you are
interacting with the advertiser's own website under their own privacy
policy — DontSleep is not involved.
Turning ads off
Open Preferences… → 広告表示 and toggle the switch off. The banner will never appear again and no network requests for ads will be made.
4. Permissions DontSleep asks for
- Admin password (one time) — only if you opt into
pmset disablesleepmode. Used to install a narrowly scoped sudoers rule. You can remove the rule later withscripts/uninstall_sudoers.sh. - Network access — only for ad delivery (above), and only when suppression is active and ads are enabled.
5. Children
DontSleep is a developer tool; it is not directed at children under 13 and does not knowingly collect data from children.
6. Changes to this policy
If this policy changes meaningfully, the updated version will be published at this URL and the "Last updated" date at the top will be bumped.
7. Contact
Questions: open an issue on the GitHub repository.