yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] RorixRebel:
well you know...what the topic is for

installing the kernel to fix it

i also disabled the auto rotation which apparently triggers the drain as well :D
[Galaxy S I9000 General] celeronix:
Hell NO :D No way!
[Galaxy S I9000 General] sewe:
I haven´t done any of this and my former SGS doesn´t having problems with draining

It´s my wife who use it now and it lasts 2days and 13h and it was about 20% left
[Galaxy S I9000 General] snowfallen:
This guy might have something here...I removed the apps he stated (had already deleted syncmdlm.apk) + another app that was named syncmld.apk and after running and exiting Asphalt 6 HD, Fast 5 and Riptide GP (using CF3D...don't flame that SGS can`t run Tegra Games) there was no drain in the next 30 minutes.

I will keep monitoring the occurence and see if this is just random luck or it's actually a breakthrough.
[Galaxy S I9000 General] [Ramad]:
Well , I have a compiled Kernel for you guys with only 2 settings changed from stock kernel by Samsung(1 setting is sound related):

Userspace governor is disabled

I suppose that this can be the issue when enabled

All SoC codecs are compiled

This has nothing to do with fixing draining, I was just testing sound quality and if this has any effect.

Try and see if that does fix your draining issue, if not then it was a try.

Please report back if you see any positive change or no change at all.
[Galaxy S I9000 General] azzledazzle:
Not so much as SIM card related, more to network / modem

Are you both with the same network provider ? for instance : If you are with T-Mobile and your wife is with Vodafone, You may experience more drain than her, because your phone is working overtime to find the best signal, Whereas your wife has a perfect signal, so her device can relax and stop panicking - so to speak - i hope that makes sense

it did in my head

EDIT: i have terrible 3g signal in my area, if i switch to 3g i can see my battery decrease to 0, if i stay on 2g (which is perfect in my area) my battery hardly drains at all.

Coverage is a big issue for a smart phone / battery life
[Galaxy S I9000 General] xtoad:
Where can we find your compiled modified stock kernel? ;)
[Galaxy S I9000 General] [Ramad]:
Look at this thread post #58, three posts earlier.
[Galaxy S I9000 General] qtekker:
Interesting. Thanks Ramad. I've installed the kernel (unfortunately no cwm and ext4, but fortunately root stayed). Let's see if I have draining in the comming days. I'll report back.

In my case it's difficult to see when there is no draining. It's because draining happens only once or twice a week.

Today I switched from Darky 10.1 to JVO + CF Root. After 2 hours my SGS started to drain. I switched to air plane mode and back, and the draing stopped. No need to reboot.
[Galaxy S I9000 General] [Ramad]:
The kernel is only to find out if disabling Userspace governor does eliminate draining or not, if it does then developers can benefit of it when compiling there Kernels, therefor there is no fancy stuff.

If it does not help then it was only a try.

For those that want to know what Userspace governor does, it's different than Powersave, Ondemand and Conservative governors, it give the applications the right to raise and lower CPU frequency, by disabling it then the requests must go through the Operating System and the CPU...no free hands.
[Galaxy S I9000 General] sergiish:
Hi. We have the same network provider. But there is a difference in SIM. My wife can use SIM for banking but I cannot. So 2 SIM cards from one network provider have different features. I haven't no other explanations.
[Galaxy S I9000 General] mammenj:
every time I use map with gps (with network location and sensor aiding) and auto rotate, phone gets the android os bug.

those who are not getting this bug, try using all of the above and see.
[Galaxy S I9000 General] strike1979:
yep using google maps and navigator

it drain my baterry (SO)
[Galaxy S I9000 General] zlivan:
I'm not getting the bug, using maps and auto rotate or whatever else I do. Granted, I don't play Gameloft games, but I've tried Angry Birds and no drain is happening.

Stock JVH, Fugumod 4 BE Ultra, JFS, no external sd card.

Hope this helps...
[Galaxy S I9000 General] angry_machine:
ok how about i want to flash it over jewes 4.3.1 ?
[Galaxy S I9000 General] zlivan:
There shouldn't be a problem, really. You flash a normal Fugumod first, then convert to jfs or ext4, then flash the be ultra version and you're done. Disable lagfixes if you have them before flashing anything.
[Galaxy S I9000 General] $omator:
as the matter of fact it could have if card is couple of years old (aka 2g sim card)

http://www.ehow.com/about_6694312_3g-sim-card_.html

try setting phone to GSM only mode

or use wo SIM card inserted - but i guess you would like to have ability to pick up calls =)
[Galaxy S I9000 General] $omator:
stock stops to be stock after you use fugumod =)

setting conservative will help for battery - not that much but its always something

surley will not help for the drain problem and will make phone less responsive =)
[Galaxy S I9000 General] zlivan:
C'mon, you know what I was trying to say ;) It was stock to begin with and then modified with Fugumod, better? :D

Whatever it is, the phone is sleeping like it should.
[Galaxy S I9000 General] $omator:
placebo =)
[Galaxy S I9000 General] xtoad:
I enjoy reading your contrary posts. At least you are trying to find meaning and reall evidence...

But seriously, do you know what a placebo is?

I can see the placebo effect everywhere on these forums; people always saying 'smoother' and 'faster' as a 'feeling' , w/o actual proof. (And we know benchmarks can be misleading...:rolleyes:)

However, it is pretty easy to tell the diff between 6hr batt life and 2 days! (ie NOT a placebo)

Though we will see if the bug returns. ;)
[Galaxy S I9000 General] zlivan:
There is no proof that Fugumod is responsible for the lack of drain, that's for sure. I experienced the big once for no obvious reason so I flashed the be kernel purely out of curiosity. The bug may have nothing to do with it but I don't have the time nor interest to test every possible situation or potwntial solution.

People do tend to install a lot of crap so that may be a part of the problem...
[Galaxy S I9000 General] $omator:
in most cases like above what helped is a fresh install = fresh untouched system

my new theory is that one having drain is one having few years old sim card not 3g one =)
[Galaxy S I9000 General] qtekker:
Is stock JVO (repartition) plus CF Root fresh enough? I don't use 3G (yet). Still drain. So now I'm trying Ramad's compiled kernel. Nothing to loose.
[Galaxy S I9000 General] $omator:
and here is best simple tool to configure cpu governors and speeds

No-frills CPU Control

and here is some explanation of governors

still i thinh that 'old sim card lead' is promissing =)

how many of you having drain got sim cards that have few years?
[Galaxy S I9000 General] Raider0001:
Mine sim card is a new 3g one, barely 1 year old
[Galaxy S I9000 General] $omator:
so aonther myth breaken down into pieces =)
[Galaxy S I9000 General] {Angel}:
Not quite, CF-Root employs a series of tweaks or hacks by default, one at least is not stable and gives problems with bluetooth and factory restore from 3e recovery gives problems. Dunno why Chainfire has not addressed this yet but for now I recommend you switch to stock kernel (root stays) and give it a whirl.
[Galaxy S I9000 General] $omator:
there are no such problems with cfroot on jvo jvh or any other =)
[Galaxy S I9000 General] [Ramad]:
Can one of you explain how all works fine on Froyo no matter what SIM-Card you use or if you use 3G or not but not on GB, if it was hardware related then it would not matter if it was Froyo or GB, don't you agree?

My opinion is that you are looking at the wrong place.
[Galaxy S I9000 General] {Angel}:
What problems? Battery drain? I'm not saying cf-root has a drain problem but the BT and factory restore problems are well recognized. The BT problem is resolved by turning of the kernel scheduler tweak I believe.

Altough you may have just been jerking my chain there :)
[Galaxy S I9000 General] dreamers2k1:
well i am criskelo rom. i just dont use the task killer and drain by android os drops to 2 to 3 percent. if i happen to use a task killer there after i reboot my phone and drain never happens
[Galaxy S I9000 General] sergiish:
Thanks a lot. I've switched to GSM only mode and this really helps. I think I have to change my SIM for new one. :)
[Galaxy S I9000 General] celeronix:
Agree!

The difference between a standard SIM card and a so called "3G" one is mainly in the memory size and some security improvements. And according to the link given by $omator if you have a previous version of the SIM it turns out that you won't be able to access and use 3G network.

Your SIM card is not a source of any draining. Apparently the problem is software related (as it was proven in another thread) and can be fixed by Samsung if they move their butts and start working. It's been a month already and we still use buggy GB firmwares.
[Galaxy S I9000 General] [Ramad]:
This is what I think too but I'm trying to see if it's Kernel related: http://xdaforums.com/showpost.php?p=14431742&postcount=58

So far 22 downloads and no one have reported back yet, I'm still waiting for comments regarding the Kernel.
[Galaxy S I9000 General] FiRe || TeaR:
thanks for your thread

will be test it soon
[Galaxy S I9000 General] muldoone:
I had the OS drain the day i flashed 2.3.3 and then Tweaky v4.1 ROM, the battery only lasted 9 hours :(. But its been 2 days and i havn't seen it pop up since. Although my cell standby is taking up 27% all the time. I havn't charged it now for 1 day and 16 hours with 25% left, which is better than i had on froyo as i use my phone alot.

I am using the CFRoot Kernel and if the drain comes back im looking to change to a kernel that wont do it. But i would rather keep my boot animation as it is the SGS2 one. Would anyone recommend one or is there a way to get rid of the fugumod fish animation?
[Galaxy S I9000 General] qtekker:
Well, no comment = good news = no drain (yet)

I'm using your kernel for 17 hrs now
[Galaxy S I9000 General] DocMarc73:
Well if it could be govenor related, then using tegrak overclock app should work as well.

I 'm on speedmod and really dont want to return to any other kernel. Tegraks app finally works with custom kernels on gingerbread and you can choose different govenor modes. Haven 't experienced the os bug yet with on demand setting. But i didnt dare to play critical games so far. Will report later ...
[Galaxy S I9000 General] [Ramad]:
That is good news, please use the phone as you are used to, how high is Android OS usage?

1 down 21 to go...still waiting for 21 good news. :)

I'm trying with the help of our members who have flashed the Kernel that I have uploaded to find out if disabling userspace governor helps eliminating the problem, if it does then all developers will benefit of it by disabling this setting when compiling there Kernels and then we can say that the issue is from the past.
[Galaxy S I9000 General] :
For me the same even with another Kernel (Glitch v.10 for MIUI) and since I switched to ondemand governor there is no fuc****, god dawm, sh** battery drain!!!
[Galaxy S I9000 General] DocMarc73:
@Ramad: Yes right! Thats what i got from this thread. And therefore i 'm mentioning it.

Im just not sure how "disabling " is defined. So when i use on demand or conservative or whatever, then userspace should be disabled, no matter which kernel i use, right?

I just cant imagine that this could be the solution for a bug that even professionals could not fix after such a long time ...

We 'll see.
[Galaxy S I9000 General] hotsync100:
Should I do a full charge before flash a new kernel ?
[Galaxy S I9000 General] [Ramad]:
You don't have to, just use the phone normally and see if the Android OS high battery usage is there or gone.

It's a try, let's see if it helps or not.
[Galaxy S I9000 General] $omator:
non of this sort!

lol - point for old sims on gb =)

you can play games and are not drained afterward? =)
[Galaxy S I9000 General] ctll:
darkycore 2.5 works too
[Galaxy S I9000 General] zadusimple:
has anyone seen battery drain with kernels that are based on new source like the latest fugumod?
[Galaxy S I9000 General] DocMarc73:
OS bug back after playing asphalt 5 with ondemand governor.
[Galaxy S I9000 General] $omator:
-it was reported on kernels out of 'new sources'

-ondemand is 'worst'of them all, i think ramad suggested conservative

anyways today i woke up with phones batttery was empty =)

-cpu was at max 3% during 'drain period'
[Galaxy S I9000 General] DocMarc73:
From my personal findings it only occurs when playing asphalt 5. Hence it didn 't buy my phone to play games, i'll just avoid playing it until some fix will hopefully found in near future. Pretty embarrassing the whole story ...
[Galaxy S I9000 General] djforce_sam:
So I did the cleanest install possible of BUJV9(factory reset, formated SD-card, everything).

Then I performed some tests this stock install with all apps installed from the market and got 10-11% CPU usage on idle from Suspend process after playing Crazy Snowboard(I've had 12-13% on Suspend before with the new kernel sources, i guess BUJV9 has those also, I've had 40-60% drain on Suspend with old sources kernels).

Then i flashed your modded kernel and got again 10-11% CPU usage from suspend so I guess the Userspace Governor is not the problem.

This drain isn't as bad as before, only about -20mA every 5 minutes on Battery Monitor Widget but it's still there.

Anyway on logcat nothing new, the same as before all I can see is that the BatteryService updates every second when draining.
[Galaxy S I9000 General] [Ramad]:
I did not suggest conservative governor, it will make the device less responsive, but suggested disabling userspace governor. The Kernel that I have uploaded only differs from the stock Kernel by having userspace governor disabled, main governor is still Ondemand.

Please report regarding Android OS battery usage only, we are here only to find out if there is a solution for Android OS battery drain.
[Galaxy S I9000 General] $omator:
oh ok sorry the temperatures here in poland are so high for last few days =)

still i do not see the point in disabling userspace =)

why would one pick it if not to set for example 400 or 200 mhz sharp

it is not seted up by default, only user can change default governor to userspace?

its kinda same as powersaver but it holds lowest possible frequency all the time while in userspace usercan define min max values

today while sleeping my bat went down dramaticly - i had wifi and data connection on at the same time - and in fact i can reproduce this high battery usage with those two on while separately bat usage goes back to normal
[Galaxy S I9000 General] [Ramad]:
You are mixing too many things together.

CPU Frequency Governors:

Performance: This makes the CPU run at the highest frequency.

Powersave: This makes the CPU run at the lowest frequency

Userspace: This lets programs that runs on the OS decide the CPU frequency.

Ondemand: This is a dynamic governor, the frequency between the lowest and the highest frequencies(Performance-Powersave) here are divided into steps so the CPU can run at a frequency that is between the lowest and the highest frequency, only the OS controls which frequency step to use.

Conservative: This is like Ondemand governor, but does mot work in the same way, still the one and only that controls the frequency of the CPU is the OS.

The difference between Ondemand and Conservative governors:

(This is what I found out based on my tests)

Ondemand: choses the highest frequency (Performance) then choses the suitable frequency.

Conservative: Scals the frequency up in steps until it finds the suitable frequency.

GB is more demanding than Froyo this is why choosing Conservative governor does make it lag at first when using an application, this is why Samsung/Google decided to enable Ondemand on there newer GB Kernels when it was disabled in all Froyo Kernels.

Getting back to the subject, enabling Userspace governor will give the applications installed on the OS the right to set the CPU as desired, now think what happens if one or more of those applications is bugged and they don't set the CPU frequency back to the lowest possible when there tasks are done. This is why I think that disabling this governor makes sens, well we will find out soon when the guys that are testing the Kernel that I have uploaded report back regarding Android OS usage.
[Galaxy S I9000 General] $omator:
not mixing its just still tropic-hot in here so i make mental leaps of all sort. i know what are those governors and how do they behave =) its just hot hot hot...

tell me, why same exact apps, mentioned by few people here and in other threads have no trouble with governor on my phone? i tryed every signle one of those and no bad aftereffect at all... (and yes i always give all permisions not even reading those)

my point aalso is that userspace governor have to be activated/enabled by user himelf by a proper mod_script or app so then apps can take over control over cpu freq

if the default governor is ondemad for example it will not jump to userspace on its own and then get back to previous?

or maybe permisionsgiven while installing gives green light to governor changes by app - still why those aps do not affect my battery life ??

//edit: tropic hot proof =)
[Galaxy S I9000 General] $omator:
but ive found out how to drain some battery on my phone =)

-data connection on alone

-or wifi on alone (set to sleep never)

2-5 mA per 5 minutes - ~ 7% in 5-8h

looks like something might be wrong - need more data ;)
[Galaxy S I9000 General] {Angel}:
$omator: Could you share your current setup, are you running odexed, deodexed? what kernel... Maybe others can try your setup and see if it makes a different.
[Galaxy S I9000 General] $omator:
stock odex with my files all over the place + groobys wifi latest compile =)
[Galaxy S I9000 General] {Angel}:
Kernel? cf-root?
[Galaxy S I9000 General] $omator:
oh ya cfroot ftw the best one and only =)
[Galaxy S I9000 General] kalki:
The best root is fugu root.
[Galaxy S I9000 General] $omator:
MY %$&8 is bigger then yours
[Galaxy S I9000 General] DummyPLUG:
just a thing. I don't care it is samsung or user fault, but if upgrade the phone in offical way, using offical firmware, but got battery drain, then it is a samsung fault. you just can't imagine everyone is a pro and have the skill to solve the problem.

for me, just stay with zsjpk, and wait for the proper GB release (at least fix the alarm problem)
[Galaxy S I9000 General] $omator:
but i am using 'system from the box' basicly and got no problem - no changes made in order to fix anything
[Galaxy S I9000 General] celeronix:
xaxaxaxa but of course it is
[Galaxy S I9000 General] sergiish:
Hi, I'm also on MIUI. Can you please explain how did you chabge governor? With smartass I had yesterday 25 hours until 15%.
[Galaxy S I9000 General] $omator:
is ONDEMAND default governor ?
[Galaxy S I9000 General] DocMarc73:
Yes it is!

And speedmod is above all kernels and your #%&&**%$ are way shorter than mine! ^^
[Galaxy S I9000 General] qtekker:
Android OS usage = 4%.

Medium user. With full battery I can use my SGS 1,5 days.

I must say that I'm not the ideal tester, because drain occurs occasionally. Maybe once a week. Reading other users posts it seems that their drain is more frequent, or constantly.

Anyway, so far so good. 40 Hours without drain on Ramad's modded kernel.

Come on guys. We need more testers. Flashing a kernel is so easy. After a few days you can return to your favourite kernel. Your phone will not be wiped.

Only disadvantage is that the response is laggy (rfs). The screen often respond after 2-3 seconds.
[Galaxy S I9000 General] $omator:
i would rather test by turning on wifi and data connection both same time - is that drainin?
[Galaxy S I9000 General] [Ramad]:
Please remember that the topic of the thread is 'Android OS battery draining' not 'Turn on everything your device have and see if it drains your device' battery '.
[Galaxy S I9000 General] $omator:
i am askin to turn on not turn off
[Galaxy S I9000 General] KennyLegend:
Just to add my experience from today. Using gps and google nav, my phone rebooted without getting lock, and then android os kicked in.

I am using deodexed bujv9 with a new sim card: -) and fugu bleeding edge ultra. Also....ondemand governor. Tried a different modem a nd flashed latest #355 BE ultra.

I think that just about blows most theories here today out the window.
[Galaxy S I9000 General] [Ramad]:
Would you like to test this Kernel and post your results regarding Android OS usage: http://xdaforums.com/showpost.php?p=14431742&postcount=58

There are members that have downloaded it for testing, it would be good to have one more tester. :)
[Galaxy S I9000 General] KennyLegend:
I would have no problem with testing your kernel if I was using anything other than fugu on jfs, I will most likely get bootloops and have to flash new rom just to test.

Don't think I'm quite ready to flash new rom yet. I WILL however, test in the future. Thanks.
[Galaxy S I9000 General] $omator:
youve got something wrong with system if it reboots out of nowhere to begin with
[Galaxy S I9000 General] KennyLegend:
I did a clean install last week, starting with stock jm9 and and sd card format. Can't see what might be wrong with my system. It runs perfectly fine otherwise.
[Galaxy S I9000 General] $omator:
i find that amusing, people find their phones perfectly ok when it resets out of nowhere after unpluging jack or opening an app oO perfectly fine.

system produces an error log on every crash, you might want to check that one out =)
[Galaxy S I9000 General] KennyLegend:
How do i check this out
[Galaxy S I9000 General] $omator:
\data\log\ ?
[Galaxy S I9000 General] djforce_sam:
Well Andorid OS battery drain=Suspend process, that's the most observable thing when battery drain occurs.. the Suspend process keeps the CPU busy while the phone is on standby and causes the drain.. it can be observed and alerted by Watchdog app.. I thought everybody knew this..
[Galaxy S I9000 General] tushar/-sun:
Mine was all fine until i installed launcher pro...after i installed the android system consumed more battery
[Galaxy S I9000 General] DocMarc73:
@ramad: perhaps you could quickly explain, why it doesn 't suffice to set the ondemand govenor with tegraks overclock app. Or the other way round: why do we have to flash your kernel? It should make no difference, should it?
[Galaxy S I9000 General] $omator:
maybe suspend process needs to be on cpus max for a short while when some conditions are meet?

why killing suspend proces itself does not stop the drain?

what helps is the restart - am i correct?

also there is no abnormal activity of it seen in bugreports from affected users...
[Galaxy S I9000 General] $omator:
as for me i think ive found a culprit of my data connection + wifi 'high battery usage' problem

that is the 'latest wifi driver compiled from sources' by some xda user =)

but i would need some time to make sure...

//edit: that shows how some custom content in atypical situation could cause problems
[Galaxy S I9000 General] steffato:
Hi everybody, this is my first post, but I think this will help:

I'm on deodexed JVO with CF-Root and I have tried everything that has been proposed in every battery-drain thread. I tried BE4, I I have changed drivers for wifi, I have fixed my nwk_info.db, I tried without ext-SD, but drain always come back after playing certain games (almost every game) or after using Google maps.

The only fix that works is to turn auto-rotation off and then reboot my phone. Then I can NOT make the battery drain no matter what I do. Therefore, I'm almost 100% sure that the problem is with the driver of the orientation sensor or something like that.

Hope this helps.
[Galaxy S I9000 General] abitzsong:
It really works.

I am on deodexed stock JVH with FuguMod now, and the battery drain is much less than the newest SpeedMod.

Thanks a lot!!