FlClash v0.9.5 is out for Windows / macOS / Linux / Android Download now

FlClash uses a lot of battery on Android. Find out who really does

The battery page says 20% for FlClash. How much is its own, and how much is it carrying for others?

Updated

Key points

Android's battery page has a trap. Watch an hour of video and all of it passes FlClash's VPN interface, so the system bills that network use to FlClash. Being first in the list doesn't make it guilty.

A reference: 3 to 10 percent a day in the battery page is usual, more with more traffic. Above 20, or ten percent lost overnight, is worth a look.

Do the sums

Open FlClash on the battery page and compare foreground with background, then the data for the same period. Only fast drain with almost no background traffic deserves a closer look.

For details, connect a computer:

adb shell dumpsys batterystats --charged com.follow.clash
adb shell dumpsys meminfo com.follow.clash

The first line lists drain since the last full charge, the second current memory.

Numbers people report

  • 40 MBAndroid 0.9.1
  • 215 MBmacOS
  • 250 MBAndroid 0.9.2
  • 400 MBmacOS (2)
  • 700 MBWindows
Memory use reported by users in issue 2815. For macOS, the middle of 180–250 MB.

2815 asks for a light mode that keeps the core and gives back the interface's memory. One user saw 40 MB on Android 0.9.1 and over 250 MB since 0.9.2. The request is still open.

These are personal reports from different devices and setups, so treat them as hints.

What really drains it

CaseHow to spot itDo
Node down, reconnectingFailures keep appearing on RequestsSwitch, or let a fallback group handle it
Testing too oftenurl-test interval of 60 secondsRaise it to 600 in an override
WireGuard loopIdle, yet high uploadSee 2810, change protocol
Debug loggingLogs scroll non-stopBack to info or warning
Huge rule listsSlow start, high memoryUse rule sets, drop what you don't need

Small savings

When you don't need it, stopping saves more than switching to Direct.
When you don't need it, stopping saves more than switching to Direct. Picture: FlClash, GPL-3.0

Don't do this to save battery

Some people revoke background permission. It saves power, then drops on lock and takes seconds to return. Keep the permission and save with the list above.

A clean comparison

NightSettingNote
FirstFlClash off, Wi-Fi onBattery evening and morning
SecondOn, the rest the sameThe same
ThirdOn with a TCP nodeThe same

Two to four percent more is normal. Ten more: if the third night is better it was the protocol's keepalive, otherwise go on.

The test interval

Many subscriptions test every 60 seconds or less, dozens of nodes, also with the screen off:

proxy-groups:
  - name: Auto
    type: url-test
    url: https://www.gstatic.com/generate_204
    interval: 600
    tolerance: 80
    lazy: true
    include-all: true

600 is ten minutes; lazy skips unused groups; tolerance avoids switching for a few milliseconds. Use your own group name, and remove automatic groups you do not need.

Who keeps connecting

Look at Requests ten minutes after locking. An app every few seconds is a reconnecting push: let it go direct. Many failures: a bad node. A local app by proxy: a missing rule.

What to allow

SystemAllowNot needed
XiaomiAutostart, no restrictionLock screen
Huawei, HonorManual launch, all threeIgnoring alerts
OPPO, vivoHigh background useFloating windows
SamsungOut of deep sleepOthers
Plain AndroidUnrestrictedOthers

Being killed and started again costs more than running.

Memory

Large GEOSITE and GEOIP are loaded whole; rule sets in mrs need less. Log level warning. Swipe the interface away; the core continues.

Heat

With video it is mostly screen and decoding. Watch the same one direct and proxied. 4K over Hysteria2 does cost more.

You might also ask

Is 250 MB a lot?

Not unusual on current phones, and the system reclaims it when needed. Only steady growth is a concern.

Does IPv6 cost battery?

Very little. Retrying when the node lacks IPv6 does; in that case turn it off.

Stopping or direct mode?

Stopping; direct still passes through.

Is another client better?

The core is alike; tests and rules make the difference.

Tests while charging?

Negligible.

Don't have FlClash yet?

Free and open source for Windows, macOS, Linux and Android · latest v0.9.5

Go to downloads

A few more

OpenClash on the router, or FlClash on each device

One looks after the household, the other after you. The real difference is who fixes it when it breaks.

That IPv6 switch: on or off?

On, some sites get slower. Off, some nodes won't connect. Three checks decide it.

Back up FlClash with WebDAV in ten minutes

The day you change phones is too late. The steps use Jianguoyun as an example, plus why restores fail.

Related searches

Covered here: FlClash battery drain, Android proxy battery, FlClash memory use