Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I've got Safari and Mail running. As for jailbroken apps, WinterBoard (which takes up a lot of system resources too, I think?), Remove Recents and Lockscreen Clock Hide.

Something tells me that all of these battery life issues on iOS 4 devices have to do with the persistent connection.

I don’t have persistent wifi any more, at least what I thought it was supposed to be, which is on all the time. If my phone sleeps, the wifi goes off, but I thought it was supposed to stay on always with iOS4.

So, the test I perform to really check battery is to run only 3G and see how many hours of surfing (nothing else) I can get. Then I check wifi after charging to 100% again. You should get 6 hours 3G and 10 hours wifi.

I’ve had no issues with my battery from day one, except for that Signal issue. It’s all fixed now. Do you still have battery issues? What are the add-ons in mobile substrate (you’ll need SBSettings to check)?
 
so whats the verdict? Is ms3209 indeed the solution for battery drain or is the latest ms not causing any issues? I downgraded and hard to say if there's much difference in battery drain, but I did notice Skype no longer multitasks. Tempted to go back to ms3228.
 
I don’t have persistent wifi any more, at least what I thought it was supposed to be, which is on all the time. If my phone sleeps, the wifi goes off, but I thought it was supposed to stay on always with iOS4.

So, the test I perform to really check battery is to run only 3G and see how many hours of surfing (nothing else) I can get. Then I check wifi after charging to 100% again. You should get 6 hours 3G and 10 hours wifi.

I’ve had no issues with my battery from day one, except for that Signal issue. It’s all fixed now. Do you still have battery issues? What are the add-ons in mobile substrate (you’ll need SBSettings to check)?

Wasn't that supposed to be a feature in iOS 4?

Yeah, my battery life sucks since I installed iOS 4, but I have no idea why.

Mobile Substrate add-ons:

- Activator
- ClockHide
- WinterBoard
- RemoveRecents
 
A) Thank you for not only telling me, but providing a link to this forum. Most users simply talk to each other, and do not report issues.

B) However, this thread is not providing any concrete numbers, or any indication of testing methodology. Meanwhile, there is disagreement among users as to what version is even causing the problem.

Let me be clear about this: MobileSubstrate doesn't actually /do/ anything. If you install just it, and you let your phone then sit there not doing anything, it will /never/ use any CPU, ever. When a program starts up it is injected into its process space, it iterates a folder to see if it should inject anything else, and that's it: if there is nothing in that folder then its involvement in that process is entirely done.

This regime is so thoroughly enforced that the engine it comes with for letting extensions modify code is actually bundled separately, and will not end up in any processes unless one of the extensions actually needs it and requests it.

It's even better than this, though: MobileSubstrate only even loaded anything at all in user space on the primary CPU. Put differently, it only affects normal boring applications. This entire CPU is simply put to sleep when the phone is on standby, and is only woken up occasionally for timers, like an alarm or a calendar event.

I have just now verified that this is the behavior I'm seeing on my device: the entire night my phone was asleep, except at 3am when it woke up to do this "provisioning profile janitor" task that Apple apparently thinks is important enough to do every day at 3am, and which I had never heard of before and am now incredibly curious about the purpose of ;P.

Therefore, it is very difficult to understand how MobileSubstrate could possibly cause whatever issue you feel you are experiencing.

Meanwhile, things people really care about, things like battery life, memory usage, and signal strength, are very difficult to measure. The reason for this is that devices that are this complex use these resources in difficult ways, and they aren't things that you can directly just count.

Like, you can't use the battery percentage indicator to do this, as there is a /large/ amount of complex math that is going on just to pretend that it has any clue how much battery you have.

Example: if you leave it charging while it is at 100%, it typically will keep charging for quite a while, as it doesn't really know it is charged fully, and will continue to trickle charge as it thinks is safe. Then, when it starts discharging, its knowledge of how charged the battery /may/ have updated, allowing it to start decreasing the battery life. However, it also may have not: it depends on how many times it has seen itself in this state.

Then there are issues that simply rebooting the phone is going to cause major changes for a lot of users. As the device is used for a while, memory in processes starts getting fragmented, which leads it to page more and more. You can restart SpringBoard, which helps some, but you really need to reboot to totally fix the problem.

For most users, the only time they reboot is when they upgrade or downgrade MobileSubstrate. Therefore, users who believe "man, my battery performance really sucks" go and do something, and then are like "wow, this helped a lot, thanks!". Unless you switch back and forth multiple times, performing a careful test each time, the data is therefore totally worthless.

Meanwhile, I happen to know that planetbeing has been doing extensive tests regarding the battery usage of ultrasn0w, as he became paranoid that he was doing something weird with the debug serial port after receiving a number of comments like this. As far as I understand, these tests have shown "no drain" (whether you are using ultrasn0w 1.0 or 1.1, btw), and as ultrasn0w uses MobileSubstrate, I can infer.

Finally, there are also comments here that make it sound like jailbreaking itself is an expected battery drain, and that downgrading MobileSubstrate is bringing users "almost" back to where they had been before jailbreaking. Jailbreaking literally changes a few bytes in the kernel, and what it does is actually /bypasses/ code; if anything, if we could measure battery life effectively, what we'd find is that jailbroken phones get infinitesimally /better/ battery life than non-jailbroken phones.

So, please: if you would like to report a battery drain issue in something, I really need you to provide your testing protocol, so we can actually analyze it and determine if it is a true cause of concern or not. When I did similar things for people claiming memory usage issues with WinterBoard, I found that there were serious issues in the "common sense" way people were trying to measure that, and was able to elucidate some the issues.

saurik,
I don't know if you've seen this other thread, but many of the users have done strict testing to determine the source of the battery drain issue. Maybe you can take a look at it and see what you think?

http://modmyi.com/forums/general-iphone-chat/722706-iphone-4-battery-drain-after-jailbreak.html
 
If I may, I like to share my 2 cents. I am not an engineer or QA. But after JB my IP4 the very first day JB available, I do need to recharge my IP4 at the very least once a day and sometime twice a day, if I play around a lot specially install some apps that day. The way I see this is I have all the fun and I need to pay for it. But after I follow this thread since last night and thanks for the OP, I reversed MobileSubstrate latest version back to MobileSubstrate 3209. It is the first time after JB, I don't need to charge my phone daily. With this rate, I could just wait until tomorrow morning and change it at the office. Regardless it is to do with MobileSubstrate or not, I am pretty sure by uninstall and re-install the MobileSubstrate, at least in my case, it make a different to me. Thanks OP!!!
 
If I may, I like to share my 2 cents. I am not an engineer or QA. But after JB my IP4 the very first day JB available, I do need to recharge my IP4 at the very least once a day and sometime twice a day, if I play around a lot specially install some apps that day. The way I see this is I have all the fun and I need to pay for it. But after I follow this thread since last night and thanks for the OP, I reversed MobileSubstrate latest version back to MobileSubstrate 3209. It is the first time after JB, I don't need to charge my phone daily. With this rate, I could just wait until tomorrow morning and change it at the office. Regardless it is to do with MobileSubstrate or not, I am pretty sure by uninstall and re-install the MobileSubstrate, at least in my case, it make a different to me. Thanks OP!!!

This is what i experienced too. i tried rebooting multiple times, removing/reinstalling apps..... nothing worked. i read on modmyi about MS and i downgraded, boom, problem solved instantly
 
Tagging this thread.
I never understood the need for people to write this. :confused:
There's a "Subscribe to this Thread" link at the bottom of each thread, so why the need to post and tell everybody ?

By the way, I'm making a cup of coffee. :p
 
this is the main reason I wont jailbreak for now, I jailbroke my ip4 for 12 hours an in that 12 hours my phone spent most of the time in standby and I lost 20/22% battery life

I installed very basic apps:
openssh
sbsettings
winterboard
ericautilities
ifile
signal
 
I never understood the need for people to write this. :confused:
There's a "Subscribe to this Thread" link at the bottom of each thread, so why the need to post and tell everybody ?

By the way, I'm making a cup of coffee. :p

Perhaps I don't wish to receive an email for every post this thread will get, and would rather just search for my post in the future in order to find the thread.

I am exstatic to know that you feel my simple post was beneath your standards though. A little introspection on your part may thwart your future misconceptions.
 
Perhaps I don't wish to receive an email for every post this thread will get, and would rather just search for my post in the future in order to find the thread.
Not good enough!
And you also have a Subscribed Threads section in your Control Panel.
 

Attachments

  • sub.png
    sub.png
    41.3 KB · Views: 70
I've never experienced monumental battery drain issues with jailbreaking...nor am I super paranoid about it either BUT I never have had to do a mid day charge, I'm still at above 20% by the end of the day with moderate to heavy use (mostly web browsing on 3G).

I think its a combination of many users different environmental settings such as signal strength, what they actually have installed and what apps they are using.

I personally don't think is a mobilesubstrate problem at all
 
Not good enough!
And you also have a Subscribed Threads section in your Control Panel.
Not good enough? Are you prepubescent?

Congratulations for adding even more off-topic banter.

Run along now.
 
So I did this downgrade, and just noticed that all the apps that I have installed from Cydia, do not work. What I understood, or tried to in this thread, is that all the apps need to be reinstalled after this tweak. My question is, do I have to remove them then reinstall them, or can I just modify->reinstall them? I tried the modify->reinstall method, but that didnt work. Is there something I am not doing right?

I think a 2nd reboot will fix your issue, worked for me.

That didnt work. All my cydia stuff still is not working. Anyone have any suggestions?
 
Did anyone miss Saurik's post in this thread?
There's no proven need to downgrade MobileSubstrate.

ha +1 for that I guess not everyone read the saurik's entire post, I did experience a problem in the beginning with battery drain but it was ultrasn0w for me. After 1.1.1 was released it has improved drastically for me and I currently run in MS

PreferenceLoader
Activator
Libhide
Ultrasn0w

I had signal prior to its most recent update but I restored and setup as a new phone and haven't installed it yet but I feel that has helped me from carrying over random files from my previous backup (setting up as a new phone). I have been adding here and there but on a full charge in standby not using it at all still stays at a 100% according to the phone all the way up to mid day even after reboots to make sure seems to be a hit or miss with some people I guess :/
 
well I jailbroke again and in almost 4 hours I have gone from 100% to 57%

I had installed:
openssh
mobilesubstrate (latest version as people an saurik said there shouldn't be an issue)
winterboard
lockinfo
lockinfo weather
hide lock clock
sbsettings
nexus one video wallpaper
ifile

are video wallpapers a major drain on battery?
 
this is the main reason I wont jailbreak for now, I jailbroke my ip4 for 12 hours an in that 12 hours my phone spent most of the time in standby and I lost 20/22% battery life

I installed very basic apps:
openssh
sbsettings
winterboard
ericautilities
ifile
signal

I'm losing about 20% overnight. It's not to the point where it's unusable... (previously, I had to restore after something made my battery drain ~15%/hour). I only have a few things installed:

sbsettings
lockinfo
ifile

I have push email turned off (but checking every 15min), 3g/wifi/bt all on -- I don't think these should have to be sacrificed or manually tended to. I'm on MS 3228. I don't really mind needing to charge overnight -- I started yesterday morning at 8am w/ 10%, ended the day at 11pm at 69%, then woke up to 49%. If only my iphone had my ipad's battery (which, although jailbroken seems stuck at 100% :) )
 
I'm losing about 20% overnight. It's not to the point where it's unusable... (previously, I had to restore after something made my battery drain ~15%/hour). I only have a few things installed:

sbsettings
lockinfo
ifile

I have push email turned off (but checking every 15min), 3g/wifi/bt all on -- I don't think these should have to be sacrificed or manually tended to. I'm on MS 3228. I don't really mind needing to charge overnight -- I started yesterday morning at 8am w/ 10%, ended the day at 11pm at 69%, then woke up to 49%. If only my iphone had my ipad's battery (which, although jailbroken seems stuck at 100% :) )
I don't know... with all of that stuff on, I'm not surprised you lose that much battery life. Just shut off unnecessary things while you sleep and turn them back on in SBSettings when you need them, which will literally take you no more than a few seconds. Overnight I have pretty much nothing open and I lose 0% to 1% of battery life when I wake up int he morning.
 
The only thing I'd add regarding Saurik's message is that rather than people dream up some testing method and let him know what they used, wouldn't it be less hassle if someone came up with a methodology for testing and that people should use that method? That way people don't have to keep reinventing the wheel.
 
The only thing I'd add regarding Saurik's message is that rather than people dream up some testing method and let him know what they used, wouldn't it be less hassle if someone came up with a methodology for testing and that people should use that method? That way people don't have to keep reinventing the wheel.

I think I'll wait for the next version of MS rather than downgrading. If Saurik is now at least aware of the /possibility/ of a battery issue, then it should be addressed in the next release. Really don't feel like reinstalling all my apps.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.