READ BEFORE DOWNLOADING!
Huawei users only!
Because Huawei phones have a process in them that is called
This process launches automatically when the battery of your Huawei phone is 2%. And it says that your phone will turn off in 30 seconds.
I do not know if other phones have the process called com.mediatek.batterywarning.ShutdownScheduleActivity
But this should work on a Huawei phone.
TESTED ON A Huawei Y6 (2017 Model)
Rate and review within the app in the Community section.