Keep wifi alive

mc73

Well-Known Member
Licensed User
Longtime User
In some devices I'm currently testing, I've noticed that the setting 'wi-fi sleep policy' is missing. Thus, they tend to lose wifi connection when they get into sleep or sometimes even with screen on, so I am wondering whether we can prevent 'sleep' by code in a service, since this is extremely important in the current app I'm developing.
I've seen the PhoneLib, in particular the 'PhoneWakeState' method, so I'm wondering if this can be used in order to acomplish this. Any idea on this? Thank you.
 

mc73

Well-Known Member
Licensed User
Longtime User
Well, searching for this thing, I've found out it is not just a 'sleep policy' problem, but it goes deeper. So, I guess my thought is probably wrong. Please consider this thread 'answered'.
 
Upvote 0
Top