Commit Graph

3 Commits

Author SHA1 Message Date
Viktor Liu
fe4fe4008d Refactor sleep detector: bundle runloop state into session struct 2026-04-21 12:33:49 +02:00
Viktor Liu
ce12c620c4 Move macOS sleep detection into the daemon and replace CGO with purego 2026-04-20 10:02:34 +02:00
Zoltan Papp
ddcd182859 [client] Sleep detection on macOS (#4859)
A macOS-specific sleep detection mechanism using IOKit and CoreFoundation via cgo is introduced, with a fallback implementation for unsupported platforms. A public Service wrapper provides an event-driven API translating system sleep/wake events into gRPC calls. The UI client integrates sleep detection to manage connectivity state based on system sleep status.
2025-11-28 17:26:22 +01:00