![Stack Overflow](http://sstatic.net/stackoverflow/img/apple-touch-icon.png)
I have Android application which is Sales Rep application.When he using the app first need to show the notification like your battery level is 10% ..., then after 2 minutes if he doesn't plug the power , it authomatically need to shut down the device.
I have created like this
public clas...