First, tell standby drain apart from transfer drain and disconnects when the screen is off
Most Android Clash clients create a virtual network interface through Android VpnService. Traffic routed through it is handled by the core, then sent directly or through a proxy according to your rules. A DIRECT match only means that the connection skips the proxy node; if the app is still covered by the VPN, its traffic still passes through the core. The VPN icon in the status bar only indicates an active VPN session. It does not tell you whether a node is working or how much battery the VPN is using.
| Symptom | What to check first |
|---|---|
| Battery drops a few extra percentage points after several hours with the screen off | Automatic health checks, proxy provider checks, configuration updates, and background app traffic |
| Noticeable drain during video playback or file transfers | Data transferred, mobile signal strength, and how long the same task takes on different nodes |
| Internet stops working when the screen locks, then comes back after unlocking | Check whether the VPN session ended. If it is still active, check DNS, the node, and network changes |
On phones running Android 14 or 15 with a near-stock interface, go to Settings → Battery → Battery usage to review app activity. An app's share of battery use and the percentage-point drop in the phone's overall charge are different measures. VPN forwarding, background sync from other apps, and radio activity may not all appear under the same app. To see whether a setting helped, compare the phone's overall drain under similar conditions.
Run a standby comparison, changing one setting at a time
- Use the same Wi-Fi network in the same location, and keep mobile data, node, VPN coverage, and battery saver settings unchanged. Starting at roughly the same charge level, record battery use during four hours of screen-off standby. Don't charge or play media during the test, and avoid periods when the system is updating or backing up photos.
- First record battery drain with the VPN on. Then pause automatic health checks and repeat the test. To measure the VPN's overall added drain, run a separate comparison with the VPN off—but only if direct connections are allowed and no background tasks depend on the VPN.
- For each test, record the starting and ending charge, reconnects, and health-check times. If the readings differ by just one percentage point, repeat the test a few times. For example, a drop from 80% to 74% is six percentage points, or an average of 1.5 points per hour over four hours. If another run drops by only three points, repeat the comparison; these sample figures are not a benchmark for any particular phone.
Automatic health checks: check both policy groups and proxy providers
The manual “Latency test” in the app and background probes are separate features. In mihomo, policy groups such as url-test and fallback can check candidate nodes at the configured interval. When a subscription is loaded as a proxy provider, health-check.enable under proxy-providers may also be enabled separately, with its own health-check.interval. Keep proxy provider update intervals separate from health-check intervals, too.
Intervals in the configuration are measured in seconds. interval: 60 means one check cycle per minute. If a group checks 12 nodes each cycle and runs continuously, checking each node once per cycle, that works out to 720 checks an hour in theory. Actual counts depend on lazy checks, the available candidates, and runtime conditions. Probe traffic may be small, but frequent short connections can make it harder for a mobile radio to stay in a low-power state.
- If you always use the same node: switch to
selectand choose it manually, then check for separate health checks. Changing only the group currently selected in the app does not necessarily stop other probes configured in the subscription. - If you need automatic switching: limit the candidate list to the 2–4 nodes you use most, then try increasing the interval from 60 to 300 seconds. Less frequent checks can also mean slower detection of a failed node. If fast recovery matters, test before extending the interval.
- If a subscription manages your configuration: use local overrides if the client supports them, then reload the configuration and verify the active value. A manual edit to an imported file may be overwritten at the next update. If the client does not expose this setting, don't mistake “Auto-update subscription” for “Automatic health checks.”
DNS and proxy protocols: focus on timeouts and reconnects
First, identify which DNS lookup is timing out
Tell apart a failed lookup for the destination domain and one for the proxy node's domain. In mihomo configurations that support these fields, dns.nameserver specifies regular DNS upstreams, while dns.proxy-server-nameserver can specify a separate resolver for proxy node domains. If node lookups time out after switching Wi-Fi or mobile data, first check whether that upstream is reachable on the current network. Requiring a node that has not connected yet to reach the upstream can create a startup dependency.
Android's “Private DNS” and the core's DNS upstream are separate settings. On a Pixel, find the system setting under Settings → Network & internet → Private DNS. The actual lookup path also depends on the client's VPN configuration, how it handles DNS, and whether the app performs its own lookups. If a network switch triggers repeated query timeouts and retries, change just one setting and test again. The main difference between fake-ip and redir-host is how domains and addresses are handled. Choose based on app compatibility and routing needs, not as a fixed battery-saving mode.
Compare protocols with the same network and task
For example, compare a typical TCP + TLS node with a QUIC-based Hysteria2 node, which relies on UDP connectivity. If UDP is unreliable on a mobile network, failed handshakes and reconnects can cancel out any transfer-efficiency gains. A TCP connection can also take longer if packet loss leads to retransmissions. Use the same network, roughly the same server location, and the same destination; transfer a fixed amount, such as 100 MB, and record completion time and reconnects. A single latency reading does not reflect long-connection stability, and short tasks are not suited to ranking protocols by whole-number battery readings.
Keep Clash running in the background on Android: choose settings based on VPN status
Reproduce the issue once with the screen locked to narrow down the cause. If both the VPN icon and the client's connected notification disappear, check the system VPN settings to see whether the session ended, then check whether the client is allowed to run in the background. If the icon remains but websites won't load, check the logs for node connection timeouts or failed DNS lookups. Setting the app to “Unrestricted” won't fix a faulty node or guarantee that every existing connection survives a network switch.
- On a Pixel running Android 14 or 15, go to Settings → Apps → See all apps → select the client → App battery usage to check background usage. On some versions, tap “Allow background usage” to find the “Unrestricted” option. Menu names vary by manufacturer; try searching Settings for “App battery usage,” “Background activity,” or “Battery optimization.”
- Keep the default battery optimization at first. Only relax background limits for this client if you repeatedly confirm that the VPN session ends when the screen locks and you need a continuous connection. Test the connection after 30 minutes with the screen locked, then test again overnight. Don't disable system-wide battery saver and change the client settings at the same time, or you won't know which change helped.
- If the VPN must stay active continuously, check Settings → Network & internet → VPN → the settings icon next to the client → “Always-on VPN.” This option depends on client support. “Block connections without VPN” is a separate traffic restriction: apps may temporarily lose internet access while the VPN is connecting or reconnecting. Use it when traffic must not bypass the VPN; it is not a battery-saving setting.
Limit TUN coverage, then check your everyday apps
If the client supports per-app routing and you only need a browser and a few utilities to use the proxy, limit VPN coverage to those apps. Adding MATCH,DIRECT at the end of your rules does not exclude apps from VPN coverage: traffic from covered apps still passes through the virtual interface and core rule processing. Select the apps in the per-app list and apply the setting. If the client asks you to restart the VPN, do so before testing.
Test the apps that need the proxy first, then check messaging notifications, local network devices, and work apps. Excluding an app may let it connect directly. If “Block connections without VPN” is also enabled, excluded apps may be unable to connect. If all traffic must remain covered by the VPN, keep the current coverage and instead reduce periodic probes, fix DNS timeouts, or switch to a more reliable connection.
If you use a proxy only at certain times, disconnect it when you're done. For an all-day connection, keep the default battery optimization and use a stable node at first; narrow the health-check list, then decide whether to relax background limits based on the screen-off test. Compare three results: overnight battery drain, connectivity with the screen locked, and reconnection after switching between Wi-Fi and mobile data.