You mount a phone as a security camera, it works great for a day, and then you check the dashboard and it says Offline — even though the phone is sitting right there, screen off, doing nothing wrong. Nine times out of ten, this isn't a bug in the app. It's Android protecting its own battery, and it doesn't ask first.
Since Android 6.0, every phone runs a background power-management system called Doze (plus a related feature, App Standby). When a phone has been stationary and idle for a while — sitting on a mount, screen off, not being actively used — Android assumes nothing important is happening and starts suspending background work to save battery: network access gets throttled, background services get paused, and wake locks get ignored.
That's exactly the opposite of what you want from a phone that's supposed to be a camera, not a phone. A security or dashcam app needs to keep its background service alive and keep posting "I'm still here" signals over the network continuously — and Doze is specifically designed to stop apps from doing that.
The frustrating part is that it doesn't happen every time. A phone that's plugged in and actively charging is usually exempt from the more aggressive Doze restrictions, so it can run for weeks without a hiccup. The same phone running on battery, sitting still, can get throttled within hours — which makes the problem look random or hardware-specific when it's actually a predictable OS policy kicking in under specific conditions (unplugged, stationary, screen off, idle).
This is also why a "restart the app and it works again" fix doesn't actually fix anything — it just resets Android's idle timer for a while.
Every Android phone has a battery-optimization exemption list — apps that are allowed to ignore Doze and keep running normally in the background. Any camera app worth using should request to be added to that list automatically the first time you set it up. You can also check or set it by hand:
That single toggle is the difference between a phone that silently drops offline every few hours and one that runs reliably for weeks unattended.
An app that's serious about running as an unattended camera shouldn't leave this entirely up to you finding a buried settings menu. It should ask for the battery-optimization exemption directly, at setup, with a plain-language explanation of why — the same permission dialog Android itself provides for exactly this purpose (Settings.ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS, for anyone comparing apps by what they actually do under the hood). RSC requests this automatically when you set up a phone as a camera; if you ever manually revoke it or move to a new phone, the fix above is the manual path back.
If your phone-as-a-camera setup keeps going "Offline" for no obvious reason, don't assume the hardware or the app is broken — check Settings → Apps → [your camera app] → Battery → Unrestricted first. It's a five-second fix for what looks like an unpredictable, hard-to-diagnose problem.
Setting up your first phone as a camera? Start with turning an old phone into a security camera, or see how dashcam mode handles this differently in the best dashcam app, front and rear.
Want a camera app that handles this for you? Download RSC at realsecuritycamera.com →
Turn phones you already own into security cameras for $0/month.
Get started free →