5 min read
Nine times out of ten the tunnel doesn't crash — the operating system unloads it to save battery. Android skins from Xiaomi, Huawei, Honor, OPPO, realme and vivo are the strictest: each runs its own power manager on top of Android that closes background apps by its own rules. The fix isn't reinstalling the client; it's three settings hidden in three different places.
Signs the phone is unloading the app:
Signs the problem is the network or the server:
The second case is a connection problem: why your VPN isn't working.
Names differ between manufacturers; the substance is identical.
1. Remove battery optimisation for the app. Settings → Apps → your VPN client → Battery → choose "Unrestricted" or "Don't optimise".
2. Allow autostart. A separate setting that doesn't exist in stock Android. On Xiaomi: Settings → Apps → Permissions → Autostart. On Huawei and Honor: Settings → Battery → App launch → switch the app to manual and enable all three toggles. OPPO, realme and vivo have a similar section in battery settings.
3. Lock the app in recents. On Xiaomi and several other skins the multitasking view has a padlock: a locked app survives a memory clear.
| Skin | Path | What it's called | |---|---|---| | Xiaomi (MIUI, HyperOS) | Settings → Apps → Permissions | Autostart | | Huawei, Honor (EMUI, MagicOS) | Settings → Battery → App launch | manual management, three toggles | | OPPO, realme (ColorOS) | Settings → Battery → Power management | allow background activity | | vivo (Funtouch, OriginOS) | Settings → Battery → Background consumption | high background usage allowed | | Samsung (One UI) | Settings → Device care → Battery | unrestricted apps | | Stock Android, Pixel | Settings → Apps → Battery | unrestricted |
On top of that, enable the system settings Always-on VPN and Block connections without VPN under Settings → Network & internet → VPN → gear icon. Then the system itself keeps the tunnel up. What that does and its side effects: VPN kill switch.
iOS unloads apps far less often, but it has its own causes:
A VPN client is a background service holding a persistent connection and keeping the radio awake. To a power manager that's the ideal candidate for termination: it consumes power while the user isn't looking at the screen.
The uncomfortable conclusion: the more aggressively a skin saves battery, the more often your tunnel will drop, and only permissions fix it properly. How much a VPN really costs in battery terms: does a VPN drain your battery.
In order of frequency:
The client is built to run all day: automatic reconnection restores the tunnel on network changes without your involvement, and the kill switch on Apple devices stops traffic on a drop instead of releasing it in the clear. You can control the connection from an Apple Watch without unlocking the phone: VPN on Apple Watch. On Android, layer the system Always-on VPN setting on top — then keeping the tunnel alive is the operating system's job, not just the app's.
Why does my VPN disconnect overnight? The system unloads background apps while the screen is off to save power. Remove battery optimisation for the client and allow autostart.
Where is autostart on Xiaomi? Settings → Apps → Permissions → Autostart. It's a separate setting that stock Android doesn't have, and without it the system closes the app after a memory clear.
Does Always-on VPN on Android help? Yes, it's the most reliable option: the operating system takes over keeping the tunnel up. The side effect is no internet at all without the VPN, including captive portal pages on guest networks.
Why does the tunnel vanish after an iPhone restart? Check whether connect on demand is enabled and whether the VPN profile still exists under device management.
Can weak signal cause disconnections? Yes. On an unstable network the connection rebuilds repeatedly, which looks identical to the app dropping on its own.
An honest guide to VPN on a router: why VLESS+Reality won't run on stock firmware and why BessyConnect apps are simpler and safer for the whole home. More
How to set up a VPN on Android with BessyConnect: install from Google Play, sign in, allow the VPN connection, pick a server country and enable always-on VPN. More
PlayStation and Xbox have no VPN app of their own. You can still connect a console two ways — via a router or by sharing a PC with BessyConnect. More