Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Determine where app is draining battery?

My app is draining a lot of the battery, but I don't know what in my app could be causing this. What is a good way for me to determine what part of my app is causing such a huge drain on the battery?

EDIT :
So I found out my Location Listener was not being unregistered, and I fixed that.

like image 800
Hank Avatar asked Jan 19 '26 13:01

Hank


1 Answers

See Profiling with Traceview and dmtracedump

You may also find CPU Spy useful

like image 50
Earl Avatar answered Jan 21 '26 03:01

Earl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!