Why does Android disconnect the proxy after the screen locks?

Android may stop Clash traffic after the screen locks because battery optimization, background restrictions or VPN process cleanup suspends the client. Exclude the client from battery saving and allow background activity.

Platforms & Clients

Direct answer

Android may stop Clash traffic after the screen locks because battery optimization, background restrictions or VPN process cleanup suspends the client. Exclude the client from battery saving and allow background activity.

What to check first

Each platform has its own permission model. Windows focuses on ports and security prompts, macOS on chip architecture and system permissions, Android on VPN/background behavior, and iOS on App Store proxy clients.

  • Match the package to the device platform and CPU architecture.
  • Grant only the permissions required by the selected feature.
  • Compare the tutorial screenshots with the client version you installed.
  • Use platform logs or permission panels when the GUI looks normal but traffic has a problem.

Recommended handling

Keep the troubleshooting path narrow: confirm the profile, confirm the selected node, test Rule mode, read the log, then change only the setting that matches the observed status message.

Practical notes

  • Change one setting at a time so the result is attributable.
  • Use logs and timestamps when asking for provider or community support.