Why phones drop off
Android is built to put idle apps to sleep. With the screen off, the system limits background work, defers network access and may stop an app it considers unused. That is the right behaviour for most apps and the wrong one for a proxy that has to answer at any moment.
The FalconProxy app runs as a foreground service, which is why it keeps one notification on screen, and it asks to be left out of battery optimization. On many phones that is enough. On others the maker adds a second layer that closes background apps regardless, and you have to change a setting by hand. The Android documentation describes the system’s own limits, and the Don’t kill my app project lists what each maker adds.
The checklist
Menu names vary by Android version and by phone maker. If a name below is missing, search the phone’s settings for the same words.
Leave the app out of battery optimization
Allow the prompt the app shows. To check later, open Settings, then Apps, then FalconProxy, then battery, and choose Unrestricted or the closest option, such as Don’t optimize.
FalconProxy · Battery
App battery usage
- UnrestrictedUses battery in the background without limits
- OptimizedSaves battery based on how you use the app
- RestrictedLimits background activity
On a Pixel and other near-stock phones the setting is called App battery usage. Other makers name it differently; the table below lists where to look. Keep notifications on
The notification is how Android knows the app is doing visible work. Do not turn it off, and do not swipe the app away from the recent apps list.
Allow background data
Turn off data saver for the app, or add it to the list of apps that may use data when the screen is off.
Turn off automatic sleep for the app
Some phones put apps that you have not opened for a while to sleep. Switch that off for FalconProxy, or add the app to the list of apps that never sleep.
Keep the phone on power
A proxy that runs all day uses battery. Leave the phone on a charger that can keep up, and read the section on power and heat below.
Watch updates and restarts
System updates restart the phone. Install them on your own schedule, when you can open the app afterwards and check that the phone is back online.
Extra settings by phone maker
| Phone maker | Where to look | What to set |
|---|---|---|
| Google Pixel and other near-stock phones | Settings, Apps, FalconProxy, App battery usage. | Unrestricted. |
| Samsung | Settings, Battery, Background usage limits. | Add FalconProxy to the apps that never sleep, and turn off the option that puts unused apps to sleep. |
| Xiaomi, Redmi and POCO | Settings, Apps, Manage apps, FalconProxy, Battery saver, and the Autostart list. | No restrictions, and allow Autostart. |
| OPPO, OnePlus and realme | Settings, Battery, App battery management, or Apps, FalconProxy, Battery usage. | Allow background activity. |
| Huawei and Honor | Settings, Battery, App launch, FalconProxy. | Manage manually, then allow auto-launch, secondary launch and running in the background. |
These menus change between versions. If yours differ, search the settings for “battery optimization” or “background”, or look up your phone on the project page linked above.
Power and heat
- Use the charger and cable that came with the phone, or a good replacement. A weak charger can leave the battery draining while it is plugged in.
- Give the phone air. A phone under a pillow or in a closed drawer gets hot, and a hot phone slows down and ages its battery faster.
- If the phone offers a setting that stops charging at 80 or 85 percent, turn it on. It reduces wear on a phone that stays plugged in.
- Replace a battery that has swollen, and do not keep a swollen phone plugged in.
Signal and plan
- Put the phone where the signal is good. A spot near a window is usually better than the middle of a building.
- On a dual SIM phone, choose the SIM that carries mobile data, and check that it has a data plan.
- Check your plan’s allowance and its fair-use rules. After heavy use some plans slow the connection down, and the proxy will be as slow as the connection.
- If the phone is on Wi-Fi, check that Wi-Fi stays connected with the screen off.
Tell when a phone drops off
The dashboard shows it. A proxy whose phone is offline reads Interrupted, and the page says that the linked device is offline. The phone’s page shows its battery level and its network. If you manage proxies from code, the status is also in the API; the API quickstart shows how to read it.
Live
The phone is online and traffic can flow.
Interrupted
The linked phone is offline, or its traffic is switched off.
Off
The proxy is switched off, or not linked to a phone.
If it keeps dropping
- Open the app and check that it shows the phone as connected. If it does not, sign in again.
- Check the battery settings above, including the maker’s own list.
- Restart the phone and open the app once. Some makers only apply a setting after a restart.
- Update Android and the app, in that order.
- If the phone still drops, use a different phone. A phone kept for this job, with nothing else installed on it, is the steadiest setup.