Recording the battery level of the device at regular intervals?

I am relatively new to using and I was trying to create a very simple app that would keep a record of battery levels in the background while other apps are being used. I know that a battery life API is available, but I have no idea where to start in accessing that or using it. Any assistance is greatly appreciated. Thanks...
1 person has
this question
This topic is no longer open for comments or replies.