Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Discussion > Android Lounge

Android Lounge A place for general Android discussion and questions.



Reply
 
LinkBack Thread Tools
Old April 18th, 2010, 07:09 AM   #1 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to detect that WiFi turns off while screen is off

Hi

I recently bought a HTC Desire which I've become exceedingly fond of.

I've read (and been told by a colleague who owns a HTC Legend) that wifi should automatically turn off while the screen is off to conserve battery. I have the impression that I should be able to see the wifi icon turn on as I turn on the screen and unlock the phone. However, I haven't noticed that happening: The icon seems to just be on always.

I have then tried observing my router's DHCP table when the the screen is off, but I haven't observed the entry for my phone disappearing (and I don't really know how much time has to pass before the table not showing my phone.

Are there any settings that can cause this behaviour? What about programs? I current use smart monitor to log data usage as well as locale (using a SSID plugin and not the locale "location" condition). The only services I can see apart from those I think are OS services, are the ones for locale, smart monitor lite and the SSID plugin.

Thanks in advance

Phone details:

Model number: HTC Desire A8181
Firmware version: 2.1-update1
Baseband: 32.30.00.28U-4.05.00.1
Kernel version: 2.6.29-97da29ed
htc-kernel@and18-2 #1
Build number: 1.15.405.4 CL155070 release-keys
Carrier: 3 (Denmark)
Phone is correctly registered by carrier

AndyK is offline  
Last edited by AndyK; April 18th, 2010 at 07:21 AM. Reason: Added phone details
Reply With Quote
Sponsors
Old April 18th, 2010, 11:43 AM   #2 (permalink)
Junior Member
 
Join Date: Mar 2010
Posts: 48
 
Device(s):
Thanks: 0
Thanked 11 Times in 8 Posts
Default

You could try pinging the phone IP address from a terminal window on your computer. Get the IP Address from your router's DHCP table, or from an app like IPDroid.

To ping

Mac/Linux/Etc:
ping 192.168.1.X

or

Windows:
ping -t 192.168.1.X

when wifi is active you should see responses, when it's inactive you should see timeouts. When you are done with ping exit with control-C
gorn is offline  
Reply With Quote
Old April 18th, 2010, 11:47 AM   #3 (permalink)
Like sushi... but fresher
 
Kelmar's Avatar
 
Join Date: Nov 2009
Posts: 10,574
 
Device(s): Droid Razr
Thanks: 688
Thanked 3,230 Times in 1,928 Posts
Default

On old 1.5 you can control when it sleeps by doing...


Menu>Settings>Wireless Controls>Wifi Settings>Menu>Advanced>Wifi Sleep Policy

Change it to whatever you want!
Kelmar is offline  
Reply With Quote
Old April 18th, 2010, 01:17 PM   #4 (permalink)
New Member
 
Join Date: Apr 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot to you both

Quote:
Originally Posted by Kelmar View Post
On old 1.5 you can control when it sleeps by doing...


Menu>Settings>Wireless Controls>Wifi Settings>Menu>Advanced>Wifi Sleep Policy

Change it to whatever you want!
I didn't know that there was an advanced setting for wifi.... most other settings don't have that. I found that wifi sleep was set to "never". I'm now changing it to 15 min. However, as locale periodically activates wifi to check location, I might have to change the precision such that it only relies on cell towers.
AndyK is offline  
Reply With Quote
Old April 29th, 2010, 04:51 PM   #5 (permalink)
Junior Member
 
w00yee's Avatar
 
Join Date: Nov 2009
Location: Athens, GA
Posts: 32
 
Device(s): = neXus One =
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by AndyK View Post
Hi

I recently bought a HTC Desire which I've become exceedingly fond of.

I've read (and been told by a colleague who owns a HTC Legend) that wifi should automatically turn off while the screen is off to conserve battery. I have the impression that I should be able to see the wifi icon turn on as I turn on the screen and unlock the phone. However, I haven't noticed that happening: The icon seems to just be on always.

I have then tried observing my router's DHCP table when the the screen is off, but I haven't observed the entry for my phone disappearing (and I don't really know how much time has to pass before the table not showing my phone.

Are there any settings that can cause this behaviour? What about programs? I current use smart monitor to log data usage as well as locale (using a SSID plugin and not the locale "location" condition). The only services I can see apart from those I think are OS services, are the ones for locale, smart monitor lite and the SSID plugin.

Thanks in advance

Phone details:

Model number: HTC Desire A8181
Firmware version: 2.1-update1
Baseband: 32.30.00.28U-4.05.00.1
Kernel version: 2.6.29-97da29ed
htc-kernel@and18-2 #1
Build number: 1.15.405.4 CL155070 release-keys
Carrier: 3 (Denmark)
Phone is correctly registered by carrier


is your problem solved by running through that setting? even i set mine to "after 15 mins", when i turned the screen on after like 30mins, i noticed that the wifi was till on...
wifi power saving policy - xda-developers
__________________
** Left@Home ** CallCamSpy ** CrazyCashier ** CasinoHighRoller **
w00yee is offline  
Reply With Quote
Old May 2nd, 2010, 11:54 AM   #6 (permalink)
ilh
Junior Member
 
Join Date: Apr 2010
Posts: 26
 
Device(s):
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by Kelmar View Post
On old 1.5 you can control when it sleeps by doing...


Menu>Settings>Wireless Controls>Wifi Settings>Menu>Advanced>Wifi Sleep Policy

Change it to whatever you want!
Didn't see that setting there. Just wondering what does it do for "Never when plugged in" when it's not actually plugged in, turn it off after 15 minutes?
ilh is offline  
Reply With Quote
Old December 4th, 2011, 12:26 PM   #7 (permalink)
New Member
 
Join Date: Dec 2011
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Happy thanks

Thank you verry much for that answer I had that same problem with my android and you fixed it... thanks again )) have a great day!

Quote:
Originally Posted by Kelmar View Post
On old 1.5 you can control when it sleeps by doing...


Menu>Settings>Wireless Controls>Wifi Settings>Menu>Advanced>Wifi Sleep Policy

Change it to whatever you want!
Tacoma07 is offline  
Reply With Quote
Old December 4th, 2011, 04:23 PM   #8 (permalink)
Member
 
Join Date: Nov 2011
Posts: 361
 
Device(s): Nexus S
Thanks: 44
Thanked 55 Times in 43 Posts
Default

delete
UssjTrunks is offline  
Last edited by UssjTrunks; December 4th, 2011 at 04:29 PM. Reason: can't find delete button!
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Discussion > Android Lounge User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Desire doesn't detect some wifi networks harishvr9 Desire - Support and Troubleshooting 13 March 1st, 2012 03:50 PM
wifi turns itself on Eurosteve Motorola Droid 6 July 17th, 2011 06:09 AM
toggle wifi on/off when screen turns on/off v1nsai Developer 101 10 June 6th, 2011 06:13 PM
Phone cannot detect wifi network made with wireless LAN sakib000 Optimus One - Support and Troubleshooting 4 December 22nd, 2010 02:52 AM
Screen turns on by itself then 30 seconds later turns off Nach0 Desire - Support and Troubleshooting 0 December 14th, 2010 08:07 PM



All times are GMT -5. The time now is 05:18 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo