kailIII / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

WIFI turned off after sending the first notification #210

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've WIFI Power Manager running in my phone, which will 
1. turn on WIFI when AC plugged and turn off when unplugged. 
2. Force WIFI Lock = "On"
Which is running as expected.
Then I installed the notifier and set Auto enable WIFI to "off" and WIFI sleep 
policy to "Never".
Initially my Wifi is Off. Then I plugged to computer through USB. The Wifi is 
on and then I got a notification saying the battery status then the Wifi is off 
itself.

Now I have to wait for the notification after plugged in and turn on the Wifi 
again manually. Any Idea?
Thanks.

Original issue reported on code.google.com by stardus...@gmail.com on 6 Oct 2010 at 8:34

GoogleCodeExporter commented 9 years ago
It looks like the method used to get the previous wifi state isn't accurate 
when using the Power Manager to automatically enable and disable wifi. Possibly 
because it's reading it before it's fully enabled? In 
IpNotificationMethod.java:136, maybe it should assume that wifi is enabled if 
it's currently in the process of connecting, or simply not set wifi back to 
it's previous value if Wifi Auto Enable is disabled.

Also, this issue should be a defect, not an enhancement.

Original comment by rob.pe...@gmail.com on 26 Sep 2011 at 10:37

GoogleCodeExporter commented 9 years ago
I have the same problem using "Wifi on on AC power" utility. Wifi is turned off 
after first notification. Tried all settings available but nothing helped. Any 
solution?

Original comment by j.ledvin...@gtempaccount.com on 17 Oct 2011 at 9:15