How do you test the battery consumption of a mobile app?

TechnicalMobile TesterQA EngineerSoftware Tester