Skip to content

feat: expose device enabled state and active Wi-Fi frequency #445

Merged
cachebag merged 2 commits into
masterfrom
feat/device-power-state
Jun 16, 2026
Merged

feat: expose device enabled state and active Wi-Fi frequency #445
cachebag merged 2 commits into
masterfrom
feat/device-power-state

Conversation

@cachebag

Copy link
Copy Markdown
Collaborator

Add a DeviceState::is_enabled() convenience helper for states where NetworkManager considers the device usable or in an active transition.

Surface active Wi-Fi AP frequency on device summaries via Device.frequency and WifiDevice.active_frequency_mhz, reusing the existing active access point D-Bus data instead of requiring callers to query AP/network details separately.

Closes #444

cachebag added 2 commits June 16, 2026 10:13
Add a DeviceState::is_enabled() convenience helper for states where
NetworkManager considers the device usable or in an active transition.

Surface active Wi-Fi AP frequency on device summaries via Device.frequency
and WifiDevice.active_frequency_mhz, reusing the existing active access point
D-Bus data instead of requiring callers to query AP/network details separately.

Closes #444
@cachebag cachebag self-assigned this Jun 16, 2026
@cachebag cachebag added feature New feature or request nmrs Changes to nmrs dbus D-Bus types, signatures, or NM D-Bus API labels Jun 16, 2026
@cachebag cachebag merged commit 12fc480 into master Jun 16, 2026
6 checks passed
@cachebag cachebag deleted the feat/device-power-state branch June 16, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dbus D-Bus types, signatures, or NM D-Bus API feature New feature or request nmrs Changes to nmrs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Device control and state

1 participant