Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to keep Wifi active #18

Merged
merged 1 commit into from
Apr 27, 2024
Merged

Add method to keep Wifi active #18

merged 1 commit into from
Apr 27, 2024

Conversation

shermp
Copy link
Owner

@shermp shermp commented Apr 23, 2024

By default, when you connect to a Wifi network, Nickel will try and kill it after a minute or two, unless you prevent it.

There is a class called WirelessWatchdog which seems responsible for watching for Wifi to connect, and then (attempt) to kill it after a set time. After taking a look at the web browser controller class, I discovered how it keeps Wifi active while the browser is open. Basically the WirelessWatchdog emits a signal requesting permission to kill wifi. If an attached slot denies permission, it will not kill the Wifi.

@shermp shermp merged commit 4c76cd3 into main Apr 27, 2024
2 checks passed
@shermp shermp deleted the wifi-keepalive branch April 27, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant