Disable Persistent Wifi Collaboration

Discussion in 'iPod touch' started by Indestructible, Aug 28, 2010.

?

Are you going to help with this fix

  1. No, I will just wait and see what others people will do.

    36.2%
  2. Nope, don't care for this.

    38.3%
  3. Yes, working on it now.

    14.9%
  4. Yes, almost got it.

    10.6%
  1. Indestructible

    Indestructible Banned

    Joined:
    May 2, 2010
    Messages:
    3,208
    Likes Received:
    27
    Device:
    4G iPod touch
    I am ticked that Apple has found a new way to kill my battery (maybe to persuade me to buy a new device). This new way (of killing my battery), is by keeping the Wifi on at all time!!!

    This in my opinion sucks (literally) the battery out of my device.

    I know that I am not alone, after looking at post: http://www.ifans.com/forums/showthread.php?t=296464

    As a result I spent countless of hours searching on Google for a fix. This effort has led to no avail. Thus, I went through parts of apple code and I am trying to fix this stupid issue.

    Solution:

    Persistent Wifi Battery Fix (Without Disabling the Persistent Wifi):

    Special thanks to iBricked for helping me solve this one.

    Have a battery drain issue? Is it caused by having persistent wifi on all the time? Well I can assure you this problem arises from Appleā€™s poor Notification setup. As a result, to fix this issue all one really has to do is simi-disable Notification (disable only when iPod is sleeping) on their device. For some, including myself, disabling it via the setting app did not work.

    Consequently, you will need to...

    Navigate to: /System/Library/LaunchDaemons/com.apple.apsd.plist

    ... and delete:

    Code:
    
    <key>keepalive</key>
    
    Finally, reboot device.

    This is what I have done thus far!

    What you need:
    1) iPod or iPhone
    2) Your device Jailbroken (jailbreakme.com)

    Ways this can be done:
    1) using iFile
    2) SSH

    The ways I did it:
    --Using iFile (hence, the reason why a computer is not needed).

    Step 1) Open Cydia> search--> iFile> install

    Step 2) Open iFile (if you own a registered version of the app go to step 3.)
    -----When you open iFile, either register the program or select register later.==> Selecting later does not affect the outcome of this tutorial.

    Step 3) Navigate to: /System/Library/Frameworks/SystemConfiguration.framework/NetworkConfiguration.plist

    Step 4) Edit the NetworkConfiguration.plist to show the following (Note you might want to make a backup of the file before you do the edit):

    Code:
    [s]
    [B]In the following section: 
    <key>PPP-IEEE80211</key>[/B]
    
    [B]Edit the Following[/B]
    		<dict>
    {Code omitted due to forum rules}
    			<key>DisconnectOnIdle</key>
    			<integer>[B]1[/B]</integer>
    			<key>DisconnectOnIdleTimer</key>
    			<integer>[B]600[/B]</integer>
    {Code omitted due to forum rules}
    			<key>IdleReminderTimer</key>
    			<integer>[B]600[/B]</integer>
    {Code omitted due to forum rules}
    		</dict>[/s]
    If you like to do a little math, 600 sec/60 sec in a min. = 10 min. This means that after 10 min of idle time, your ipod Wifi will turn off. If you like to turn off the Wifi earlier or later, edit the 600 integer.

    Step 5) Restart Device

    Now, this does not seem to work. However, I know I am heading the right direction!!! So if anyone wants to jump in and post their addition to this, feel free. Hopefully we can figure this our and make a how to!!!

    The new how to will give everyone who helps credit!!!
  2. Dreaded

    Dreaded New Member

    Joined:
    Jul 9, 2010
    Messages:
    269
    Likes Received:
    0
    Device:
    2G iPod touch
    As an alternative, you can simply download SBSettings through Cydia and enable/disable wifi through that.
  3. Indestructible

    Indestructible Banned

    Joined:
    May 2, 2010
    Messages:
    3,208
    Likes Received:
    27
    Device:
    4G iPod touch
    But to always turn off and turn on wifi is a pain.
  4. fred2028

    fred2028 Member

    Joined:
    Oct 12, 2007
    Messages:
    690
    Likes Received:
    2
    Device:
    iPhone 4 (Black)
    It's SSH not SHSH.
  5. Blackened

    Blackened Member

    Joined:
    Dec 30, 2009
    Messages:
    90
    Likes Received:
    0
    Device:
    iPhone 5 (Black)
    Just toggle into Airplane mode or use SBSettings when you're not using wifi if it's that big a deal. Simple as that.
  6. 2fast4u5

    2fast4u5 Active Member

    Joined:
    Apr 14, 2010
    Messages:
    1,213
    Likes Received:
    5
    Device:
    4G iPod touch
    Is that how/where apple set multitasking to 10 mins for apps that require internet? Since on all apps it disconnects in 10 mins.

    Theory: If I change that number to a bigger number, will the app not disconnect in multitasking after 10 mins? If so, that would be f***ing sweet!
  7. HeadReaper

    HeadReaper Well-Known Member

    Joined:
    May 24, 2009
    Messages:
    3,348
    Likes Received:
    679
    Device:
    OnePlus One
    I'd think so. Go for it.
  8. 2fast4u5

    2fast4u5 Active Member

    Joined:
    Apr 14, 2010
    Messages:
    1,213
    Likes Received:
    5
    Device:
    4G iPod touch

    Alright. I set it to 20000 LOL. Im going to reboot and open my Colloquy app on multitasking, and if it doesn't disconnect in 10 mins, then it works. Be right back.
  9. Indestructible

    Indestructible Banned

    Joined:
    May 2, 2010
    Messages:
    3,208
    Likes Received:
    27
    Device:
    4G iPod touch
    May someone with ios 3.1.x pm me their /SystemConfiguration.framework/NetworkConfiguration.plist file? or the code in the file?
  10. 2fast4u5

    2fast4u5 Active Member

    Joined:
    Apr 14, 2010
    Messages:
    1,213
    Likes Received:
    5
    Device:
    4G iPod touch

Share This Page