I have built a navigation app (android and iOS)
I want to automatically\manually test its battery consumption while navigating from A to B.
And compare it to the battery consumption of external apps like Google maps.
How would you advise me to do so?
For external application I usually use
appiu for ui automating. But it requires connecting to a computer with a USB which charge the battery as I test.
android I know I can use
robotium and disconnect the smartphone from data-charging USB. But then how can i test the battery consumption?
iOS - what is the equivalent to
robotium or in general, how would you test it?