yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] infernal5230:
jbdroid> thanks a ton mate!

this is hands down the easiest and most effective way to extract the most out of your battery.

my i9100(stock rom, unrooted, gb 2.3.3) still got 6% left after 17 hours of use!!

50% voice calls, medium to heavy 3g use,0% brightness at all times, 3-4 hours of music playback

i really cant ask for more mate!

my phone never lasted for more than 7-8 hours earlier.

i rebooted my phone twice in these 17 hours

i was tired of installing and uninstalling various task killers, app managment tools, battery boosters, etc. none of them work.

i really appreciate your post and im gonna spread the word among my friends.

thanks
[Galaxy S I9000 General] jbdroid:
I'm glad it helped you :) Recent leaked roms do not have this problem anymore. But if you want to stick with stock roms, this might be the easiest way to temporarily fix it. I suggest you install Watchdog lite or similar apps, in that way you will know when to reboot your phone ;)
[Galaxy S I9000 General] Kyozaki:
@jbdroid thanks for getting to the bottom of this dude and thanks to all of those involved. I will definitely reboot if I notice a drain. Just wondering what settings you and other people are using? As you say you get 3-4 days battery life and I have never gotten anywhere near that. Also do you use the facebook app, as I think it may drain battery.

Even when I set the notifications to hourly, I still get them live and even a couple of seconds before my desktop pc internet browser! I uninstalled the facebook app and noticed about 7 more hours battery use, but that could have been due to playing with the screen less as I have one less reason to take my phone out of my pocket (facebook notifications).

I'd appreciate if you and/or anyone else would post their settings and what their battery life is like with the fix (and whether or not they use the facebook app :) )

Cheers

K'+
[Galaxy S I9000 General] $omator:
problem is connected to faulty apps, you can still trigger it just by installing such app what adds its service to active services. so the battery usage will be higher also even with the watchdog active.

its not as visible as it was as most apps got already updated and bugfixed for gingerbread and i9000 device specific

but it is still possible to trigger it, just watch out what you are installing,

and if it suddenly apears means one of updated/installed apps went ballistic
[Galaxy S I9000 General] Kyozaki:
Cheers I'll keep an eye out for this. Just out of interest, I'm using the Vivaldi 4 Seasons Rom, which a modification of the GS2 stock

http://xdaforums.com/showthread.php?p=19926970#post19926970

I've only had it a week but thus far it seems an improvement over stock. I also have whatsapp installed, which operates in the background all the time and thusly could be a battery drain?

Just I find it tricky to keep tabs on apps as I think the battery usage stats only count their open time and not their background work.
[Galaxy S I9000 General] coolfriends:
my galaxy s xwjvb after a heavy usage lasts just for 5 hours now what does this mean???
[Galaxy S I9000 General] Tatsuya79:
You're still on xwjvb? you should update to something recent, be it with Kies or Odin. Those drains were happening a lot on this old firmware.
[Galaxy S I9000 General] asjdwf:
So what is normal, if there is a normal, percentage for android os percentage? Mine sits at 20% at all times. I tried Juice Defender and it didn't make a difference. I tried pulling the battery and letting the phone sit, no difference.

This comes out of nowhere too. Before last week it was using only 4% and then boom it's up to 20%! I've done a factory reset two days ago and it did no good it seems. I'm at a loss now. I moderately use my phone but this is really bugging me. Is this a phone problem, battery problem, or something else?

I'm running 2.3.4 stock and only have facebook and twitter installed extra. I have all updates turned to manual also.

thank you all

AJ.
[Galaxy S I9000 General] dh2225:
If anyone still has android Os battery drain bug. There is simple and easy solution. I used to reboot my phone every day because battery would just drain like crazy. Leaving overnight with full charge in the morning there would be only 50% left. Android OS was always using CPU exessively during sleep. SOLUTION is to put wifi to sleep when the screen turns off. There is some problem with wifi chip when the screen is off and it drains battery like crazy. I had no battery drain for weeks after i made wifi sleep when the screen is off. Now I leave the phone at 100% charge and in the morning I have 98%.
[Galaxy S I9000 General] kicksilver:
Hello fellows,

I too suffer from this bug, and I read this whole thread (almost). So, is there a solution for this?

Thank you very much

Galasy S i9000b (brazilian)

stock ROM, 2.3.3
[Galaxy S I9000 General] Raider0001:
please just skip gingerbread 2.3.3 it is the problem, flash 2.3.4 or 2.3.5 or 2.3.6 or froyo
[Galaxy S I9000 General] kicksilver:
That's a problem...

I'm afraid to modify the system. I fear it'll be bricked, or have incompatibility with my apps...
[Galaxy S I9000 General] Kurre:
It shouldn't be possible to brick your phone without messing around with the bootloaders. So only a softbrick should be possible..and even that isn't so common if you just know what you're doing and flash correct files.

And if an app dev haven't updated his/her app to work with 2.3.3+ roms, then it probably isn't worth of using such kind of app...

But first of all..read the tutorials..then read 'em again..and when you totally understand all of the required steps, you're ready to go :)

Sent from my sandwiched SGS
[Galaxy S I9000 General] kicksilver:
I see.

So if I flash a 2.3.4 ROM, and apps that I currently run will work flawlessly?

A friend of mine is about to change his ROM, and he will help me a little.

Thanks for the consideration.
[Galaxy S I9000 General] MrAndroid12:
Easy, install Android 2.3.5+ :). In this version, Google has improved battery life on gingerbread and the same fix goes for Android 2.3.6 and 2.3.7
[Galaxy S I9000 General] kicksilver:
But it ain't that easy....
[Galaxy S I9000 General] Kurre:
Yes, all apps should run correctly since it's only a "+x.x.1" :D update. You're still running a gingerbread, so if your apps are now running fine, they should run just fine afterwards too. But still I say, that if they don't run fine (app is outdated), find better alternative..

and make backup (with titanium backup), if you have root access.

Sent from my sandwiched SGS
[Galaxy S I9000 General] kicksilver:
The issue is that I'm afraid of messing up with my system.

I emailed Samsung yesterday, and they said a 2.3.6 update will be released on Kies shortly.

So I guess I'll wait for it.
[Galaxy S I9000 General] Kurre:
Well you are quite safe if you aren't flashing the bootloaders..you might need USB jig on some point, but that's the only safemeasure what you'll need to have (getting jig for just in case).

And yes it's possible to mess up the system, but since you're not flashing those bootloaders you are able to flash rom again..and again..and again.. :rolleyes: only annoyance is that you have to install apps and setup your phone again (if phone gets wiped) and here the titanium backup comes handy :)

But of course you can wait the official release of 2.3.6 rom..but just remember that also Kies is quite good to mess up phones ;) (well, maybe not the latest versions anymore, but still it's not bulletproof either :rolleyes: )

Sent from my sandwiched SGS
[Galaxy S I9000 General] kicksilver:
I see.

I'll see if my patience beats my fear. If it takes too long, I'll do it myself.

But I am waiting for Samsung's update because I want brazilian portuguese (not Portgal's) and I want my digital TV to work.
[Galaxy S I9000 General] kicksilver:
So, I flashed the 2.3.6 value pack into my GT-i9000B, and I'm amazed at how good it is compared to that trash 2.3.3 was
[Galaxy S I9000 General] vol2ume4:
Is my battery remembering?

Hello!

Recently I used a battery drain app when my stock battery was at 30% until it drained completely and then did what is often published as calibration process (charge fully..etc.).

Now I am using the fully charged battery since yesterday. Today the battery was doing fine until it reached 30%. From that level with no setting changing it started draining and was at 10% in an hour plus. As if it was re-running the battery drain experience.

Any suggestions?

Thanks in advance.
[Galaxy S I9000 General] galaxy-explorer:
Not correct. I have battery drain (Android OS over 50%) with Samsung stock 2.3.5 ROM...
[Galaxy S I9000 General] dumle:
I've also experienced the android OS battery bug while running 2.3.4+. However, I solved it by flashing the XWJW1 modem instead of using the golden froyo modem ZSJPG. Just a tip for anyone who still runs GB and experiences this bug.
[Galaxy S I9000 General] jbdroid:
Check Battery Usage in the Settings menu and report back if you could, better if you could attach screenshots of it. :D
[Galaxy S I9000 General] say942:
The auto startup skype app is also the culprit

Galaxy S XWJVB
[Galaxy S I9000 General] jbdroid:
Guys this thread is all about Android OS battery issue :D

By the way I found another possible culprit.

It might be the SNS service when in "Restarting..." mode.

If you have Android OS going mad again go to:

Settings > Applications > Running Services

Please check "SNS" service. If it says "Restarting..." then please confirm.

Thanks!
[Galaxy S I9000 General] xfakexbloodx:
it s strange that you got 3-4 days,,,

becouse mine just able about 1- 1,5 days...
[Galaxy S I9000 General] .:Crack:.:
What Task killer are you talking about?
[Galaxy S I9000 General] ulsa:
My experience and also a few more people have had this is that this happens after you have played a very graphic demanding game on the phone like Angry Birds, Asphalt. It is as if the phone can't wind down after the game. Maybe something to look into?
[Galaxy S I9000 General] zidz:
LOL's :) *short message*
[Galaxy S I9000 General] mammenj:
I have SNS service always in restarting mode so I killed it.

I will see if it makes any difference in battery usage.

/ Sent from my GT-I9000 on stock JVK /
[Galaxy S I9000 General] LiverpoolFCfan:
Seems to be lots of theories on this thread - I can add another !

In my case having had no issues for 2 weeks, I went in to the market to add a new app. When it installed I noticed it had an option to check for updates. I thought that sounds good, so I went back and turned it on for the other 5 apps I had downloaded (flash/skype/gmail update/youtube update/and a couple of others)

Suddenly I had a huge battery drain, and Andriod OS was the culprit.

I went back and turned off all the auto-updates in the market, and battery life settled down to normal again.

I'm interested to see if anyone else has seen this - or can try it out if they have a battery drain issue.
[Galaxy S I9000 General] addicted2088:
Thing is, I have nothing running in the background that can cause this. No SNS accounts, no weather widgets. Everything was normal. But just starts draining for some reason. Never happened after those two times.

And sorry, had restarted and cleared memory before posting the previous message.
[Galaxy S I9000 General] jbdroid:
I have been playing those games too including Glyders but Android OS remains calm.

Yeah that is my usual battery duration. Sometimes I do get just 1 days when I play games such as Glyders, addicted to it, finished the game in 6 hours straight and 20% battery left after that. By the way did you just flashed GB? If yes wait for about 3 battery cycles. The first time I flashed GB my battery cannot even last 6 hours. lol then after 3 full charge/discharge, from then on my battery is long enough for me not to worry about it, unless Android OS gets mad again. :D

Thanks! Apparently after a few days test, SNS doesn't seem to affect Android OS. Let us keep on testing until we could pinpoint the culprit. I might as well take logcats the moment Android OS goes berserk. Keep on investigating!
[Galaxy S I9000 General] jbdroid:
Thanks! will try it out and check if I get the same result. If others could confirm this too then I will definitely put it in the first post. :)
[Galaxy S I9000 General] deathst:
Been testing this and it seem to work well.. in the build.prop in /system

there is this line

wifi.interface=eth0
wifi.supplicant_scan_interval=15

I changed it to the following and it makes my battery last alot better now :)

#wifi.interface=eth0
wifi.supplicant_scan_interval=30
[Galaxy S I9000 General] Tatsuya79:
I tried this this morning while reading this post, everything is unchecked for market auto updates but I'm right in the middle of an Android Os battery drain...

I also tried the "clean ram" option in the app manager, it didn't stop it.

I have no internet, no wifi activated for the whole day, just the phone.

I killed all samsung sync apps, I'm on wifi sleep policy to "never".

It could be games.

I played some and noticed no battery drain, but yesterday and today as well some friends played on my phone and they left several games sleeping in the background.

Those 2 times, I had the battery drain right after that, even if I closed everything (complete reboot stops it though).
[Galaxy S I9000 General] jbdroid:
This problem is getting trickier. Auto update in Android Market seems one of the possible culprit. Apparently, playing games can occasionally trigger Android OS too.

Just last night I had Android OS madness again. First, on the phone dialer I typed *#*#4636#*#* and chose battery history, guess what? Market is on the top of the list! I only used Market for 30 minutes and played games more than using it and yet it has the most battery consumption. But when I checked Running Services in Application Settings, Market is not running in the background.

Guys whenever you have this problem, please dial this: *#*#4636#*#*. Might gonna help us a lot in this investigation. Thanks!

Edit: Please select Usage Statistics when you dial the number above. In there you will find a list of apps with their corresponding usage time.
[Galaxy S I9000 General] jbdroid:
Thank you for your suggestion. For non-root users you can just turn off WIFI when there are no hotspots and change the WIFI policy to never to automatically turnoff WIFI when the phone is in sleep mode.
[Galaxy S I9000 General] :
Hello there.. I don't know if it is really related. But my girlfriend's phone, since the last Maps update, got the drain issue (two times) after open the app. To have in mind... she have a HTC Legend. So maybe it is not GingerBread related but Maps related.

Regards.
[Galaxy S I9000 General] jbdroid:
Hi, thanks for dropping by. We know that there are apps that could drain the battery. But this thread is all about "Android OS-causing battery drain" problem which appeared since we installed GB on our phone. On previous versions, we do not have this problem (or not seen since Battery Usage is just included in GB).

Thank anyway for trying to help :)

Edit: Maps can also trigger "Android OS" by the way ;)
[Galaxy S I9000 General] Fresh One:
i rooted and uninstalled maps
[Galaxy S I9000 General] Heritz:
Guys, when I enter *#*#4636#*#* in my phone, I don't have the battery history option. Only:

- Phone information

- Battery information

- Usage statistics

- Wifi information

I own a SGS I9000 on XXJVK, rooted with FuguRoot. Nothing else. Maybe its only available for phones rooted with CF-Root?
[Galaxy S I9000 General] azleep:
I found that killing update services, DRM services and maps from running services after bootup significantly boosted battery life for me. with moderate phone/internet usage, it's lasted over two days each charge (so far I've recharged twice)
[Galaxy S I9000 General] jbdroid:
I am sorry. What I mean is Usage statistics. In there you will find the apps and their corresponding usage duration. I will change the term from now on. ;)
[Galaxy S I9000 General] mammenj:
Killing SNS improved my battery performance.

/ Sent from my GT-I9000 on stock JVK /
[Galaxy S I9000 General] parhelion69:
I've also experienced the android os going crazy, it happened the first time I upgraded to gingerbread, I had to do the temporary fix twice, but now I don't have any issues!

My guess is that android OS is optimizing caches and the like, have you guys done dalvik wipe recently? Upgraded roms? different kernels?

I'm on criskelo's rom v34 (yep, haven't upgraded to the latest version yet) and fugumod 3.5 (I was changing fugumod's versions these days so I don't want to also upgrade rom, in case I have to find a culprit for anything). This combination has been great so far for me

Anyway, I've also done some things: I calibrated my battery, also it had like 3 full discharge-complete charge cycles, I downloaded an app starter manager and denied startup to most applications (but maps still starts, pesky app). I froze the software update app and on every boot I kill maps and maybe some other apps. I also set the wifi policy "on screen off" and I activate usb debugging mode (to easier copy things from my PC, but I always leave it on)

Yesterday I had very heavy usage (gps, wi fi, 3g, facebook, video, calls, installing apps, restoring backups, 3D gaming, music, etc) and after almost 24h I still had 20% battery.

Today I unplugged at 8:30am, but had light usage: watched some videos, browsed the internet for 30 mins, checked and updated a few things in facebook but no calls, and at 1:00am (like 16 hours later) I had 70% left. Android OS (interestingly shows twice but with slightly different names) has used 10% of the battery (both combined) as showing in the power usage graphs.

I guess it's all about settling on and rom/kernel, checking some apps so they don't go wild and letting android do its stuff over time.
[Galaxy S I9000 General] jbdroid:
I didn't do any of the above. Even before when I was on stock JVK (not deodexed rom) this problem already exists. I hope in the next release of GBs this problem will be fixed :)
[Galaxy S I9000 General] webwude:
Just a guess:

i removed SNS (constantly restarting on my JVB system) and software update from the startup (with autostarts). Let's see, if there is any difference...

Kind regards,

ww
[Galaxy S I9000 General] jbdroid:
We will be waiting for the result ;)
[Galaxy S I9000 General] Tatsuya79:
You guys know about this issue?

It seems to be the same and affecting froyo as well.
[Galaxy S I9000 General] jbdroid:
It seems the same but just different name and that this issue has never occured on froyo, only in GB.

Wait, that problem on EVO has been going on for a very long time?! And just we thought Samsung is one of the worst out there. lol Glad they acted on it and pulled GB out before this problem affects more users. :)
[Galaxy S I9000 General] rlorange:
Just got my first AndroidOS drain bug :-(

I am 100% sure now that this is indeed the reason GB was pulled from release by Google. Google takes Android battery drain issues very seriously.

**Simply Honey 3.0, UltimateGB beta7 kernel, JQ1 modem**
[Galaxy S I9000 General] luci.pacurar:
After some time here are my battery usage results:

1. Cell standby 33%

2. WeatherBug hourly update 20%

3. Display 13%

4. Voice Calls 10%

5. Phone Idle 6%

6. Android System 5%

7. Android OS 3%

8. Google Services 3%

9. Dialer 2%

10. Gmail 1%

11. Android Core Apps 1%

...and my battery lasts for a day, or a bit over one day. I'm using my phone in 3G UMTS mode only, no HSDPA/HSUPA to save some more power. The Location service is enabled but not the GPS.
[Galaxy S I9000 General] Tatsuya79:
From what I understood, you can see it's the "suspend process" if you use a tool like watchdog to see all the process details.

If you use the standard battery history it only shows you "Android OS" as suspend is part of it.

The explanation of the Google employee at the end makes sense: a bad driver implementation in a rom and this suspend bug triggers, happened for HTC with Froyo, happened with Nexus One, seems to happen for our i9000 on gingerbread...

Anyway, I installed watchdog and I'm waiting for this bug to happen to see for myself.
[Galaxy S I9000 General] scorpeeon:
ok, i tried literally everything. cleared data from software update, deleted mentioned system apps, disabled automatic update in market for all apps, set cpu to conservative mode in setcpu, etc, etc. even when it looked like for a few days that it was ok, later it happened again and again. i was sick of having my battery drained randomly so i found the ultimate solution: went back to froyo, that's it. just let me know when a new official gingerbread is out, but only after everybody uses it since weeks and nobody experienced anything related to battery draining. until this happens, there will be no gingerbread rom for me.
[Galaxy S I9000 General] JJEgan:
Better battery on GB for me though nothing much wrong with 2.2.1 .

jje
[Galaxy S I9000 General] jbdroid:
Sad. :( Thanks for your info. I guess we just have to wait for the new GB. And lets hope they will fix this soon. By the way, I flashed again with repartition on and hard reset the device (flashed many times without doing those). So far no crazy Android OS. Let's see if it will not occur for a week of heavy use (back to developing apps :D )

EDIT: Ater only a few hours use, the problem popped out! LOL oh well lets just wait for the fix. Someone above has a very good explanation :)
[Galaxy S I9000 General] webwude:
First results:

as i am in a foreign country right now, with no WiFi and no data (roaming forbidden), the battery usage is almost a flatline.

Now i have inserted a local sim with data enabled, let's see, if there are any issues regarding push and background data...

Kind regards,

ww
[Galaxy S I9000 General] jbdroid:
I am pinning your explanation as the most probable cause of this problem. We will be waiting for the result of your test!

EDIT: Tatsuya, you are right. That is definitely the root cause of this problem. I re-read the bottom part (as I just took a glance earlier) and other devices have problem this problem too.

Quoting from one of the responders there:

And from the Google employee's explanation:

Thanks Tatsuya! We are done investigating. Thank you for pointing us out to the right direction!

Case is now closed. We cannot do anything to fix this problem but to wait for Samsung for the proper fix.
[Galaxy S I9000 General] Tatsuya79:
I took the explanations from there.

Google stance seems to be "fix your drivers, phone makers" but some kind of loop-cpu-drain prevention should be implemented in the OS.
[Galaxy S I9000 General] jbdroid:
But that would require some device driver modification. From my understanding, chipset device drivers are closed source. If only the OS can somehow prevent or "kill" the suspended processes. For now the temporary fix is just to reboot the device.

By the way please read the first post. I put you in there. We appreciated your help. :)
[Galaxy S I9000 General] Tatsuya79:
Ok thanks for the credits. ;)

This previous link I gave explains how you can use watchdog to alert you when this bug triggers, so you know when to reboot your phone to stop this leakage (if you really want to stay on gingerbread until a fix is made by Samsung).
[Galaxy S I9000 General] jbdroid:
Thanks! will download it just to make sure :)
[Galaxy S I9000 General] webwude:
Hopefully Google and Samsung already are aware of this fact, otherwise the have to be informed immediately...

Although the bug is not present at the moment on my phone, it seems it can come and go no matter what you do...

Kind regards,

ww

P.S. may be it's a good idea to change the topic title?
[Galaxy S I9000 General] jbdroid:
They are already well informed I think. I will be changing the title as soon as I could think of a better one. :)

Thanks for your help too!
[Galaxy S I9000 General] Tatsuya79:
The culprit caught in action!

And as soon as you switch your screen on to check, it stops... sleep mode issue, we would never had noticed it with a real time tool.

You can tell watchdog to alert above 50% cpu usage.