My app when it is a time in foreground execution on mobiles Huawei shows a notification of high power consumption, that after pressing it, the app is closed, how can I prevent it from closing? or how can I start it again?
I have seen that it does not pass through the onDestroy method or onTaskRemove.