Domi04151309 / AlwaysOn

AlwaysOn is an app for every device with an OLED display. It adds an always-on display with various customization options regarding watch face, behavior, and background.
https://f-droid.org/packages/io.github.domi04151309.alwayson
GNU General Public License v3.0
177 stars 38 forks source link

[Feature Request] more stability in background #99

Open islam2hamy opened 9 months ago

islam2hamy commented 9 months ago

Describe the solution you'd like

Using this permission will make app more stability in background

android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS

JohanAR commented 6 months ago

I'm not very experienced with Android development, but isn't this handled automatically by the existing ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS intent? Found some post saying that a few very old phones required both, but also that adding REQUEST_IGNORE_BATTERY_OPTIMIZATIONS to the app manifest will get you banned from Google Play Store so it sounds like it might not be the ideal way to do it.

islam2hamy commented 6 months ago

Hello

isn't this handled automatically by the existing ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS intent? Found some post saying that a few very old phones required both,

No

but also that adding REQUEST_IGNORE_BATTERY_OPTIMIZATIONS to the app manifest will get you banned from Google Play Store so it sounds like it might not be the ideal way to do it.

This is a list on my phone with this permission

Screenshot_٢٠٢٤-٠٥-١٣-١٩-١٣-٤٦-٩٢٧_eu darken myperm-edit