티스토리 뷰
[Other vendors] Take the following actions when your app is not working
똘켓 2019. 7. 14. 23:04AOSP (Pixel, Nexus...)[Other vendors]
Take the following actions when your app is not working
Look for any vendor-specific battery saver on your device and ideally uninstall if possible, disable if possible.
Look through the vendor-specific phone settings and search for anything related to battery optimization or background processing.
If you find it try to disable it.
Android 8+
Check if Phone settings > Apps & Notifications > Your app > Background restrictions or Background limits are not enabled for the app.
If all fails you can turn Doze mode off completely.
Turn off doze on Android 6.0 and earlier
In Settings > Developer options. (If you don’t know how to enable developer options, Google should help.)
Turn off doze on Android 7+
Android 6+
Always check the following setting Phone settings > Battery & power saving > Battery usage > Ignore optimizations > Turn on to ignore battery optimization for your app.
TROUBLESHOOTING (DEVICE RESTRICTIONS)
What to do if the app does not work
Device restrictions
On some devices (Xiaomi, Huawei, Honor, Meizu, Oppo, Vivo...) you may need to enable additional permissions or disable certain restrictions.
- Run in background (Enabled)
1. [App Info] - 2. [Battery Usage] - 3. [Allow background activity]
Or
1. [App Info] - 2. [Power Saver] - 3. [Allow Background Running]
Or
1. [Settings app] - 2. [Installed apps] - 3. [Select the desired app] - 4. Other permissions under [Permissions] - 5. Set [Start in background] to [On]
Or
1. [Security app] - 2. [Permissions] - 3. [Permissions] - 4. [Select the desired app] - 5. Set [Start in background] to [On]
Or
1. [Security app] - 2. [Permissions] - 3. [Run in background] - 4. [Select the desired app] - 5. [Keep running in background] - Autostart (Enabled)
1. [Security app] - 2. [Permissions] - 3. [Autostart] - 4. Enable [Select the desired app]
Or
1. [Settings app] - 2. [Apps] - 3. [Permissions] - 4. [Autostart] - 5. Enable [Select the desired app]
Or
1. [App Info] - 2. Enable [Auto Startup] - Battery Saver (No restrictions)
1. [Settings app] - 2. [Battery] - 3. [Battery saver]-[Choose apps] - 4. [Select the desired app] - 5. Select [No restrictions]
Or
1. [Security app] - 2. [Battery] - 3. [App battery saver] - 4. [Select the desired app] - 5. Select [No restrictions] - Adaptive Battery (Off)
1. [Settings app] - 2. [Battery] - 3. [Adaptive Battery] - 4. Set [Use Adaptive Battery] to [Off] - Battery Optimization (Off)
1. [App info] - 2. [Battery] - 3. [Battery Optimization] - 4. [All apps] - 5. [Select the desired app] - 6. [Don't optimize]
Other issues
Some apps (Speed Booster, Cache Cleaner, RAM Cleaner, Antivirus, Battery Saver...) may restart running services to free up resources.
These apps could even kill running services.
This extremely aggressive behavior could compromise the functioning of this app.
Whitelist this app if you are using one of these apps.
General issues
- Make sure the service is enabled
- Some systems may block the execution in the background. Check the system settings
- Some antiviruses may block execution in the background. Check the security settings of your antivirus
- Check the system security settings
- Check that the system has not denied permissions to the app
- If none of above apply, try reinstalling the app
출처 : Don't kill my app!