Shadowrocket Battery Drain in the Background: Should You Enable On Demand?

Learn how to check Shadowrocket battery usage and how On Demand works. Compare always-on and on-demand setups, with guidance on which to use and how to configure each.

At a glance

On Demand is a mechanism for automatically establishing a VPN connection, not a general-purpose battery-saving switch. Enable it when you want the system to restore the connection under specific conditions. If you only use the VPN at certain times and want it to stay disconnected afterward, turn it off and disconnect manually. This guide shows how to investigate Shadowrocket background battery usage on iPhone and iPad by checking system battery statistics, network changes, connection errors, and controlled comparisons. Don’t treat background activity time alone as proof of battery drain.

Start here: Background activity doesn’t necessarily mean high battery drain

After Shadowrocket establishes a VPN connection, its network extension can continue handling traffic while the app is off screen. Leaving Home in the app switcher does not disconnect the VPN, and background activity in Battery settings alone does not indicate a problem. Compare the selected time period, app battery-use percentage, total battery drop, and network activity.

The app percentages in Settings → Battery show each app’s share of battery use during the selected period; they don’t show how many percentage points of battery that app consumed. For example, a 20% listing doesn’t mean the app used 20% of a fully charged battery. Because a network tunnel handles traffic generated by other apps, that traffic can affect how the system attributes battery use. Treat the figures as system estimates, not as a standalone measurement of the client’s processing overhead.

2 places to check
Check usage in Settings → Battery; review automatic connection settings in Shadowrocket Settings → On Demand
3 things to record
Observation time, total battery drop in percentage points, and network activity during the same period
1 variable at a time
Change only On Demand or one other setting per test; don’t change networks and nodes at the same time

If photos are syncing, a large file is downloading, or a video is playing during the same period, the tunnel may be handling a steady stream of data even when Shadowrocket isn’t on screen. Conversely, staying connected for a long time with little traffic isn’t necessarily more power-hungry than repeatedly disconnecting, reconnecting, and handshaking. First identify when battery drain increases, then decide which setting, if any, to change.

How On Demand works and when to enable it

On Demand uses the system’s on-demand connection mechanism to decide whether to attempt a VPN connection based on saved rules and network conditions. Whether it triggers depends on the conditions in the current configuration; it doesn’t simply reconnect whenever you open an app or any data packet is sent. Nor does it mean the VPN disconnects automatically after a set period of inactivity, so it can’t guarantee a fixed battery saving.

In Shadowrocket, open Settings → On Demand and check whether it’s enabled and which conditions are configured. If the device has saved other VPN configurations, also check Settings → General → VPN & Device Management → VPN to confirm which entry is in use, so you don’t change a different configuration by mistake. The exact labels in system settings may vary by OS version and language.

How you use itOn Demand guidanceWhat to check
Keep the connection activeYou can enable it; review the conditionsDoes the connection recover after a network change? Are there repeated failed retries?
Use only during specific tasksYou can turn it off and connect manuallyAfter disconnecting from Home when the task ends, does it stay disconnected?
Investigating unexpected reconnectionsTurn it off temporarily for comparisonKeep other settings unchanged; check whether reconnections and idle battery drain both decrease
Choose whether to connect based on the networkReview the existing on-demand conditionsDoes the Wi-Fi or cellular network in use match the expected conditions?

Bottom line: Choose based on connection needs, not background activity time

Leave On Demand enabled if you need the connection to recover automatically; turn it off if you want clearly defined periods of manual use. If the VPN keeps reconnecting, temporarily turn it off for comparison and investigate why the connection is failing. Don’t assume that disabling the switch fixes the underlying network issue.

Use the Battery screen to keep comparable records

Start with a short observation under consistent conditions. It’s usually easier to pinpoint the issue than by resetting everything. The 60-minute periods below are for troubleshooting, not a battery performance test. Battery readings are rounded, so extend the test and repeat it under similar conditions if the difference is small.

  1. Identify the time period

    Open Settings → Battery, select a time period with a noticeable drop in the available chart, and review Shadowrocket activity alongside other apps’ battery usage. Note whether the screen was on, the device was charging, or downloads were running.

  2. Record a baseline

    Keep the same Wi-Fi network, node, and Global Routing mode. Record the starting battery level and connection status, then observe for 60 minutes. During the test, avoid updating apps, syncing large files, or running Connectivity Test repeatedly.

  3. Turn off On Demand

    Go to Settings → On Demand and turn off on-demand connections, then return to Home and check the connection status. To isolate the effect of this setting, keep the connection status the same as the baseline for this round; don’t change rules or nodes at the same time.

  4. Repeat the observation

    Observe for another 60 minutes with similar battery level, temperature, and network conditions. Record the total battery drop in percentage points, any disconnections, and automatic reconnections. Don’t compare only the app percentages in the Battery list.

  5. Check that it disconnects

    If you want to stop using the VPN after a task, turn off On Demand, then manually disconnect using the switch on Home and confirm that the status reads Not Connected. Check again later and make sure you no longer need services that relied on the tunnel.

“Turn off On Demand but stay connected” and “turn off On Demand, then disconnect” are two different tests. The first checks whether automatic connection behavior contributes to the issue; the second measures the device when the tunnel isn’t in use. Combining them can make the effect of stopping network activity look like a battery-saving effect from a switch.

Frequent reconnections: Check the network, then connection errors

Elevators, weak-signal rooms, Wi-Fi coverage edges, and frequent switching between Wi-Fi and cellular can all interrupt a connection. When the underlying network recovers, automatic connection may try to re-establish the tunnel. If the server is still unreachable, the process may repeatedly time out while resolving the address or establishing a connection. Compare these events with the times when battery drain increases instead of looking only at the day’s total.

The two messages below are common English connection errors. Logs may include prefixes or more detail, and wording can vary by protocol and system environment. Treat them as diagnostic clues, not battery alerts; a single error doesn’t prove that the server is at fault.

Error: Connection timed out

What it means: The connection wasn’t established in time. The current network, server address, or port may be unreachable.

What to do: On a stable network, run Connectivity Test once using an existing node. Then check the address, port, and transport settings provided by your service provider, and avoid repeatedly retrying by hand.

Error: Network is unreachable

What it means: There’s no available route to the destination network. This can happen when you’re offline, switching networks, or the route for an address family isn’t available.

What to do: Make sure the system network is back online and can reach resources that were previously accessible, then reconnect. If the problem occurs only on a particular network, note the network and time of the error before investigating further.

Separate Global Routing, rules, and test activity

On Demand controls whether a connection is established under certain conditions. Global Routing controls how traffic is handled after the connection is up. They aren’t interchangeable. In Home → Global Routing, Proxy, Direct, Config, and Scene aren’t four battery-saving levels. Direct also doesn’t mean the system VPN is disconnected.

ModePurposeBattery troubleshooting notes
ProxyGlobal proxy modeChanges which traffic is proxied, so it isn’t suitable for a direct comparison with a different rule configuration when assessing On Demand
DirectGlobal direct modeDoesn’t mean the VPN is off; use the Home connection switch to stop the tunnel
ConfigApply connection policies according to the current configuration’s rulesKeep the same configuration and check which rules match and how the traffic is handled
SceneApply the policies configured for the selected sceneDuring a comparison, confirm scene conditions haven’t changed the policy actually being applied

In Config mode, rules such as DOMAIN-SUFFIX, IP-CIDR, GEOIP, and FINAL affect where traffic goes. Changing the FINAL policy may send substantial traffic that previously went direct through the proxy, changing the network load. If you also change rules and enable On Demand, you won’t be able to tell which change caused any difference in battery use.

Connectivity Test checks connection performance; it doesn’t directly measure idle battery drain. Each test generates network requests, and testing a whole group of nodes repeatedly isn’t idle standby. Protocols also differ in encryption, transport, keep-alives, and how they adapt to network conditions. There’s no universally “most battery-efficient protocol” independent of network quality, server settings, and actual traffic.

Two ways to use Shadowrocket day to day, and how to check the connection

If you need a persistent connection, you can leave On Demand enabled so the system can try to restore the connection when its conditions are met. Keep an eye on whether reconnections succeed. Rather than toggling the switch every day, first address unstable signal, timeouts on a specific endpoint, or conditions that don’t match the network you actually use. A connected VPN doesn’t guarantee every destination is reachable; verify that your apps and services work after the connection recovers.

If you only use it occasionally, turn off On Demand, connect manually before starting a task, and disconnect from Home when you’re done. This makes your connection periods more predictable, but you’ll need to check the status before using it again. If a service depends on the tunnel, disconnecting changes how you access it. Save any work in progress before testing a disconnection.

Bottom line: Base setting changes on repeated observations

Investigate On Demand conditions and failed retries further only if similar tests repeatedly show fewer unexpected reconnections and less total battery drain with On Demand off. A lower share of battery use attributed to the app alone doesn’t prove that overall battery life improved.

Get Shadowrocket and learn how to connect

The iPhone and iPad version costs $2.99 as a one-time App Store purchase. The developer is Shadow Launch Technology Limited; see the App Store listing for system requirements. Versions for Mac (Apple silicon and Intel), Windows, Android, and Linux are free. See the download page for options across platforms, and the setup guide for first-time authorization, importing, and connection checks.

Download Shadowrocket