Background wifi scanning (stumbler)

(Not sure if this is a user issue, an /e/ issue, an android issue or a fairphone issue. Pardon me if I picked wrong.)

I’m trying to use neostumbler on my FP3 with 2.8 T (Android 13), but whenever the screen locks, no wifi networks are ever seen. Based on the in-app map, location is updated and cell towers are discovered. If I keep the phone unlocked it works fine, but the longest I can do that w/o intervention is 30min. Is it possible that wifi scanning is disabled in the background, even for apps that have been granted full location access? Am I missing a setting to allow it?

Thanks much!

For the tape, if anybody has the same problem, I found this:

Wifi near scanning doesn’t work when screen is off

Which suggests that a setting called “Wi-Fi scan always available” should be switched on. I don’t see that on my phone, so it’s probably an O/S limitation at this point. I installed caffeine, as the issue suggested as a workaround.

On 2.9-a14-20250323478433-community-ocean, using the Search facility of Settings, I find two mentions of Wi-Fi scanning as

… I guess the one you need is

For me NeoStumber collects with no problems.

Are you on a FP3? Looks like you’re on A14 (I’d hoped not to do the upgrade until it could be done OTA). I have “wifi scanning” on as well, but it only collects when unlocked.

No, my build_version_string confirms Android 14, and the phone is a Motorola ocean.

I think this is likely unchanged by Android 14 and has been like this since about Android 10.

When you toggle Wi-Fi scanning on and off does it reveal the same message as my image including text similar to “allow apps to scan for networks at any time” ?

Exactly the same (I don’t need to toggle anything, it’s permanently shown below the toggle). Maybe the default behaviour is hardware specific.

Maybe … I was wondering if there might be anything specific in the screen lock method you use? … or the method used by Fairphone (??)

If you run with no screen lock … only switch off display … or any other options … I am thinking within the lock might make a difference (??)

The plot thickens. Tried setting lock screen delay to 30min, and “screen timeout” to 15sec. Would’ve seen an excellent strategy for <30min scans on battery. Sadly, it seems to stop detecting wifi when the screen blanks. Quite odd. I think it’ll be caffeine going forward.