Monitoring android battery
<p>Similar to this <a href="http://stackoverflow.com/questions/13512698/remaining-time-to-battery-discharge-on-android">link</a></p>

<p>I would like to know it if possible to somehow track battery even when my application is not turned on?
My main aspects would be:
1) To get when battery was charged last time and how many %(level) it had then.
2) How many %(level) battery has discharged from its last time being charged.</p>

<p>My goal is: calculate roughly maybe, everytime battery level goes down with 1%. calculate how long it took to drop 1% then look how much % their is left. and do this check every 1%? Then I will be able to calculate time that is left for this battery :)
Any help will be appreciated. :)</p>
