Is it possible to check battery level while our application is in background?
Currently I am working on one iOS application in which user will be alerted when battery reached to certain level.
I have searched on google/stake overflow . but find none of the useful. I can determine the battery level while application is in foreground state. But we all know that apple does not allow application to be run in background.
So My question is how can I get the current battery level event even if my application is in background.
Here is the similar application. Its a paid application. But by seeing screenshot, you will get the idea want I trying to say.
https://itunes.apple.com/it/app/battery-alert!/id416283462?mt=8