Why does a background app stop running on Android?
Last reviewed: September 23, 2026 · Markdown version
Android defers background work on purpose. Doze reduces battery consumption by deferring background CPU and network activity for apps when the device is unused for long periods, and App Standby defers background network activity for apps with no recent user activity. An app that promised to do something while you were not looking may simply have been told to wait.
Doze, and the maintenance window
Android's own description of Doze is worth reading slowly: it "reduces battery consumption by deferring background CPU and network activity for apps when the device is unused for long periods of time", and "It also prevents apps from accessing the network and defers their jobs, syncs, and standard alarms". The same page is explicit about scheduled work: "WorkManager uses JobScheduler internally, so WorkManager tasks don't run" while those restrictions apply (Optimize for Doze and App Standby, read 23 September 2026).
Work is not cancelled, it is queued: "Periodically, the system exits Doze for a brief time to let apps complete their deferred activities. During this maintenance window, the system runs all pending syncs, jobs, and alarms, and lets apps access the network." So a job due at 3 a.m. on a phone left on the bedside table can wait for the next window rather than running at 3 a.m.
App Standby, and the second brake
Beside Doze sits App Standby, which "defers background network activity for apps with no recent user activity". Android assigns each app to a priority bucket, and "the bucket determines how frequently the app's jobs run and how often the app can trigger alarms"; those restrictions "apply only while the device is on battery power" (App Standby Buckets, read 23 September 2026). The buckets are their own subject.
Why apps do not simply ask to be exempt
Because Play restricts it. The Doze documentation states it flatly: "Google Play policies prohibit apps from requesting direct exemption from Power Management features—Doze and App Standby—in Android 6.0 and above unless the core function of the app is adversely affected." The same page says most apps can instead open the battery-optimisation settings screen and leave the choice to you — "Users can manually configure the list of exempted apps in Settings > Battery > Battery Optimization."
Phone makers also have a say. The App Standby documentation notes: "Every manufacturer can set their own criteria for how non-active apps are assigned to buckets." That is one reason the same app can behave differently on two phones bought the same week.
Where Adinand Auto File Sorter fits
Background sorting is its Pro feature, and it is scheduled through Android's own WorkManager with no constraints on charging or network — and with no wake lock and no battery-optimisation exemption permission. So the app does the next best thing and watches itself: a health indicator reports when the system has not let the job run, with a help sheet pointing to the battery settings on Xiaomi, Oppo, Vivo, Realme, OnePlus and Samsung phones. Intervals of every 15 minutes, every hour, every 6 hours or once a day are what you ask for, not what Android promises, and one tap on Sort Now still sorts the folders you watch, whenever you like.