Application Terminates When Sent to Background
How to Fix Android apps restart if you minimise it or switch to another app.
Introduction
Some users experience their applications being terminated when the phone goes into the background. This issue can lead to apps restarting when reopened, causing loss of progress or data. The problem is often related to phone settings that optimise battery or memory performance by automatically closing background applications.
Solution
To prevent applications from being terminated when sent to the background, users need to disable the setting that optimises battery or memory performance on their Android phones.
Guidelines
Users can manage these settings directly from their Android phone settings. The behavior might differ across devices due to various reasons, such as:
Memory Management:
- On low-end Android devices, there is a mechanism that automatically closes background apps to free up system resources.
- When you minimise an app, it may be closed to allocate more memory to the foreground app.
- Consequently, when you reopen the minimised app, it restarts from the beginning.
Device-Specific Issues:
- Certain Android devices and OS versions may have specific issues with app management.
- Some users report apps restarting when switching apps or pressing the home button, often due to RAM management problems.
Solutions and Steps
To address the issue of apps restarting when minimised, consider the following solutions:
- Clear App Cache:
- Go to Settings > Apps > [App Name] > Storage > Clear Cache.
- Clearing the cache removes temporary files that might be causing conflicts.
- Disable Battery Optimization:
- Go to Settings > Apps > [App Name] > Battery > Battery Optimization.
- Choose All Apps, find [App Name], and select Don't Optimise.
- Update the App:
- Check the Google Play Store for updates for the affected app.
- Developers frequently release updates to fix bugs and enhance app performance.
- Restart or Reset the Device:
- Sometimes, a simple restart can resolve temporary glitches.
- If problems persist, consider resetting your device to factory settings. Remember, this will erase all data, so back up important information beforehand.
- Check 'Deep Clean' and Developer Options:
- Some phones have a 'deep clean' option that releases all memory associated with an app when minimised.
- To check this, go to the Developer Options on your phone. If 'deep clean' is enabled, disable it.
- Ensure the 'Don't keep activities' option is turned off.
By following these steps, users can resolve issues with applications restarting when sent to the background and improve overall app performance.