VPNLW · Android client setup

Android VPN Guide: Keep-Alive and Split Tunneling Tested

The gap between Android and desktop isn't in the routes themselves — it's in how the system manages the tunnel. This article compares common approaches across background keep-alive, battery policy and split tunneling, then gives a settings combination that survives long sessions and an order for choosing a plan by data usage.

Picking an Android VPN isn't judged by the same standards as desktop. On a computer you compare routes and protocols; on a phone the tunnel has to clear three extra hurdles: whether the system's battery policy kills it, whether background keep-alive is stable enough, and whether split tunneling can let only the apps you choose out. Get these wrong and even a rock-solid route dies ten minutes after the screen locks. Below we compare common approaches on all three, then give a settings combination for always-on use and an order for choosing a plan.

120+ Countries & regions
230+ Routes available
Unlimited Simultaneous devices
7 days No-questions refund window

Background keep-alive: how battery policy kills the tunnel

Android's chain has two more layers than desktop: between the client and VpnService sits the system's power management, and between the system and the node sit local DNS resolution and the network egress. Since Android 6.0 there have been Doze and App Standby, which batch-defer network access and wakeups once the screen is off; manufacturers then stack a more aggressive battery policy on top of Doze. VpnService is managed by the system, but when the process is frozen the tunnel still drops.

The symptoms are easy to spot: the connected icon is still in the notification shade but pages won't load; the first request after a while on the lock screen takes ten-odd seconds; the tunnel doesn't come back on its own after switching from Wi-Fi to mobile data. When that happens, check system settings first and suspect the route second.

The simplest way to tell whether the system is killing it: lock the screen for ten minutes, then open this site's IP lookup page in a browser. If it loads and the exit region matches the node you picked, the tunnel is alive; if it fails or the region falls back to your local one, background activity is being restricted.

The standard client approach is a foreground service with a persistent notification. That line in the shade isn't decoration — it's the system's proof that this process is doing something the user can see, and most customized builds will end the service along with the notification if it's swiped away, so rule one is don't swipe it. Rule two is to take the app off the battery optimization list: on stock Android the path is Settings → Apps → client → Battery → Unrestricted, while customized builds move it into their own battery or phone-manager app and rename it Battery policy, Background power usage or App launch management. The table below covers common customized builds; versions vary, so go by whatever the search box in Settings finds.

Where the keep-alive switches live on common Android builds
Build Key switch Recommendation
Stock Android / Pixel Settings → Apps → client → Battery → Unrestricted Turn off system battery optimization
Xiaomi HyperOS / MIUI App settings → App management → client → Battery policy → Unrestricted, and enable Autostart Pull down on the task card to lock it in the background
OPPO / OnePlus ColorOS Settings → Battery → App power management → Allow full background behavior Also turn off Smart power saving
vivo OriginOS Settings → Battery → Background power management → Allow high background power use Allow autostart
Huawei HarmonyOS Settings → Apps → App launch management → switch to Manual management Turn on all three: autostart, associated launch, background activity

One more thing that's easy to miss after all that: system power-saving mode and sleep standby can temporarily override the settings above. When the battery runs low the system tightens background activity on its own, and the tunnel dropping isn't the client's fault. For a device that stays connected all day, set power-saving mode to manual, or just turn it off.

Split tunneling: which apps should use the tunnel

Split tunneling is a system-level capability on Android: VpnService lets an app declare which package names it will carry, and apps that aren't selected go straight out over the local network without touching the tunnel. It's a different layer from routing rules — split tunneling decides which apps enter the tunnel, routing rules decide which destinations get proxied and which go direct once inside. The two stack.

There are two common trade-offs. An allowlist ticks only the apps that need the faster path: browser, streaming clients, the office suite you sign into on an overseas node, with everything else going direct. A blocklist does the reverse — everything through the tunnel by default, with banking, payment and local services excluded. The allowlist saves battery and causes fewer false positives; the blocklist is less work but easily confuses local apps' region detection.

Routing and DNS

Rule mode routes by domain, IP range and GeoIP — local destinations direct, everything else through the proxy — and it's the least fussy setup for always-on use. Global mode pushes all traffic into the tunnel; handy for troubleshooting, but leaving it on day to day slows local services down. DNS is the other easy thing to overlook: if lookups don't go through the tunnel and are handed to the local network or ISP instead, the resolution result won't match the exit region — at best cross-region content checks go wrong, at worst pages simply won't open. Pointing DNS at in-tunnel resolution in the client, or enabling encrypted DNS, avoids this whole class of problem.

One more small trap: if the system's Private DNS is on, it can fight with the DNS settings inside the client. Turn it off while troubleshooting, then add things back one at a time once you've confirmed normal service.

Two VPN-type apps can't be active at once. The system keeps only one VpnService at a time, and whichever starts later displaces the earlier one; if split tunneling seems to do nothing after you configure it, first check that no other accelerator or enterprise work client is holding the channel.

Protocols and routes: trade-offs on mobile networks

The protocol decides how client and server handshake and encrypt; the route decides which path the data takes. Mobile networks are characterized by fluctuating packet loss and frequent cell handovers, so the choices here aren't quite the same as on fixed broadband.

VLESS doesn't encrypt on its own — security comes from the outer TLS or REALITY layer — and its overhead is low, which suits long sessions. VMess is widely compatible but sensitive to device time: if the system clock drifts too far, the handshake fails outright, so when you hit "won't connect but the node is fine", check whether time is set to sync automatically. Trojan runs over standard TLS, so its traffic resembles ordinary HTTPS. Shadowsocks is lightweight and easier on the battery on low-end devices, with weaker obfuscation than the TLS family. Hysteria2 and TUIC are both QUIC-based and run over UDP, with more aggressive congestion control that feels smoother across cell handovers and heavy loss — at the cost of higher battery drain, and some networks restrict UDP, so if you can't connect, switch back to a TCP-based protocol first.

How common protocols differ on Android
Protocol Transport Best for Watch out for
VLESS TCP + TLS / REALITY Always-on use, everyday browsing No encryption of its own; relies on outer TLS
VMess TCP Compatibility with older clients Depends on device time sync
Trojan TLS Needs to resemble HTTPS traffic Depends on domain and certificate setup
Shadowsocks TCP / UDP Low-end devices, light use Weaker obfuscation than the TLS family
Hysteria2 QUIC(UDP) Heavy packet loss, frequent network switching Higher battery drain; some networks block UDP
TUIC QUIC(UDP) Interactive apps Requires server-side support

Route type decides how stable things are at peak hours. IEPL dedicated lines run on a private channel and don't crowd the public international egress, so they fluctuate less — good for video calls and long sessions. Relay routes forward through a third location, adding a hop: cheaper, but more jitter at peak. Direct routes are the cheapest and most exposed to local egress congestion. On Android there's an extra practical constraint: cell handovers briefly interrupt the connection, so the advantage of a dedicated line shows up mainly in how fast it recovers and how stable it is after reconnecting.

A settings combination for always-on use

Here's the above condensed into an order you can actually follow, for a phone that stays connected every day:

  1. Install the client and import the subscription link. The subscription URL is as good as an account credential — keep it on your own devices and don't paste it into public groups or screenshots.
  2. On the first connection the system shows a connection request; tick "Always allow" so you don't have to confirm manually every time you unlock.
  3. Using the table above, set battery optimization to Unrestricted, enable autostart and background activity, and lock the client in the task list.
  4. For split tunneling choose the allowlist: tick browser, streaming and the overseas office suite; leave banking, payment and local services unticked so they go direct.
  5. Set DNS to in-tunnel resolution and turn off the system Private DNS that conflicts with it.
  6. Verify: lock the screen for ten minutes, then open the IP lookup page — if the exit region still matches the node you picked, keep-alive is working.

Step five is the one most often skipped. A wrong DNS setting doesn't show up immediately as a failure to connect; it shows up as some sites not opening and some apps saying your region isn't supported, which is the most time-consuming thing to diagnose.

Choosing a plan and data packs by usage

Android usage is harder to estimate than a computer's: background sync, maps and short video all quietly burn data. Working backwards from roughly how much you use per month beats sorting by price. This service's monthly subscription resets data on the same day each month from activation, and upgrading mid-cycle converts the price difference into remaining days; data packs are used until they run out and never expire, which suits people with irregular usage.

Which monthly plan or data pack fits which situation
Option Data Price Best for
Monthly plan 60GB / month ¥9.9 / month Commute browsing, maps, messaging
Monthly plan 250GB / month ¥18 / month Daily video, phone and tablet online at once
Monthly plan 500GB / month ¥28 / month Multiple devices always on, long video sessions
Data pack 300GB, use until it runs out ¥158 Occasional business trips, no monthly billing
Data pack 1000GB, use until it runs out ¥358 Intensive use over a set period
Data pack 3000GB, use until it runs out ¥658 Shared across several devices, long-term backup

There's no cap on device count: one subscription can sign in on phone, tablet and computer at the same time, with no separate charge per device. Payment is via Alipay, WeChat or USDT; signing up needs only a username and password, with no email address required. A full refund can be requested within 7 days of the first payment, so if you're unsure about usage, start with the smallest tier.

Conclusion: configure the system first, then pick a route

Android VPN recommendations should be judged in this order: first whether the client has split tunneling and a stable foreground service, then getting battery optimization, autostart and background activity configured, and only then comparing protocols and routes. With the system layer unconfigured, an expensive route will still drop after the screen locks.

  • ✅ Battery optimization set to Unrestricted, with autostart and background activity enabled.
  • ✅ Split tunneling lets only the apps you need through; payment and local services go direct.
  • ✅ DNS resolves inside the tunnel, avoiding the region mix-ups local resolution causes.
  • ✅ Recheck the exit region on the IP lookup page after ten minutes on the lock screen.
  • ❌ Swiping away the foreground service notification — most systems end the tunnel with it.
  • ❌ Running two VPN-type apps at once — the system keeps only one channel.
  • ❌ Leaving global mode on all the time — local apps' region detection easily goes wrong.

If you just want a starting point: pick a monthly plan, install the client, work through the six steps above, then spend a week watching how the connection behaves after the screen locks. Once your usage settles, decide whether to move up a tier or switch to a data pack — better than buying the biggest tier on day one.

VPNLW

120+ countries / 230+ routes, monthly plans from ¥9.9 with 60GB, unlimited devices, 7-day no-questions refund.

Start Free View Plans
Start Free