diff --git a/_vendors-content/general/user.md b/_vendors-content/general/user.md index a428136a..ecf9b763 100644 --- a/_vendors-content/general/user.md +++ b/_vendors-content/general/user.md @@ -3,49 +3,49 @@ manufacturer: - general --- - ## Android 6+ +### Android 6+ - Always check the following setting: +Always check the following setting: - - on older devices:
- _Phone settings > Battery & power saving > Battery usage > Ignore optimizations > Turn on_ to ignore battery optimization for your app. +- on older devices:
+_Phone settings > Battery & power saving > Battery usage > Ignore optimizations > Turn on_ to ignore battery optimization for your app. - - on newer devices:
- _Settings > Apps > Your app > Battery > Optimize battery usage > All (from the top) > Your app_ (toggle to disable). +- on newer devices:
+_Settings > Apps > Your app > Battery > Optimize battery usage > All (from the top) > Your app_ (toggle to disable). - ## Android 8+ +### Android 8+ - Check if **Phone settings > Apps & Notifications > Your app > Background restrictions** or **Background limits** are not enabled for the app. +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. +If all fails you can turn Doze mode off completely. - ## Turn off doze on Android 6.0 and earlier +## 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.) +In **Settings > Developer options**. (If you don't know how to enable developer options, Google should help.) - ## Turn off doze on Android 7+ +### Turn off doze on Android 7+ - Requires expert skills +Requires expert skills - `dumpsys deviceidle disable` +`dumpsys deviceidle disable` - ## If all fails +### If all fails - Look for any vendor-specific battery saver on your device and ideally uninstall if possible, disable if possible. +Look for any vendor-specific battery saver on your device and ideally uninstall if possible, disable if possible. - If not, you are left with the option to root your device or uninstall it though **adb** (requires some expert skills though): +If not, you are left with the option to root your device or uninstall it though **adb** (requires some expert skills though): - `adb shell` +`adb shell` - `pm uninstall --user 0 com.useless.piece.of.trash` +`pm uninstall --user 0 com.useless.piece.of.trash` - 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. +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. - Try the generic approach below as some vendors tend to hook more fuctionality into this than AOSP +Try the generic approach below as some vendors tend to hook more functionality into this than AOSP - **Phone settings > Battery & power saving > Battery usage > Ignore optimizations > Turn on** to ignore battery optimization for your app. +**Phone settings > Battery & power saving > Battery usage > Ignore optimizations > Turn on** to ignore battery optimization for your app.