Android How to ensure that the service works in emergency power mode, or restart it when you exit this mode?
There is an example of a non-killed service - Non-killable Android Service (Boot, Foreground, Sticky)
It works well, but when the emergency power mode is turned on, the service terminates, how can this be avoided or to ensure automatic restarting after the emergency mode exits?