IETF's Tips For Network Admins On How To Avoid Draining Smartphone Batteries (softpedia.com)
An anonymous reader writes: Two engineers from Cisco and Google have raised the problem of IPv6 networks that drain smartphone battery life and issued a series of tips for other network admins on why and how to properly configure their networks. The problem is because of Router Advertisements (RAs). These are periodic messages sent by the router to all network clients telling them its IPv6 address, at which it can be reached. Apparently some networks are sending these as often as every 3 seconds, while the engineers say the proper interval should be 7 per hour. Hence the reason why your battery life is often drained even if your phone is in sleep mode, but connected to a local network.
Have you heard of anything, other than more addresses so you can be sloppy with allocations, positive about it? I haven't.
My all time favorite is when AT&T thought it was a good idea to make public IP DHCP lease expiration every 10 seconds or so. Effectively causing some routers to drop the WAN link and thus terminating any and all file transfers.
Life is not for the lazy.
I wonder how bad this is on home routers. I haven't seen this problem on my iPhone or Droid but my iPad, only a year old, has recently started draining its battery pretty quickly which I think I can relate to turning on IPv6 at home...
(Or maybe it's just a bad iDevice... :) )
There's only one way to avoid draining your smartphone battery: don't charge it to begin with.
Nobody in their right mind walks around with a smart phone these days.
They're even bigger than the phone I carried 10 years ago. What a joke.
Since when do cell phones stay connected to networks when asleep? I think I've missed the redefinition of 'sleep' to 'blanked screen'.
Exactly. Unique local addresses in IPv6 are not globally routable, just like private addresses in IPv4. They can be used just like IPv4 private addresses, if you want to. Unique local is all addressed starting with FD:.
The IPv6 version is better, though, because each local network is likely to use different IPs, so you can choose to locally route them. Here are a couple of examples of why that's good. Suppose you have a small office in College Station, where someone set up a typical SOHO network with unique local addresses. Also, your headquarters office in Dallas has it's network with unique local. Just like IPv4, on the internet can't reach either network. Unlike IPv4, the two offices probably use -different- IP addresses, and you can decide to have your VPN router route between them, forming a company-wide network.
Similarly, suppose that ABC LLC buys XYZ Corp. With IPv4, integrating the networks in a pain - both companies probably have machines with the same IP addresses, so you have to change the IPs on all of equipment used by XYZ. With IPv6, they are unlikely to match, so you can easily merge the two networks by routing between the two sets of "private" IPs (unique local IPs).
Newer Samsung phones are DROPPING any IPv6 packet (not just RAs) as soon as the screen is off. (this is in the WiFi firmware so even 3rd party roms like CyanogenMod are affected).
So anything that is connected via IPv6 will be disconnected.
See this thread (the title is about ICMPv6 but later it clarifies that newer phones drop ALL IPv6 traffic): http://developer.samsung.com/forum/board/thread/view.do?boardName=General&messageId=239890
Even if they do that to save battery, there are better ways to do this and it should be configurable.
Please help and raise a stink with Samsung over this!
Move Sig. For great justice.
When a device comes into a cell it sends out a router solicitation and the tower sends out a router advertisement in response, regardless of the RA interval. With so many devices coming in and out of the cells all the time it wouldn't surprise me if the network was giving out a RA's every 3 seconds. Most routers are configured to give out a RA every 200 seconds by default. I can't imagine an administrator configuring the interval to be every 3 seconds.
You should be dropping all network management packets, Route advert, Spanning tree, etc at the Wifi port, unless you have an edge case to actually use them. Wifi is typically connecting clients, clients don't need routing information or STP.
any engineer work his/her salt is already doing this, but glad to see the IETF keeping pace i guess.
Okay so if everybody fixes this problem everywhere we're going to get 171.42 days of battery life instead of only one?
Hello,
Blocking packets of IPv6 when screen is off is intended because battery runs down rapidly due to increasing standby power.
End-users can connect to networks continually by IPv4.
Best Regards,
Samsung Developers
Precisely! But where in the protocol can one set the frequency of RAs, so that battery life ain't needlessly drained?
But here's the thing. Even if a router advertizes every few seconds, why does a DEVICE have to keep scanning? It just needs to scan when it loses the signal to a particular router, and needs a new IP address. So if I am w/ my iPhone at home, the device shouldn't have to scan at all. If I'm at an airport going from check-in to the terminal where my flight will take off, the device would scan, but the frequency of THAT can or should be set on the device itself.
Routers are not power sensitive - they are usually stationary and always plugged in, so them issuing RAs every few seconds should not be an issue. The portable devices that are battery sensitive should be more discerning, and only scan for WiFi signals when they lose contact w/ a particular IP/MAC address. Network admins ain't the ones who are draining smartphone batteries
I am on Verizon Wireless, and I have a routable IPv6 address. Two years ago, I had an AT&T Wireless phone from work, and it failed the IPv6 test, while my own Verizon one passed
... is in PC-BSD for the LINK-LOCAL addresses - the FE80::/10. That enables layer 3 communications within a network.
No amount of thinking or planning will get around the fact that IPv4 CAN'T provide enough addresses for all the devices and applications that need IP addresses
ICMPv6 router advertisement I see every three seconds in wireshark?
Disable IPv6. Solves all of your networking stability and reliability problems.