Sleep/wake, DarkWake and App Nap handling for polling network monitors

Parent: Apple Platform Publishing (Mac App Store) · Topic entry · 18 branches · skill apple-platform-publishing/references/macos-sleep-wake-app-nap-polling-monitor.md

A published reference is not available for this topic yet.

Children

Frontier under this node: Activity Monitor "App Nap" column and NSApplicationDidChangeOcclusionStateNotification for occlusion-aware polling, Captive-portal detection after wake (captive.apple.com) misread as NETWORK failure, Critical Dock bounce (NSCriticalRequest) persistence after a false ping alert, DarkWake detection through IOPMrootDomain interest notifications (IOServiceAddInterestNotification, CurrentPowerState ke, Local Network privacy prompt timing at first launch or first wake (macOS 27), NSActivityLatencyCritical cost for a 5 s heartbeat, NSSystemClockDidChangeNotification and wall-clock steps (NTP, timezone) for the wall-clock users, NSWorkspaceScreensDidSleep/Wake versus system sleep, and what a desktop Mac sends, NWPathMonitor "satisfied but DNS false" transitions and the 8 s unsatisfied flip, on macOS, Reset-on-wake semantics for a re-armed alert_repeat_seconds timer, SCDynamicStore State:/Network/Global/IPv4 as an event to end the settle window early, Stale resolver or split-DNS cache after wake with VPN (tailscale, netbird), and a dscacheutil flush that is only partial, TCP keepalive offload (TKO) and preferred-network offload (PFN) wake reasons in the power log, Wake for network access (womp), Bonjour Sleep Proxy, and networkoversleep, XPC Activity (XPC_ACTIVITY_REQUIRE_SCREEN_SLEEP) as a maintenance-wake proxy, com.apple.powerd:sleepWake unified-log category as an in-sandbox sleep history source (unified log is off in the store b, getaddrinfo EAI_AGAIN versus EAI_NONAME as a tri-state for the DNS reading, py2app launch ordering at login versus Wi-Fi readiness (SMAppService login item in a store build)

← the whole tree · 3D view· how to read this page