I have a Android application which i use almost all the sensors and some heavy computation algorithms. It drains out the battery in 4,5 hrs. But i need to find out which sensors or CPU users the battery? And application or any mechanism to know this?
Share
I don’t know of any app that measures sensor-specific battery drain, but to measure drain per app, the following options could work:
Settings→System→About Phone→Battery usage.If you’d like to program your own drain-per-sensor-monitor, you could refer this question, regarding the API-function
getPower(), which shows power consumption per sensor.