Если у вас нет четкого понимания на каком аппарате, с конкретной оболочкой, с конкретной версией ОС - решения можно искать
Для всех типов облочек и всех версий ОС, для всех аппаратов - нет
Open the Settings app and tap Battery. Tap the Options menu button (the three dots in the upper right), then tap Battery optimization. Tap the downward-pointing arrow, then tap All apps from the menu that appears.
Next, tap the name of the app for which you want to switch off Doze mode, and in the box that appears, tap Don’t optimize. Once you’re done, tap Done.