openbmap / radiocells-scanner-android

WLAN and cell tower scanner for Radiocells.org
https://www.radiocells.org
Other
55 stars 26 forks source link

high battery use even after scanning session is completed. #178

Open gdt opened 7 years ago

gdt commented 7 years ago

With external power, start a scan. Run it for 10-30 minutes. Stop the scan (hitting the floppy disk icon) and upload the sessions. (Autodelete is on, but I don't think that matters.) Hit the back button to return to the home screen. Observe that the GPS icon goes out, as expected. Disconnect external power.

My expectation is that battery usage will be normal. Instead, battery seems to drain pretty fast. Rebooting the phone returns battery usage to normal. This is bad enough that I am in the habit of rebooting my phone after a scan session if I don't expect to start another one in a few hours.

0.8.18 from f-droid, nexus5, CM 13.0.

I also see higher battery use after any app that uses GPS. But, subjectively, this is much worse. I have not taken real data or ran adb.

(Note that this bug report is specifically about battery usage when scanning is stopped and basically nothing should be happening.)