Page 1 of 1

Slow Scanning when screen locked

Posted: Wed Apr 25, 2018 1:52 pm
by ivmden
Device: LG V30
Behavior noticed after upgrade to version released on April 21, 2018.

Scan times of 38 to 45 seconds observed.

Are there any diagnostic files I can pull from my phone to upload to help with debugging?

Re: Slow Scanning when screen locked

Posted: Thu Apr 26, 2018 3:58 am
by bobzilla
We didn't change how scanning is done, so has it always been that long? Or this is coincidental with something else.

Re: Slow Scanning when screen locked

Posted: Thu Apr 26, 2018 4:21 pm
by ivmden
Interesting. I only got the phone a week ago, so I don't have a lot of data to go on, but I did notice a massive drop in scan time after the upgrade.

To be more specific, the slowdown only seems to happen in areas of very dense networks (like downtown <CITY WHERE I WORK>) and when I am on foot (like when I take my lunchtime walk).

Scan times seem fine while driving to and from work.

I'll try and gather some more details over the next week.

Re: Slow Scanning when screen locked

Posted: Thu Apr 26, 2018 9:20 pm
by ivmden
I did some testing while walking to the mailbox here at home today. Contrary to my previous statement, network density does not seem to matter.

It took me a little while to get the hang of the screenshots, but once I did, I was able to reproduce the slow scans very regularly. Please see attached photos.

Re: Slow Scanning when screen locked

Posted: Thu Apr 26, 2018 9:23 pm
by ivmden
photo set 2

Re: Slow Scanning when screen locked

Posted: Thu Apr 26, 2018 9:29 pm
by ivmden
Last photo

Re: Slow Scanning when screen locked

Posted: Fri Apr 27, 2018 7:50 am
by arkasha
well, that's grim.

As a point of comparison, do you happen to have the older phone, and can it run the new version of WiWiWa? It would make a check/rule out environmental-local elements (and isolate it to phone model/OS version/other device-specific factors).

Thanks for the detailed info and sorry for the trouble.

-ark

Re: Slow Scanning when screen locked

Posted: Fri Apr 27, 2018 7:55 am
by arkasha
one weird idea:

in more recent versions of android, the operating system has increased authority to "background" tasks even when they create ongoing services.
Exact instructions differ based on OS and vendor, but can you try turning off battery saving for WiGLE and see whether that solves the problem?

If that does, this indicates that the OS is aggressively optimizing (not the case in all devices/OS revs, but it would be good to start finding any/all where it does)
If it doesn't this suggests that perhaps the slow down is at the driver/radio level.

Cheers,

-Ark

Re: Slow Scanning when screen locked

Posted: Fri Apr 27, 2018 1:06 pm
by ivmden
The phone is running Android 7.1.2. The kernel version is 4.4.63.

I have an old tablet I can spin up, it may take a while to get it up to speed.

I've set the scanner app to not be power throttled.

This is my first real adventure into the world of Android, I've been an iPhone user for 6 or 7 years now.

Re: Slow Scanning when screen locked

Posted: Fri Apr 27, 2018 1:15 pm
by ivmden
And just saw a 15.98 second scan time. I'll spare posting the photos this time.

I'm signed into the IRC under the same username, and will keep an eye on it all day. If you have any ideas and want to try debugging faster, feel free to reach out.