View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0019496 | MMA | UI (general) | public | 2022-10-25 16:04 | 2023-01-23 15:06 |
Reporter | martin | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Android | OS | - | OS Version | all |
Product Version | 2.0.0 | ||||
Target Version | 2.0.0 | Fixed in Version | 2.0.0 | ||
Summary | 0019496: New option "Disable system battery optimization" | ||||
Description | Battery optimization causes several issues (suttering, stopping UPnP playback etc.) There are three ways how to disable battery optimization. 1)Go to System/App & notifications/MediaMonkey/Battery/Battery optimisation then tap the combo box at the top and change it to All app, then find MediaMonkey again from the list, tap it and then choose "Do not optimized" In Android 13 there is also a way via AppInfo/Battery/ and user can directly tab on "Unrestricted" Or we can add a new option e.g. to the "General" section called as in BubbleUpnp "Disable system battery optimization" This option can be implemented in two ways: 2)A) Just like as in BubbleUpnp. It means using intent Settings.ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS which redirects the user to "Battery optimization". However, the user still has to toggle through the list of apps, search for the app, and then select "Do not optimize". There is a lot of explaining what the user is actually supposed to do. Or 2)B) use request Settings.ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS (requires "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" protection level is normal so this is not problem). This request directly asks a user to change battery optimization for MMA to be "Unrestricted". This is the simplest way for users and I prefer it. See screenshot. | ||||
Tags | No tags attached. | ||||
Fixed in build | 1053 | ||||
related to | 0019712 | resolved | martin | Casting (UPnP) often stops (even with Pro) |
related to | 0018045 | new | martin | Upnp playback with unstable connection |
related to | 0019727 | closed | martin | Battery optimization status isn't displayed / updated |
related to | 0019728 | closed | martin | Battery de-optimization doesn't work correctly subsequent to initial configuration |
related to | 0019751 | closed | martin | Battery de-optimization doesn't work on some versions of Android |
|
|
|
The 2)B) Option will be visible only when the app is battery optimized(Cannot be used to re-enabled optimization). |
|
2)B) is implemented in build 1031 (Options/General). Anyway text of the option should be updated to next build: Disable system battery optimization -> Ignore system battery optimization details -> Removes this app from battery optimization app list. Highly recommended for proper playing in background and when screen off. |
|
Re-opening since the issue is yet to be resolved. |
|
Text updated to: Allow MediaMonkey to run in the background This prevents Android from closing MediaMonkey when it is playing in the background. Fixed in build 2.0.0.1053 |
|
Documentation notes: This setting can be used if playback stuttering is observed after MM has been running in the background for awhile, especially for network playback (casting, UPnP playback). Note though, that according to https://developer.android.com/training/monitoring-device-state/doze-standby an app that has an active notification in the drawer shouldn't go into standby. |
|
Verified 1060 for Android 9, 11, 12, 13. Leaving 'Resolved' for verification on Android 8. Remaining issues are tracked at 0019727 , 0019728. |
|
Verified 1062 Android 8, 9, 10 |