Disable Lock Wifi when connected on 3G
Brought to you by:
krunalhire
Originally created by: dcitele...@gmail.com
Originally owned by: r3gis...@gmail.com
I am using 12-28 with HTC Hero with VillainRom12 (android 2.1). Lock wifi seems to drain the battery faster when connected on 3G and wifi is not used. This is just a gut feeling and I want to make sure that your code recognizes that wifi lock can be disabled when sip connects on 3G.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
Indeed, I though that wifi lock has no effect when connected in 3G. That's still not clear in android sdk documentation. They talk about the fact it prevents -as far as possible- to release an active wifi connection when there is an existing one and the phone is idle. But nothing about the fact it keeps scanning intensively when GSM data is used.
However, checking whether wifi is active before acquiring the wifi lock is painless for me. So I'll do this extra check.
Owner: r3gis.3R
Status: Accepted
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
Oh, just re-reading my code on the subject. Check is already done (indirectly but that's done).
So wifi should not be locked when you are in 3G. At least, surely in next release since I restart everything (did to fix another issue) when connection type is changed. For now not so clear since it ~could~ be not released.
So wait for next build and say me if it's better.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
Build -12-29 done. (available on download section)
So should be OK regarding wifi lock.
Status: NextRelease