Regain Battery Life After Installing 3rd-Party Applications [Updated]

So you've just finished hacking your iPhone and installed every application you could find, but what the heck happened to your battery life? In the process of installing various things, you've likely installed OpenSSH, the tool which allows remote login to your iPhone from a computer. The problem is, SSH requires that a listener called SSHD constantly runs, waiting for a remote login attempt. This in turn drains your battery. The solution is to disable SSHD when you don't need it. Read on for the how-to.
For most seasoned iPhone hackers, disabling SSHD is a piece of cake. Unfortunately, it's not very easy or convenient. Instead, us mortals need a simple tool
In this guide, I'm assuming that you've installed Nullriver's Installer.app and OpenSSH. Here's how it's done:
- Step 1: From Installer.app, download Community Sources if you haven't already.
- Step 2: Under Utilities in Installer.app, install Services
- Step 3: Go back to the home screen and wait for the iPhone to reload the Springboard. Slide to unlock and launch Services.
- Step 4: From Services, toggle SSH off.


That's it! Your battery life should now return to its original state. If you ever need to use SSH (including SFTP) again, simply use Services again to turn SSH back on.
Enjoy!
Tip updated on October 2nd thanks to MrMacMan's suggestion.

Delicious
Reddit
Newsvine
Furl
Technorati





battery life
battery
I think it burnt out my battery
every since then it only held charge over night and I didn't even use the phone at night.
I took it back to apple, they sent it to the factory and told me they couldn't fix it and gave me a replacement. ( not sure if its a refurbished or brand new but came in a similar box as the new one but just a1/4 the size of the original box)
I suggest you restore your phone and take it back to the apple store.
the only down thing about it is no phone for a week.
but I was able to put the sim back into my old phone for the time being
NO com.openssh.sshd
does that mean I don't have ssh running?
I used ifuntastic for my install of apptapp and so on
does that mean I don't have ssh running?
I used ifuntastic for my install of apptapp and so on
Or Mac users could use the new iFuntastic instead of SSH
But the iFuntastic method offers several advantages over SSH:
* no iPhone memory used (unlike SSH and BSD Subsystem)
* more secure than SSH (requires physical access to the iPhone)
* no battery drain
Marginal Effect of disabling SSHD
Any answers?
Any answers?
new iPhone
unless by this you mean that it somehow keeps the wifi or edge radio active when it could otherwise go into a low-power mode?
unless by this you mean that it somehow keeps the wifi or edge radio active when it could otherwise go into a low-power mode?
iPhonegoboom concurs http://www.iphonegoboom.com/#battery
iPhonegoboom concurs http://www.iphonegoboom.com/#battery
UIctl is not there !
Under utilities, only iGXP2 is present.
How come
regards Jens
Under utilities, only iGXP2 is present.
How come
regards Jens
Easier
plz change the guide
so you might not see sshd running all the time depending on whether the iPhone actually runs inetd. at least on my iphone, sshd is there running all the time. i installed it from AppTapp's installer.app.
1.1.1
I have tried leaving it on & turning it off. I see no difference in battery life anyway so [shrug].
I don't really understand why turning off SSH would do much of anything to extend your battery life. I understand the argument that it's listening but so frickin what? It's also got processes constantly running to see if you have a phone call or SMS. I doubt sshd increases the load that much. When I had v1.0.2 I ran top and IIRC the load on the iPhone was quite low. Can't get top to run now on 1.1.1 so I can't check it.
See if the MSN is not logged-on
Just something to try ?
That was a big help...
My battery seems to be dead.
It's charges normally. But even in sleep mode it lives only 4-5 hours
For example when I'm charging my iPhone at the evening before I go to bed then disconnecting from the charger and going to sleep. At the morning I'm getting empty battery
What can it be?
Worked for me
I don't get it...
Why would I actually need to dl and install another app ("Services") when I can just tap on SSH and then deactivate it in the OpenSSH preferences...?!? What's the difference, where's the advantage of using "Services"...?!?
Why?
who told you that sshd is draining power?
it worx!
*peace*
Same heer
My battery is good for 6 to 16 h, (that is if i'm only using it for 10 min of speach, and nothing else)
The "thing" is trying very often to find a network (you know, beep, bhrep near a radio), and by often, i mean 2-3 seconds.
I've tryed "Apple's guide for prolonging battery life", but realy, that's common sense.
Anyway, it's not working.
Any suggestions? (not possible to send to Apple
This Whole Post is Incorrect from the very beginning!
Other SSH programs for the iPhone might drain battery life, however OPENSSH does not! OpenSSH does not have a constantly running daemon. It is simply added to the list of connections that the inetd daemon (which always runs on your iPhone) listens for. If it sees you trying to connect, it will start up sshd to handle it. When you disconnect, the sshd process goes away. This is exactly how it runs on Apple laptops. ONLY OPENSSH CAN DO THIS. See below...
Will this kill my battery?
No. Unlike other ssh packages for the iPhone, this package does not have a constantly running daemon. It is simply added to the list of connections that the inetd daemon (which always runs on your iPhone) listens for. If it sees you trying to connect, it will start up sshd to handle it. When you disconnect, the sshd process goes away. This is exactly how it runs on Apple laptops. So, no, this package will not kill your battery if left turned on because, in truth, there is nothing actually running. My package is the only one that can claim this, to the best of my knowledge.
Take it directly from the source the knows (they wrote it) http://blog.psmxy.org/pkg-info/openssh/
SSH Cant b turn off !!!
how i gonna do?
how i gonna do?
I did put it on airplane mode as I didn't want any calls/texts to wake me.
iPhone Battery -
Has anyone out there sent there iP off to be 'fixed' if so I would love tot hear if its made any difference. Are there anyother fixes to extend battery life, I have not downloaded other app's.
ciao