Go Back   Android Forums > Android Phones > Samsung Galaxy S3

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes
  • 1 Post By matttye

test: Reply
 
LinkBack Thread Tools
Old June 10th, 2012, 11:19 AM   #1 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default Battery saving tip - really works!

I noticed that my "Android OS" was keeping my phone awake for like 4 hours in a 16 hour period. I have BetterBatteryStats installed and checked the kernel wakelocks. I was getting a "wlan_rx_wake" wakelock which was causing 92% of my kernel wake locks.

After some googling, it turns out that this is related to the phone responding to wireless router DHCP queries, and the simple way to resolve it is to assign a static IP address to your phone. Luckily my router allows me to use static IPs in conjunction with DHCP, so I didn't have to reconfigure every device on my network.

The stay awake time now is less than half an hour for Android OS and it's only using 6% battery, when it was using like 20+% before. It's a very noticeable difference for such an easy change!

---

Now I just want to figure out how to stop cell standby using so much battery! It's currently using 2% less battery than the screen which has been on for two hours. That's insane I suspect we'll have to root and install a custom radio or wait until Samsung pulls their finger out!
Covart likes this.

__________________
iPhone 5 (iOS 6.0.1), iPad 2 (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
matttye is offline  
Reply With Quote
The Following 5 Users Say Thank You to matttye For This Useful Post:
Covart (June 18th, 2012), jerofld (June 10th, 2012), liteon163 (June 17th, 2012), pdl2mtl90 (July 15th, 2012), phlojo (December 3rd, 2012)
sponsored links
Old June 10th, 2012, 11:36 AM   #2 (permalink)
New Member
 
Join Date: Jun 2012
Location: uk
Posts: 8
 
Device(s): Samsung s3, iPhone 4, iPad 1 & 2
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can't believe how much battery cell standby takes up either! I understand the screen taking up a lot of my battery usage but standby.... Grrrr
wunderchar is offline  
Reply With Quote
Old June 16th, 2012, 11:40 PM   #3 (permalink)
Member
 
Join Date: Oct 2010
Location: Poole, Dorset
Posts: 175
 
Device(s): Nexus 5 Samsung Galaxy S3. Google Nexus 10. Samsung Galaxy Tab 10.1 (retired) HTC Desire (reti
Carrier: Not Provided

Thanks: 31
Thanked 20 Times in 16 Posts
Default

Matttye, could you explain, in simpleton terms , how I set this up please
ScoobyWRX is offline  
Reply With Quote
Old June 16th, 2012, 11:48 PM   #4 (permalink)
Master X is Watching You
 
XplosiV's Avatar
 
Join Date: Jun 2010
Location: UK
Gender: Male
Posts: 5,412
 
Device(s): Galaxy S3 16GB Blue (x2) 4.1.1 ****** Galaxy mini ****** Galaxy Tab 8.9, ****** Galaxy Portal 2
Carrier: T-Mobile UK!

Thanks: 723
Thanked 1,961 Times in 1,531 Posts
Send a message via Yahoo to XplosiV xplosiv.ss@gmail.com
Default

Get yourself the Nfc programming app and some NFC stickers and program a sticker for a night mode where you can turn off all non essential functions like mobile data, bluetooth, wifi, ringtone etc with one quick swype of your phone over the sticker.
XplosiV is offline  
Reply With Quote
Old June 16th, 2012, 11:55 PM   #5 (permalink)
Master X is Watching You
 
XplosiV's Avatar
 
Join Date: Jun 2010
Location: UK
Gender: Male
Posts: 5,412
 
Device(s): Galaxy S3 16GB Blue (x2) 4.1.1 ****** Galaxy mini ****** Galaxy Tab 8.9, ****** Galaxy Portal 2
Carrier: T-Mobile UK!

Thanks: 723
Thanked 1,961 Times in 1,531 Posts
Send a message via Yahoo to XplosiV xplosiv.ss@gmail.com
Default

Quote:
Originally Posted by ScoobyWRX View Post
Matttye, could you explain, in simpleton terms , how I set this up please
You have two options at least.

One: see if your router supports 'ip reservations' this means DHCP will assign each device on your network the same in each time it connects. Ie if you assign your S3 the ip 192.168.2.10 then your S3 will be assigned that ip by DHCP every time it connects to your network.

Two: more hassle, but disable DHCP in your router and manually assign a static ip for each device on your network, then on each device you have to set up the same static ip as set in the router. So its a tad more complicated and time consuming.
XplosiV is offline  
Reply With Quote
The Following 2 Users Say Thank You to XplosiV For This Useful Post:
ScoobyWRX (June 17th, 2012), Shogun1 (June 21st, 2012)
Old June 17th, 2012, 08:03 AM   #6 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by XplosiV View Post

Two: more hassle, but disable DHCP in your router and manually assign a static ip for each device on your network, then on each device you have to set up the same static ip as set in the router. So its a tad more complicated and time consuming.
You don't have to do this - you can change the DHCP range - ie. From 192 168 0 2 to 192 168 0 100 and then you can use any ip address from 101 to 253 for your static assignments
Deisenaut is offline  
Reply With Quote
Old June 17th, 2012, 10:16 AM   #7 (permalink)
Member
 
Join Date: Jun 2010
Location: NJ
Posts: 253
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 12 Times in 9 Posts
Default

Quote:
Originally Posted by XplosiV View Post
You have two options at least.

One: see if your router supports 'ip reservations' this means DHCP will assign each device on your network the same in each time it connects. Ie if you assign your S3 the ip 192.168.2.10 then your S3 will be assigned that ip by DHCP every time it connects to your network.
How can we find out if our router supports this? I have a D-Link DIR-655.
rlb4 is offline  
Reply With Quote
Old June 17th, 2012, 11:27 AM   #8 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

Ip reservations and static aren't the same necessarily. My netgear does both. Reservations are still dhcp. When that mac requests an ip via dhcp, it gets a reserved, pre specified ip. Dhcp is still used so power wouldn't be saved
SUroot is offline  
Reply With Quote
The Following User Says Thank You to SUroot For This Useful Post:
davoid (June 17th, 2012)
Old June 17th, 2012, 01:06 PM   #9 (permalink)
Master X is Watching You
 
XplosiV's Avatar
 
Join Date: Jun 2010
Location: UK
Gender: Male
Posts: 5,412
 
Device(s): Galaxy S3 16GB Blue (x2) 4.1.1 ****** Galaxy mini ****** Galaxy Tab 8.9, ****** Galaxy Portal 2
Carrier: T-Mobile UK!

Thanks: 723
Thanked 1,961 Times in 1,531 Posts
Send a message via Yahoo to XplosiV xplosiv.ss@gmail.com
Default

Quote:
Originally Posted by Deisenaut View Post
You don't have to do this - you can change the DHCP range - ie. From 192 168 0 2 to 192 168 0 100 and then you can use any ip address from 101 to 253 for your static assignments
I'm sorry, I'm not really understanding what point your trying to make here.

Yes you will have an ip range regardless if your using DHCP or not.

Why have a bigger ip range than needed? My range is set for each device that needs one, plus 2 spare with old macs, that I just edit as needed for guests.

The op stated the need to assign a static ip, typically set via disabling DHPC within the router & assigning each network device an. Then you have to set up each device individually to use the ip you set in the router.

I think the op was meaning reserved ips when he stated he had set a static ip in conjunction with DHCP.
XplosiV is offline  
Reply With Quote
Old June 17th, 2012, 04:46 PM   #10 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default

Quote:
Originally Posted by SUroot View Post
Ip reservations and static aren't the same necessarily. My netgear does both. Reservations are still dhcp. When that mac requests an ip via dhcp, it gets a reserved, pre specified ip. Dhcp is still used so power wouldn't be saved
My battery life has improved since manually assigning the IP in my Asus. I think it supports DHCP and static IPs alongside each other.
matttye is offline  
Reply With Quote
sponsored links
Old June 18th, 2012, 01:00 AM   #11 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

Quote:
Originally Posted by matttye View Post
My battery life has improved since manually assigning the IP in my Asus. I think it supports DHCP and static IPs alongside each other.
Yes they all should.
SUroot is offline  
Reply With Quote
Old June 18th, 2012, 01:29 AM   #12 (permalink)
Senior Member
 
Covart's Avatar
 
Join Date: Apr 2011
Gender: Male
Posts: 720
 
Device(s): SGS III i747 / Nexus 7
Carrier: AT&T

Thanks: 48
Thanked 154 Times in 121 Posts
Default

I hadn't manually checked this before, but it appears my Cisco Linksys E3200 router auto assigns static IP addresses ranging from 192....100 to 150. Guess that's why I never had a battery issue.

Good info to know though. Much thanks OP.
Covart is offline  
Reply With Quote
Old June 18th, 2012, 12:33 PM   #13 (permalink)
Junior Member
 
Join Date: Jun 2012
Location: Leicester
Posts: 16
 
Device(s): Samsung Galaxy SIII
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Doesnt puttin your phone in flight mode stop all the above?
d4v3cl4rk is offline  
Reply With Quote
Old June 18th, 2012, 12:50 PM   #14 (permalink)
Master X is Watching You
 
XplosiV's Avatar
 
Join Date: Jun 2010
Location: UK
Gender: Male
Posts: 5,412
 
Device(s): Galaxy S3 16GB Blue (x2) 4.1.1 ****** Galaxy mini ****** Galaxy Tab 8.9, ****** Galaxy Portal 2
Carrier: T-Mobile UK!

Thanks: 723
Thanked 1,961 Times in 1,531 Posts
Send a message via Yahoo to XplosiV xplosiv.ss@gmail.com
Default

Quote:
Originally Posted by d4v3cl4rk View Post
Doesnt puttin your phone in flight mode stop all the above?
This should be true, however in flight mode you also won't be able to receive calls or texts.

A simpler option would be to just turn off wifi. But some people like to keep it on while at work and home, for which this topic may be more relivent.
XplosiV is offline  
Reply With Quote
Old June 18th, 2012, 01:20 PM   #15 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 61
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 11 Times in 7 Posts
Default

Quote:
Originally Posted by XplosiV View Post
This should be true, however in flight mode you also won't be able to receive calls or texts.

A simpler option would be to just turn off wifi. But some people like to keep it on while at work and home, for which this topic may be more relivent.
On my Atrix, turning WiFi off dramatically reduces my battery life. More specifically, it isn't just turning off WiFi, but instead if the phone is connected to WiFi vs. using 3G data, the battery life is about 50% longer.

My phone is hitting an exchange account, two Gmail accounts set to push/sync and 3 IMAP Idle accounts setup in K9 mail, so in essence I have 6 push email accounts setup.

I bring that up, because at least with the Atrix, using WiFi doesn't just give you a faster connection or save your wireless data usage, but can dramatically improve your battery life.
tnedator is offline  
Reply With Quote
Old June 18th, 2012, 01:32 PM   #16 (permalink)
Master X is Watching You
 
XplosiV's Avatar
 
Join Date: Jun 2010
Location: UK
Gender: Male
Posts: 5,412
 
Device(s): Galaxy S3 16GB Blue (x2) 4.1.1 ****** Galaxy mini ****** Galaxy Tab 8.9, ****** Galaxy Portal 2
Carrier: T-Mobile UK!

Thanks: 723
Thanked 1,961 Times in 1,531 Posts
Send a message via Yahoo to XplosiV xplosiv.ss@gmail.com
Default

Quote:
Originally Posted by tnedator View Post
On my Atrix, turning WiFi off dramatically reduces my battery life. More specifically, it isn't just turning off WiFi, but instead if the phone is connected to WiFi vs. using 3G data, the battery life is about 50% longer.

My phone is hitting an exchange account, two Gmail accounts set to push/sync and 3 IMAP Idle accounts setup in K9 mail, so in essence I have 6 push email accounts setup.

I bring that up, because at least with the Atrix, using WiFi doesn't just give you a faster connection or save your wireless data usage, but can dramatically improve your battery life.
Using ANY extra data components will drain your battery, be it wifi, bluetooth, gps, mobile data.

So turning anything off that your not needing especially at night, will help your battery life, that, is not in question.

The op simply stated that there was an issue with wifi draining the battery because it was constantly polling local networks, and thus the fix was to manually assign an ip from his router for his S3.
XplosiV is offline  
Reply With Quote
Old June 18th, 2012, 01:40 PM   #17 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 61
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 11 Times in 7 Posts
Default

Quote:
Originally Posted by XplosiV View Post
Using ANY extra data components will drain your battery, be it wifi, bluetooth, gps, mobile data.

So turning anything off that your not needing especially at night, will help your battery life, that, is not in question.

The op simply stated that there was an issue with wifi draining the battery because it was constantly polling local networks, and thus the fix was to manually assign an ip from his router for his S3.
You misunderstand my point.

Option A: Using mobile (3G) data turned on (WiFi off) to update the 6 push email accounts.

Option B: Using Wifi (Wifi on) to update the 6 push email accounts.

Battery life with option B is about 50% longer than option A. That isn't turning something "off" it's turning something "on."

I was responding to your comment about turning off WiFi and letting people know that in some cases, turning off WiFi, but still using mobile data, will result in significantly lower battery life.
tnedator is offline  
Reply With Quote
Old June 18th, 2012, 02:05 PM   #18 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by rlb4 View Post
How can we find out if our router supports this? I have a D-Link DIR-655.
I have the DIR-655 too, and read on dlink that it supports DHCP Static. However still lost on what we're supposed to do in this thread lol?

If I go to my Dlink IP, it shows 3 devices connected, and my phone ends in .194, computer .196, and printer .193
surf1 is offline  
Reply With Quote
Old June 18th, 2012, 02:20 PM   #19 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 61
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 11 Times in 7 Posts
Default

Quote:
Originally Posted by surf1 View Post
I have the DIR-655 too, and read on dlink that it supports DHCP Static. However still lost on what we're supposed to do in this thread lol?

If I go to my Dlink IP, it shows 3 devices connected, and my phone ends in .194, computer .196, and printer .193
Based on what the OP posted, using "DHCP Static" would have the same battery problem as DHCP. DHCP Static is not the same as setting a static IP on the phone (or other device). Instead, it's simply setting up a permanent DHCP lease on the router. Meaning, the device still looks to the router as the DHCP server to assign it an IP (the device is setup for DHCP). However, any time the device needs to be assigned an IP (every time it connects to the router or when a lease expires), the router gives it the same IP.

This is an alternative to using a true static IP, but it is still a DHCP IP and behaves as a DHCP IP in all ways.

So, if there truly is a battery hit for using DHCP, you will see the same battery hit using DHCP static.
tnedator is offline  
Reply With Quote
Old June 18th, 2012, 02:28 PM   #20 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default

Quote:
Originally Posted by tnedator View Post
Based on what the OP posted, using "DHCP Static" would have the same battery problem as DHCP. DHCP Static is not the same as setting a static IP on the phone (or other device). Instead, it's simply setting up a permanent DHCP lease on the router. Meaning, the device still looks to the router as the DHCP server to assign it an IP (the device is setup for DHCP). However, any time the device needs to be assigned an IP (every time it connects to the router or when a lease expires), the router gives it the same IP.

This is an alternative to using a true static IP, but it is still a DHCP IP and behaves as a DHCP IP in all ways.

So, if there truly is a battery hit for using DHCP, you will see the same battery hit using DHCP static.
From what I gather it's about renewing the DHCP lease that causes the wakelock, so a permanent lease would probably do the trick too.

Worth a shot anyway.

My Android OS went from using about 30+% to 5% ish simply by assigning a static IP. Cell standby is the biggest battery hog by far now for me.
matttye is offline  
Reply With Quote
sponsored links
Old June 18th, 2012, 04:32 PM   #21 (permalink)
Master X is Watching You
 
XplosiV's Avatar
 
Join Date: Jun 2010
Location: UK
Gender: Male
Posts: 5,412
 
Device(s): Galaxy S3 16GB Blue (x2) 4.1.1 ****** Galaxy mini ****** Galaxy Tab 8.9, ****** Galaxy Portal 2
Carrier: T-Mobile UK!

Thanks: 723
Thanked 1,961 Times in 1,531 Posts
Send a message via Yahoo to XplosiV xplosiv.ss@gmail.com
Default

Quote:
Originally Posted by tnedator View Post
You misunderstand my point.

Option A: Using mobile (3G) data turned on (WiFi off) to update the 6 push email accounts.

Option B: Using Wifi (Wifi on) to update the 6 push email accounts.

Battery life with option B is about 50% longer than option A. That isn't turning something "off" it's turning something "on."

I was responding to your comment about turning off WiFi and letting people know that in some cases, turning off WiFi, but still using mobile data, will result in significantly lower battery life.
Ah, now that's totally understandable, I would imagine that the data transfer rate over wifi is higher thus more economical on power than using 3G. Wouldn't surprise me.

@op glad you found a fix that works for you, I wonder if this is because of other wifi signals in your local area.
XplosiV is offline  
Reply With Quote
Old June 18th, 2012, 04:37 PM   #22 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default

Quote:
Originally Posted by XplosiV View Post
Ah, now that's totally understandable, I would imagine that the data transfer rate over wifi is higher thus more economical on power than using 3G. Wouldn't surprise me.

@op glad you found a fix that works for you, I wonder if this is because of other wifi signals in your local area.
I used wifi analyser and picked a channel unused by my neighbours. Doesn't seem to have had an effect on battery life but the signal is better.
matttye is offline  
Reply With Quote
Old June 18th, 2012, 04:40 PM   #23 (permalink)
Master X is Watching You
 
XplosiV's Avatar
 
Join Date: Jun 2010
Location: UK
Gender: Male
Posts: 5,412
 
Device(s): Galaxy S3 16GB Blue (x2) 4.1.1 ****** Galaxy mini ****** Galaxy Tab 8.9, ****** Galaxy Portal 2
Carrier: T-Mobile UK!

Thanks: 723
Thanked 1,961 Times in 1,531 Posts
Send a message via Yahoo to XplosiV xplosiv.ss@gmail.com
Default

Yea getting a free channel is great for overall wifi speed as data doesn't clash as much.
XplosiV is offline  
Reply With Quote
Old June 18th, 2012, 04:45 PM   #24 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 61
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 11 Times in 7 Posts
Default

Quote:
Originally Posted by matttye View Post
From what I gather it's about renewing the DHCP lease that causes the wakelock, so a permanent lease would probably do the trick too.

Worth a shot anyway.

My Android OS went from using about 30+% to 5% ish simply by assigning a static IP. Cell standby is the biggest battery hog by far now for me.
That's not the way DHCP works. If the phone is responding to DHCP queries from the router, as you suspect, that would happen whether or not it was a permanent/static DHCP lease. It's not like the normal lease is 60 seconds or something, they are probably at minimum 24 hours (probably longer).

So, if DHCP is the problem you described, then the ONLY solution would be to change the phone from DHCP and enter an IP address manually.
tnedator is offline  
Reply With Quote
The Following User Says Thank You to tnedator For This Useful Post:
matttye (June 18th, 2012)
Old June 18th, 2012, 04:48 PM   #25 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 61
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 11 Times in 7 Posts
Default

Quote:
Originally Posted by XplosiV View Post
Ah, now that's totally understandable, I would imagine that the data transfer rate over wifi is higher thus more economical on power than using 3G. Wouldn't surprise me.
That's my conclusion as well. I brought it up only because I think many people have the mistaken belief that having WiFi turned on burns more battery. While it probably does in some situations, such as if you aren't actually using data, there are situations like mine where activating wifi makes a huge, positive difference in battery life.
tnedator is offline  
Reply With Quote
Old June 18th, 2012, 05:25 PM   #26 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default

Quote:
Originally Posted by tnedator View Post
That's not the way DHCP works. If the phone is responding to DHCP queries from the router, as you suspect, that would happen whether or not it was a permanent/static DHCP lease. It's not like the normal lease is 60 seconds or something, they are probably at minimum 24 hours (probably longer).

So, if DHCP is the problem you described, then the ONLY solution would be to change the phone from DHCP and enter an IP address manually.
Fair enough. I know how to set up a wireless network and the difference between DHCP and static IPs, but I don't know much about the underlying technologies/protocols.

Cheers.
matttye is offline  
Reply With Quote
Old June 18th, 2012, 05:35 PM   #27 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by tnedator View Post
Based on what the OP posted, using "DHCP Static" would have the same battery problem as DHCP. DHCP Static is not the same as setting a static IP on the phone (or other device). Instead, it's simply setting up a permanent DHCP lease on the router. Meaning, the device still looks to the router as the DHCP server to assign it an IP (the device is setup for DHCP). However, any time the device needs to be assigned an IP (every time it connects to the router or when a lease expires), the router gives it the same IP.

This is an alternative to using a true static IP, but it is still a DHCP IP and behaves as a DHCP IP in all ways.

So, if there truly is a battery hit for using DHCP, you will see the same battery hit using DHCP static.
haha, still confused. So my phone is .194, and on here someone said 101-253, so does that mean my is already static or a mix etc? Just trying to figure out what I have to change and do to test, I'm good with electronics right down to having an awesome home theater and media streaming... but when it comes to routers I just setup and that's it lol.

Are you changing it directly at the router accessed at the IP address, or just going to wifi -> advance -> change DHCP to Static?
surf1 is offline  
Last edited by surf1; June 18th, 2012 at 05:39 PM.
Reply With Quote
Old June 20th, 2012, 04:46 PM   #28 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

I don't know if i did this right but I just went to advanced in wifi settings and enabled Static and that was it, it automatically filled in everything (dns, gateway etc).

Didn't seem to make any battery difference.
surf1 is offline  
Reply With Quote
Old June 20th, 2012, 04:50 PM   #29 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default

Quote:
Originally Posted by surf1 View Post
I don't know if i did this right but I just went to advanced in wifi settings and enabled Static and that was it, it automatically filled in everything (dns, gateway etc).

Didn't seem to make any battery difference.
You have to configure your router too.
matttye is offline  
Reply With Quote
Old June 20th, 2012, 09:27 PM   #30 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by matttye View Post
You have to configure your router too.
how do you do that specifically for the phone? Do you just change it to static as well, I have the dir-655 extreme. No clue as to what numbers etc you should enter for the address? Read you should enter different addresses in from before but no sure what that means, my phone autofilled the ip, gateway, dns etc. Connection on the router says DHCP Client for all (computers, phones etc)

Great with electronics, except for routers, I just set them up and leave as is lol

edit - in the network settings on router, won't let me change anything, offers to reserve/revoke the ip. But if I got to add a new one in and say use 194.168.0.202 to be outside of DHCP range it still says to make sure the address is within range (100-199).
surf1 is offline  
Last edited by surf1; June 20th, 2012 at 09:52 PM.
Reply With Quote
sponsored links
Old June 20th, 2012, 10:11 PM   #31 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 61
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 11 Times in 7 Posts
Default

Quote:
Originally Posted by matttye View Post
You have to configure your router too.
There is nothing to configure in the router for a static address on a device (phone or otherwise).

I won't have my S3 until tomorrow to know exactly what the menus are, but on Android 2.4 you would go to wireless settings, click menu > advanced, click "Use static IP" (which says below it "manually configure IP settings" and then put in your IP address, gateway and netmask.

Surf said he clicked that and it filled in his info for him, which is possible. Regardless if it fills it automatically, or you enter it, at that point that is the ONLY IP it will use. It no longer looks to the router for an IP, so there is NOTHING to configure on the router.

The only thing you need to do is make sure that the static IP manually entered into the phone is not within the range the router is using for DHCP.

Surf, it doesn't matter what IP you use on your phone, whether it's .194 or something else, you just want to make sure it's not within the range your router is using for DHCP. The only reason for avoiding that is because your router could then give the same IP to another device on your network and then you will get an IP address conflict. So, since you say the router is using 100-199 for DHCP, you want to use something below or above that for your static IP. You don't need to enter the IP address you choose in the router, just key it into your phone, something like .210 or something.
tnedator is offline  
Reply With Quote
The Following User Says Thank You to tnedator For This Useful Post:
Zoso777 (June 20th, 2012)
Old June 20th, 2012, 10:55 PM   #32 (permalink)
New Member
 
Zoso777's Avatar
 
Join Date: Jun 2012
Posts: 4
 
Device(s): Galaxy S3
Carrier: Not Provided

Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by tnedator View Post
There is nothing to configure in the router for a static address on a device (phone or otherwise).

I won't have my S3 until tomorrow to know exactly what the menus are, but on Android 2.4 you would go to wireless settings, click menu > advanced, click "Use static IP" (which says below it "manually configure IP settings" and then put in your IP address, gateway and netmask.

Surf said he clicked that and it filled in his info for him, which is possible. Regardless if it fills it automatically, or you enter it, at that point that is the ONLY IP it will use. It no longer looks to the router for an IP, so there is NOTHING to configure on the router.

The only thing you need to do is make sure that the static IP manually entered into the phone is not within the range the router is using for DHCP.

Surf, it doesn't matter what IP you use on your phone, whether it's .194 or something else, you just want to make sure it's not within the range your router is using for DHCP. The only reason for avoiding that is because your router could then give the same IP to another device on your network and then you will get an IP address conflict. So, since you say the router is using 100-199 for DHCP, you want to use something below or above that for your static IP. You don't need to enter the IP address you choose in the router, just key it into your phone, something like .210 or something.
Man, I just could not find this option in my S3. I'm afraid you can't do this way….any help?
Zoso777 is offline  
Reply With Quote
Old June 21st, 2012, 01:12 AM   #33 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default

Quote:
Originally Posted by tnedator View Post
There is nothing to configure in the router for a static address on a device (phone or otherwise).

I won't have my S3 until tomorrow to know exactly what the menus are, but on Android 2.4 you would go to wireless settings, click menu > advanced, click "Use static IP" (which says below it "manually configure IP settings" and then put in your IP address, gateway and netmask.

Surf said he clicked that and it filled in his info for him, which is possible. Regardless if it fills it automatically, or you enter it, at that point that is the ONLY IP it will use. It no longer looks to the router for an IP, so there is NOTHING to configure on the router.

The only thing you need to do is make sure that the static IP manually entered into the phone is not within the range the router is using for DHCP.

Surf, it doesn't matter what IP you use on your phone, whether it's .194 or something else, you just want to make sure it's not within the range your router is using for DHCP. The only reason for avoiding that is because your router could then give the same IP to another device on your network and then you will get an IP address conflict. So, since you say the router is using 100-199 for DHCP, you want to use something below or above that for your static IP. You don't need to enter the IP address you choose in the router, just key it into your phone, something like .210 or something.
That's what I meant. You need to make sure the IP address isn't in the dhcp range otherwise there can be conflicts where devices get kicked off the network because a new device gets assigned that IP.

If this is happening then the phone could be using the mobile network whenever its getting kicked off, which will of course not save battery.
matttye is offline  
Reply With Quote
Old June 21st, 2012, 01:16 AM   #34 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,320 Times in 3,994 Posts
Default

Quote:
Quote:
Originally Posted by tnedator<br />
There is nothing to configure in the router for a static address on a device (phone or otherwise). <br />
<br />
I won't have my S3 until tomorrow to know exactly what the menus are, but on Android 2.4 you would go to wireless settings, click menu > advanced, click "Use static IP" (which says below it "manually configure IP settings" and then put in your IP address, gateway and netmask. <br />
<br />
Surf said he clicked that and it filled in his info for him, which is possible. Regardless if it fills it automatically, or you enter it, at that point that is the ONLY IP it will use. It no longer looks to the router for an IP, so there is NOTHING to configure on the router.<br />
<br />
The only thing you need to do is make sure that the static IP manually entered into the phone is not within the range the router is using for DHCP.<br />
<br />
Surf, it doesn't matter what IP you use on your phone, whether it's .194 or something else, you just want to make sure it's not within the range your router is using for DHCP. The only reason for avoiding that is because your router could then give the same IP to another device on your network and then you will get an IP address conflict. So, since you say the router is using 100-199 for DHCP, you want to use something below or above that for your static IP. You don't need to enter the IP address you choose in the router, just key it into your phone, something like .210 or something.
<br />
<br />
Man, I just could not find this option in my S3. I'm afraid you can't do this way….any help?
Your wifi must be on....

Settings, wifi, long press the network you wish to be static, modify network.
SUroot is offline  
Reply With Quote
The Following User Says Thank You to SUroot For This Useful Post:
davoid (September 29th, 2012)
Old June 21st, 2012, 08:43 AM   #35 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by tnedator View Post
There is nothing to configure in the router for a static address on a device (phone or otherwise).

I won't have my S3 until tomorrow to know exactly what the menus are, but on Android 2.4 you would go to wireless settings, click menu > advanced, click "Use static IP" (which says below it "manually configure IP settings" and then put in your IP address, gateway and netmask.

Surf said he clicked that and it filled in his info for him, which is possible. Regardless if it fills it automatically, or you enter it, at that point that is the ONLY IP it will use. It no longer looks to the router for an IP, so there is NOTHING to configure on the router.

The only thing you need to do is make sure that the static IP manually entered into the phone is not within the range the router is using for DHCP.

Surf, it doesn't matter what IP you use on your phone, whether it's .194 or something else, you just want to make sure it's not within the range your router is using for DHCP. The only reason for avoiding that is because your router could then give the same IP to another device on your network and then you will get an IP address conflict. So, since you say the router is using 100-199 for DHCP, you want to use something below or above that for your static IP. You don't need to enter the IP address you choose in the router, just key it into your phone, something like .210 or something.
Yeh that's what I tried last night and today again and it doesn't work, if I enter 192.168.1.210, the ip in the router still shows 192.168.1.194 and wifi will say connected on phone but can't browse or anything (no connection). And if I put back 192.168.1.194 in the phone it doesn't work anymore even though it shows on the router, have to restart the phone then it connects fine.
surf1 is offline  
Last edited by surf1; June 21st, 2012 at 08:48 AM.
Reply With Quote
Old June 21st, 2012, 12:36 PM   #36 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default

Quote:
Originally Posted by surf1 View Post
Yeh that's what I tried last night and today again and it doesn't work, if I enter 192.168.1.210, the ip in the router still shows 192.168.1.194 and wifi will say connected on phone but can't browse or anything (no connection). And if I put back 192.168.1.194 in the phone it doesn't work anymore even though it shows on the router, have to restart the phone then it connects fine.
What does the IP address say when you go to Settings > About Device > Status ?
matttye is offline  
Reply With Quote
Old June 21st, 2012, 12:47 PM   #37 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by matttye View Post
What does the IP address say when you go to Settings > About Device > Status ?
Either or, if I don't change it it says .194, if I change the ip to .210 or whatever it reflects that change and will say it's connected but can't browse etc

But the router will still show the device as .194

edit - restarted the phone and it seems to work on .210 and shows that as static ip on the phone, but the router still shows it connected as dhcp .194
surf1 is offline  
Last edited by surf1; June 21st, 2012 at 12:53 PM.
Reply With Quote
Old June 21st, 2012, 12:57 PM   #38 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default

Quote:
Originally Posted by surf1 View Post
Either or, if I don't change it it says .194, if I change the ip to .210 or whatever it reflects that change and will say it's connected but can't browse etc

But the router will still show the device as .194

edit - restarted the phone and it seems to work on .210 and shows that as static ip on the phone, but the router still shows it connected as dhcp .194
Try changing the setting in your router too.

There should be a section for configuring LAN clients - go there and you should be able to assign a static IP address to a MAC address that's connected to the network. You can find your phone's MAC address in the same place you found the IP address.
matttye is offline  
Reply With Quote
Old June 21st, 2012, 05:38 PM   #39 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by matttye View Post
Try changing the setting in your router too.

There should be a section for configuring LAN clients - go there and you should be able to assign a static IP address to a MAC address that's connected to the network. You can find your phone's MAC address in the same place you found the IP address.
What's weird is the phone works now, and shows the static ip entered.... however the router doesn't reflect it at all, the device doesn't even show up on it yet it works fine online???
surf1 is offline  
Reply With Quote
Old June 21st, 2012, 09:22 PM   #40 (permalink)
Junior Member
 
Join Date: Feb 2011
Posts: 61
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 11 Times in 7 Posts
Default

Quote:
Originally Posted by surf1 View Post
What's weird is the phone works now, and shows the static ip entered.... however the router doesn't reflect it at all, the device doesn't even show up on it yet it works fine online???
Hate to sound like a broken record, but...

DO NOT WORRY ABOUT THE ROUTER if you have your phone set to a static IP. As long as your static IP is out of the DHCP range on the router (which .210 is), then you are fine.

What you are seeing on the router is the DHCP lease that hasn't expired. What that is showing is that if your phone (based on it's MAC address) was to reconnect to the router with the phone set to DHCP (not static) then it would be assigned the .194 address. That IP is currently reserved for your S3. At some point the DHCP lease will expired and then that will leave the list.

I'm not familiar with that linksys, so I can't tell you exactly, but typically routers show a setup of DHCP reserved IPs and a list of actually connected devices. It's possible that the linksys doesn't separate them, but regardless, if you are using a static IP outside of your DHCP range, you simply don't have to worry about what the router says and SHOULD NOT change it in the router to the .210 IP, because that's outside of the DHCP range.

So, in summary, ignore the router, don't change anything in it. Have your phone set to static with the .210 IP, and you are good to go with a static IP.

Whether or not it improves battery life is a different issue, but doing the above and you will be static and the phone will not contact the router for DHCP info.
tnedator is offline  
Reply With Quote
sponsored links
Old June 21st, 2012, 11:08 PM   #41 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by tnedator View Post
Hate to sound like a broken record, but...

DO NOT WORRY ABOUT THE ROUTER if you have your phone set to a static IP. As long as your static IP is out of the DHCP range on the router (which .210 is), then you are fine.

What you are seeing on the router is the DHCP lease that hasn't expired. What that is showing is that if your phone (based on it's MAC address) was to reconnect to the router with the phone set to DHCP (not static) then it would be assigned the .194 address. That IP is currently reserved for your S3. At some point the DHCP lease will expired and then that will leave the list.

I'm not familiar with that linksys, so I can't tell you exactly, but typically routers show a setup of DHCP reserved IPs and a list of actually connected devices. It's possible that the linksys doesn't separate them, but regardless, if you are using a static IP outside of your DHCP range, you simply don't have to worry about what the router says and SHOULD NOT change it in the router to the .210 IP, because that's outside of the DHCP range.

So, in summary, ignore the router, don't change anything in it. Have your phone set to static with the .210 IP, and you are good to go with a static IP.

Whether or not it improves battery life is a different issue, but doing the above and you will be static and the phone will not contact the router for DHCP info.
yeh I'll see tomorrow as far as battery life, seems to be fine staying connected. I know before it would disconnect and reconnect few times a day randomly. Hasn't seemed to of done that since changing it to static.
surf1 is offline  
Reply With Quote
Old June 25th, 2012, 12:05 PM   #42 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

Well haven't seen any difference, standby and use are basically the same. Maybe it only works with certain phones?
surf1 is offline  
Reply With Quote
Old June 25th, 2012, 12:20 PM   #43 (permalink)
Senior Member
 
Join Date: Dec 2011
Location: London, UK
Posts: 975
 
Device(s): Galaxy S3, Nexus 7
Carrier: 3 UK

Thanks: 34
Thanked 286 Times in 237 Posts
Default

Guys, when I am at home, if I keep the wifi always on, would it drain the battery any faster or is it nothing to be concerned of?
sherlock5545 is offline  
Reply With Quote
Old June 25th, 2012, 01:22 PM   #44 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default

Quote:
Originally Posted by surf1 View Post
Well haven't seen any difference, standby and use are basically the same. Maybe it only works with certain phones?
Maybe you didn't have the wakelock in the first place? It could depend on the network configuration.

This tip is for those who are suffering from a "wlan_rx_wake" wakelock which is keeping the phone awake for hours at a time.
matttye is offline  
Reply With Quote
Old June 25th, 2012, 03:36 PM   #45 (permalink)
Senior Member
 
Zoandroid's Avatar
 
Join Date: May 2010
Location: Ohio - USA
Posts: 1,634
 
Device(s): Samsung Galaxy S III , Samsung Galaxy Note 10.1 Tablet, Wife's Kindle Fire,
Carrier: Verizon Wireless

Thanks: 261
Thanked 193 Times in 167 Posts
Default

Quote:
Originally Posted by matttye View Post
Maybe you didn't have the wakelock in the first place? It could depend on the network configuration.

This tip is for those who are suffering from a "wlan_rx_wake" wakelock which is keeping the phone awake for hours at a time.
How would one diagnose if their phone is affected by this wakelock condition? I don't have my S3 yet (Verizon), but would like to know more about this just in case I need it later. In the OP it was stated "I have BetterBatteryStats installed and checked the kernel wakelocks. I was getting a "wlan_rx_wake" wakelock which was causing 92% of my kernel wake locks." So would I have to install BetterBatteryStats and look there to see if this condition existed?
__________________
- Zoandroid -


liberum enim electronic fabrica
Zoandroid is offline  
Reply With Quote
Old June 25th, 2012, 04:10 PM   #46 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: Lincoln, England
Posts: 1,939
 
Device(s): Apple iPhone 5 64GB (iOS 6.0.1), Apple iPad 2 16GB (iOS 6.0.1), Nexus 7 (Android 4.2 Jelly Bean)
Carrier: Not Provided

Thanks: 121
Thanked 380 Times in 251 Posts
Default

Quote:
Originally Posted by Zoandroid View Post
How would one diagnose if their phone is affected by this wakelock condition? I don't have my S3 yet (Verizon), but would like to know more about this just in case I need it later. In the OP it was stated "I have BetterBatteryStats installed and checked the kernel wakelocks. I was getting a "wlan_rx_wake" wakelock which was causing 92% of my kernel wake locks." So would I have to install BetterBatteryStats and look there to see if this condition existed?
That's right
matttye is offline  
Reply With Quote
Old June 26th, 2012, 11:18 AM   #47 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by matttye View Post
Maybe you didn't have the wakelock in the first place? It could depend on the network configuration.

This tip is for those who are suffering from a "wlan_rx_wake" wakelock which is keeping the phone awake for hours at a time.
Could be, I do get a lot of wake locks sometimes but all it says for process is media server.... and searching on XDA and others. Nobody seems to know what causes that.
surf1 is offline  
Reply With Quote
Old June 26th, 2012, 02:07 PM   #48 (permalink)
Junior Member
 
Join Date: Nov 2009
Location: Motor City
Posts: 27
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 4
Thanked 20 Times in 5 Posts
Default

Quote:
Originally Posted by surf1 View Post
Could be, I do get a lot of wake locks sometimes but all it says for process is media server.... and searching on XDA and others. Nobody seems to know what causes that.
Just a thought from a neophyte but if you're getting a lot of wake locks from a media server when on wifi could it be due to another dlna device on your network communicating with the s3 over wifi?
ScootD is offline  
Reply With Quote
Old June 26th, 2012, 08:03 PM   #49 (permalink)
Junior Member
 
Join Date: Nov 2011
Posts: 66
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 5 Times in 4 Posts
Default

Quote:
Originally Posted by ScootD View Post
Just a thought from a neophyte but if you're getting a lot of wake locks from a media server when on wifi could it be due to another dlna device on your network communicating with the s3 over wifi?
No idea, I only have the computers and printer and other devices (Fire etc) on the network. But even with them off it still occurs. I've searched high and low and tons of theories as to what causes media server wake lock on XDA but nobody knows how to fix it or what exactly causes it.
surf1 is offline  
Reply With Quote
Reply

Buy the Samsung Galaxy S III
Sign up for instant notification when the Samsung Galaxy S III goes on sale!
Samsung Galaxy S III

  The Samsung Galaxy S3 is the company's flagship device of 2012. As one of the most anticipated devices of the year, this device is the first to come with a Exynos 4 Quad processor. It also has Android 4.0, a 4.8-inch 720p Super AMOLED ... Read More



Go Back   Android Forums > Android Phones > Samsung Galaxy S3

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



All times are GMT -5. The time now is 11:12 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.