I have a problem with my Android tablets (Samsung Note P-900, P-905), my customers often turn off the electricity in their shops and tablets are discharged, and of course they don't turn on again. I found a solution to turn it on automatically when they are plugged in, unfortunately, that is not enough. I need to run it when the battery level exceeds level about 5%. This is my code for auto turning on:
#!/system/bin/sh
su
/system/bin/reboot
I put these 3 lines into /system/bin/lpm (can be different filename in other versions). So, friends, do you know how to run Android when battery exceeds some level?
Thanks in advance.