Sleeps at wifi

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Sleeps at wifi

Post by digitalstone » 06 Nov 2018 08:33

Sometimes when i switch from mobile to wifi while the phonescreen is off. A signal only gets through as soon as i turn on the screen.
Could it be that there is some sleep event at place?
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Sleeps at wifi

Post by Desmanto » 07 Nov 2018 01:59

Maybe the setting keep wifi during sleep is off? Try to see at the wifi advanced setting.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Re: Sleeps at wifi

Post by digitalstone » 07 Nov 2018 08:30

Already checked that one. It's just on. But i expect wifi being able to make a connection when just have switched from mobile.
Maybe it has something to do with Nexus 5X itself. I think i'll look that up later.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Sleeps at wifi

Post by Desmanto » 08 Nov 2018 05:39

Try to add a condition to check whether the wifi is connected immediately after you switch to wifi. Log this into a variable whether it is connected or not. It is possible that the phone supress the network change until the next screen on. In that case, you might need to add additional action turn screen on after the switch.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Re: Sleeps at wifi

Post by digitalstone » 08 Nov 2018 22:07

Apparently it is not Nexus 5X related. It does make WiFi connection.
It just does not ping the router.

It appears that still the VPN remains a villain factor. It has trouble creating the private secure tunnel while accessing the local network.
Thanks Desmanto, i know what to do know :)

-- EDIT --
Until i don't... technical difficulties never stop... i'll be begging for answers again :(
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

Post Reply