This commit is contained in:
Aleksei Sviridkin 2026-04-17 15:44:17 -05:00 committed by GitHub
commit 83c3025e4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -578,6 +578,20 @@ message Config {
*/
bool ipv6_enabled = 11;
/*
* Only enable WiFi when connected to external power (USB).
* WiFi will be automatically disabled when running on battery
* after wifi_power_loss_timeout_secs delay.
*/
bool wifi_on_external_power_only = 12;
/*
* Delay in seconds before disabling WiFi after external power is lost.
* This allows for brief power interruptions without toggling WiFi.
* Default: 30 seconds. Set to 0 for immediate disable.
*/
uint32 wifi_power_loss_timeout_secs = 13;
/*
* Available flags auxiliary network protocols
*/