2026-01-30 12:10:38.381 [INFO] PangolinGo: [Android] [PowerState] Device ENTERED Doze mode
2026-01-30 12:10:38.383 [INFO] PangolinGo: Setting power mode to: low
2026-01-30 12:10:38.383 [INFO] PangolinGo: Switching to low power mode
2026-01-30 12:10:38.383 [INFO] PangolinGo: Switched to low power mode
2026-01-30 12:10:38.383 [INFO] PangolinGo: Power mode set to: low
2026-01-30 12:13:31.456 [INFO] PangolinGo: [Android] [PowerState] Device EXITED Doze mode
2026-01-30 12:13:31.457 [INFO] PangolinGo: Setting power mode to: normal
2026-01-30 12:13:31.457 [INFO] PangolinGo: Wake-up requested, starting 0s debounce timer
2026-01-30 12:13:31.457 [INFO] PangolinGo: Power mode set to: normal
2026-01-30 12:13:31.457 [INFO] PangolinGo: Debounce complete, switching to normal power mode
2026-01-30 12:13:31.457 [INFO] PangolinGo: Reconnecting websocket for normal power mode
2026-01-30 12:13:31.457 [INFO] PangolinGo: Switched to normal power mode
2026-01-30 12:13:34.612 [DEBUG] PangolinGo: Stopping tunnel
2026-01-30 12:13:34.612 [INFO] PangolinGo: Stopping tunnel process
2026-01-30 12:13:34.612 [DEBUG] PangolinGo: Cancelling tunnel context
2026-01-30 12:13:34.612 [DEBUG] PangolinGo: Waiting for tunnel goroutine to finish
2026-01-30 12:13:34.612 [INFO] PangolinGo: Tunnel process context cancelled, cleaning up
Describe the Bug
After some time the VPN connection stops and never restores.
Click to view logs
Environment
To Reproduce
Run in background while connected for some time.
Override DNS enabled.
Expected Behavior
VPN doesn't stop while in the background.