Skip to content

feat: airplane-mode surface and rfkill awareness#372

Merged
cachebag merged 14 commits intodevelopmentfrom
v2.x
Apr 24, 2026
Merged

feat: airplane-mode surface and rfkill awareness#372
cachebag merged 14 commits intodevelopmentfrom
v2.x

Conversation

@cachebag
Copy link
Copy Markdown
Owner

This PR adds RadioState, AirplaneModeState, and methods to read/toggle Wi-Fi, WWAN, and Bluetooth radios with hardware kill switch awareness via /sys/class/rfkill. Introduces set_airplane_mode() to flip all three concurrently.

Deprecates wifi_enabled(), set_wifi_enabled(), and wifi_hardware_enabled() in favor of wifi_state() and set_wireless_enabled().

@cachebag cachebag self-assigned this Apr 24, 2026
@cachebag cachebag added documentation Improvements or additions to documentation feature New feature or request nmrs Changes to nmrs api-surface Public API design, re-exports, and semver-relevant changes refactor Change or improve code wifi WiFi connection management bluetooth Bluetooth device/adapter management nm-compat NetworkManager compatibility or runtime rejection labels Apr 24, 2026
@cachebag cachebag changed the base branch from master to development April 24, 2026 22:00
@cachebag cachebag merged commit 7c1f909 into development Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-surface Public API design, re-exports, and semver-relevant changes bluetooth Bluetooth device/adapter management documentation Improvements or additions to documentation feature New feature or request nm-compat NetworkManager compatibility or runtime rejection nmrs Changes to nmrs refactor Change or improve code wifi WiFi connection management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant