I agree with this. I'm starting from scratch and adding 1 item at a time. Personally, I don't think Cydia and SSH are to blame, but maybe they are.
Originally Posted by dtube
My iPhone has these differences vs when it was on 1.1.4:
- Wifi via Certificate & Radius
- Exchange (That I can only access while connected to above Wifi)
- VPN (that connects but doesn't work )
- New Appstore apps
- New Cydia & SSH
- iPhone 2.0 firmware
Green = I've tested, and it's not the cause (for me)
Orange = I haven't tested
Red = I've tested, and it is the cause (for me)
I've went to a completely base image, with just 2.0 and TZones and it is snappy, and battery lasts a long time. So I can rule out PwnageTool and 2.0.
Exchange & Wifi
Tonight/Tomorrow I'm testing whether it's the wifi/exchange setup. Maybe the phone is constantly looking for the exchange server?
Edit: My particular setup, an enterprise WPA2 Radius server with certificate based authentication, ate through the battery. The phone was fine throughout the night when it couldn't hit Exchange, so my theory of constantly looking for Exchange is incorrect. VPN Not tested because it doesn't work through my company.
I cannot test Exchange without this Wifi, so I don't know what's causing it. In theory I could test just the Wifi, but there's no point in it for me. Others should test removing Exchange settings and seeing if it helps.
Friday, I'll test the AppStore apps by downloading some, opening them, and not restarting the phone. The apps I had were Zenbe, AIM, Aurora Feint, JirboBreak, Restaurants, Yelp, Tomato, and Yes|No Free. I think this will be the culprit since there are reports that legit 3G users have problems as well.
Edit: Ran these programs, plus installed Google and SmugShot. Didn't reboot phone. Battery life is fine - about 75% full after my usual test.
Cydia & SSH
On the weekend, I'll test Cydia by installing Cydia, updating it, and installing SSH. Again, go without restarting the phone.
Edit: I ran this for two tests, fully updated as of Sunday morning. The first time, battery ran down to under 50% in 12 hours. I rebooted the phone, and the second day the battery lasted a decent amount. A little more drained than usual, but not enough to indicate that Cydia/SSH were doing something. Could be that I used my phone more, though I don't think I did. However, my phone did crash twice requiring a hard reset. Not saying Cydia is to blame, but in all the other tests I've done I haven't had my phone require a hard rest once.
The measure will be fully charging my phone before going to sleep, then doing the test at night (running apps then closing them), and seeing if it can make it to 5:00 the following day without hitting the 20% alert. I did this regularly on 1.1.4 and can do it now on a blank image, but couldn't do it when I had battery problems.
If anyone wants to join in my testing or critique my methodology - feel free. I think this is as objective as I can get while still using the phone, but if there are better ideas, I'd be glad to join a community project.