Page 2 of 2

Re: WiFi Scan result avaible - issue

Posted: 02 Jul 2019 17:39
by StrayCat
Same here.

Tons of flows aren't reliable anymore on my Huawei Mate 9 Pie.

Regards.

Re: WiFi Scan result avaible - issue

Posted: 02 Jul 2019 18:01
by Marfo
I look closely on all permissions, Automagic is excluded from battery optimization, can work in background, is device admin, wifi scanning is on etc. I don't know what can I do more, everything is like on Anrdoid 8, but in night when phone is not used Automagic don't get wifi scan results.

Re: WiFi Scan result avaible - issue

Posted: 04 Jul 2019 09:36
by xpdev
If phone is not active it don't get scanning results, it's just empty.
Yes, i think this is right.

The question is: It's an Android 9 issue or Automagic need an update to workaround this ?

Re: WiFi Scan result avaible - issue

Posted: 05 Jul 2019 05:42
by Marfo
I have made a simple flow. Trigger - Wifi Scan results available and then write to file with date and list of ssids. It looks like if phone is inactive for some time, trigger is starting flow but the list of ssids is empty. When I wake up phone, list of ssid starts to appearing. Question as above, where is the problem in Pie or in Automagic?

Re: WiFi Scan result avaible - issue

Posted: 06 Jul 2019 17:12
by Desmanto
Maybe it is restriction from android pie above. Where the device won't give any wifi scan result when in doze mode. If you have root, you can try to use action Exit Device Idle/Doze mode periodically. See if the wifi scan result have the result again after exit from doze. But a simple periodic timer should have wake the device. Maybe you should wake the phone once in a while during certain interval.

Re: WiFi Scan result avaible - issue

Posted: 06 Jul 2019 20:11
by Martin
Maybe it's caused by the throttling introduced by Google on Android 9+. Here's a good article about this: https://www.xda-developers.com/android- ... ling-apps/

Unfortunately there's usually no way to fix such issues and often no workaround exists since Google deliberately introduces such changes.

Huawei is also known to add battery saving features. This page lists some known issues often encountered on the popular devices and some workarounds: https://dontkillmyapp.com/

Regards,
Martin

Re: WiFi Scan result avaible - issue

Posted: 09 Jul 2019 19:40
by Marfo
Desmanto wrote:
06 Jul 2019 17:12
If you have root, you can try to use action Exit Device Idle/Doze mode periodically.
Unfortunately I still not have root on my S8, and this mentioned action requires root access. After warranty I will sell this device or root it, but at this time I don't want to lose warranty.

Re: WiFi Scan result avaible - issue

Posted: 09 Jul 2019 19:53
by Marfo
Martin wrote:
06 Jul 2019 20:11
Maybe it's caused by the throttling introduced by Google on Android 9+. Here's a good article about this: https://www.xda-developers.com/android- ... ling-apps/
I think that you are right. Problem is also with trigger WiFi scan results available. I think that if there is no results of scan it should not start. Right now it get results with 0 WiFi SSID's, so all conditions/actions related with WiFi scan behave like there is no any WiFi available and it not works properly. I use WiFi scanning to know at what location my phone is. It was quite good for battery, accurate and it gives fast results. Right now it is hard to use. Maybe you have some ideas how to make it to work better 🙂.

Re: WiFi Scan result avaible - issue

Posted: 10 Jul 2019 10:15
by StrayCat
Without WIFi SCANN RESULTS this app is useless for me unfortunately.

Re: WiFi Scan result avaible - issue

Posted: 12 Jul 2019 07:50
by xpdev
StrayCat wrote:
10 Jul 2019 10:15
Without WIFi SCANN RESULTS this app is useless for me unfortunately.
unfortunately it's google's fault, see post above from martin