I am developing an application for a Nokia mobile device using J2ME. I am doing software testing now, my question is about is there any tool or methodology that enables me to measure battery drain rate of my application when it is running? i.e. how many hours or minutes the battery of the mobile device should stay when my application is running?.
1 Answers
2
votes
Admittedly I know nothing about J2ME, but if there's a way to query the amount of battery power remaining you could simply poll that value at a set interval and then extrapolate the amount of time it would take to get to 0% remaining?
EDIT It looks like the property to access the battery percentage is:
System.getProperty("com.nokia.mid.batterylevel");
Source: Nokia Dev Docs