yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] ReeX:
Curiosity: how? It looks like it's quite easy to replace an .apk in the pot... or?
[Galaxy S II General] ikanikolai:
So the wake up lag is still present?

AOSP battery bug is still present?
[Galaxy S II General] PrecisionGuided:
Yes, it seems the AOS bug is still present and so is the wakeup lag. I don't think they'll get rid of the wakeup lag because they consider it a feature (deep sleep).
[Galaxy S II General] Testraindrop:
I don't have the Androis OS "Bug" (13% now after 7 hours uptime) since KG2, you sure that it's a bug and not just not much use of the phone?
[Galaxy S II General] PrecisionGuided:
Yeah, because I don't have it when wifi is turned off, but when it's on, I get really high batt drain from AOS, given the same basic usage patterns.
[Galaxy S II General] aydc:
Anything higher than 0% for "Android OS" is the "bug". It doesn't show up on other Android phones. If it was normal, you'd see it on other phones too.

If you use a process logger like System Panel or Watchdog, you'll see the two processes "suspend" and "events/0" going crazy in the background when your phone's screen is off. This abnormality is what you see in battery stats as "Android OS", since these two are Android processes.
[Galaxy S II General] JJEgan:
Re above if phone sleeps for twelve hours would these two process mentioned above be in action .Would the Android Os be using a large amount of battery in that time scale .

jje
[Galaxy S II General] ghmail2:
OK, this new kg6 suck my Battery like crazy, 1hour 3% battery life in idle, and without video talk and voip, it seems more like a official realease, crappy samsung ****ty software, lern something from HTC, if they are not so good by Modding original android, just give us a stock android rom!
[Galaxy S II General] Bratag:
Or - and this is just a suggestion, you could download any of the dozens of tools given in the multitude of other battery threads and figure out what the drain is being caused by. You might find it has nothing to do with the OS at all.
[Galaxy S II General] Bratag:
Um this comment is beyond bollocks. Anything above 0% is NOT the "bug". Its entirely possible for Android OS to have some usage and not be anything to do with the bug. The OS encompasses a lot of items all of which can be valid uses of the CPU. The "bug" is where the Android OS process uses a disproportional chunk of the CPU. For example the phone has been up for 2 hours and the Android OS has used 1.5 hours runtime.

Additionally a high % usage for the OS does not necessarily mean the "bug" is present. For example 10 minutes OS usage on an uptime of 2 hours might be 75% of the use because nothing else has been using resources. The OS use is a small amount but a large % relatively to the rest of the processes.
[Galaxy S II General] 2dorr:
For me KG6 is the best 2.3.4 till now, except the missing video for Gtalk. I have 78% battery after 9h28m, with some calls, few emails, small chat on Gtalk and browsing.
[Galaxy S II General] JuniorGG:
I fully agree. I think that this "Android OS bug" is just a big metropolitan legend, generated by people not knowing exactly how the battery usage indication should be interpreted.
[Galaxy S II General] EarlZ:
Having 13% for only 7hrs shows that the bug is affecting you, If you got about 1-2% for every 8hrs of uptime then your not bugged.
[Galaxy S II General] painterceessie:
For me the battery life on KG6 is not as good as the KG2.

I came from KG2 with fine battery life.

KG2 is much faster too in my eyes.

Time will learn.
[Galaxy S II General] painterceessie:
Intratech thanks again for the frankenstein.

As always you're the man.

Cheers mate
[Galaxy S II General] Bratag:
Again - I have to ask people to stop talking about stuff they have ZERO idea about. Just because he has 13% OS usage after 7 hours shows a sum total of bugger all.

Lets take a look at my phone shall we. I have currently been on battery for 2.5 hours and my Android OS usage is 7%. By your logic I have "the OS Bug", but lets delve a little deeper and look at the total CPU time. Oh look its 3 seconds. So out of 9000 seconds of battery use I have 3 seconds of OS CPU. But wait you say "how does that work 3 seconds is not 7% of 9000". Well I am glad you asked. Its because 3 seconds of CPU time is 7% of THE TOTAL CPU USAGE!!!!

Far more important to battery use are things like Awake V Screen on. Wakelocks. Time spent in deep sleep.

Stop spreading FUD for crying out loud
[Galaxy S II General] aydc:
Admit it guys, this is your first Android phone, right? If not, you'd know that on no other phone, being idle or under stress, we get Android OS usage as high as on this phone. Actually, what you see as Android OS under battery stats is actually two processes: "suspend" and "events/0". It has nothing to do with the actual Android operating system use, which you see under "Android System".

Since this the first Android phone you've seen in your lives, I'm attaching some battery usage screenshots from around the forum belonging to phones like HTC Sensation, SE Arc, Nexus S etc. You won't see "Android OS" in any of them, because suspend and events/0 are doing their jobs correctly in a normally functioning Android phone.

Android OS bug is as real as the all plastic cheap looking case of this phone, and they both suck for a phone we paid this much for.
[Galaxy S II General] kbiz90:
Werd.

50% of 1% is still a very small number. A high Android OS percentage is irrelevant if your battery only drained 2% over 8 hours.
[Galaxy S II General] Bratag:
Ok - firstly I had the FIRST android phone ever made so lets just drop that line of reasoning right there.

Secondly do you even understand what the two processes you mention do? I think not.

Thirdly - just because other phones don't show Android OS in the battery usage doesn't mean that these processes are not at play. It could simply be that the phone is now reporting them as such whereas before it hid them somewhere else.

Your broad statement in the first post was based on nothing but speculation with no understanding of the situation or the facts. Many times I can have 65% Android OS usage but my idle power consumption is between 1-10 mA. Riddle me that.
[Galaxy S II General] Universeal:
Even with aos on 75% i still have better battery life 3d11h
[Galaxy S II General] kbiz90:
Looking at your pics of other phones, it appears Android OS should be 0% or close to it. Maybe there is some other reason for a non-zero AOS percentage for the SGS2 besides it being a bug.

Even if it is a bug, it's minor. Using your SGS2 pic as example, you would have gotten a few more hours of life (51 hours vs 49 hours) with the same usage pattern.
[Galaxy S II General] Testraindrop:
The time AOS was on was something like 2 mins + some seconds (thats not much for 7 hours I think), but I had only a few mins screen On.

As I said the % aren't worrying me if the time it's consuming is low.
[Galaxy S II General] PrecisionGuided:
Perhaps those of you that think the AOS bug doesn't exist aren't affected by it. Maybe you have AOS show up as 30% of 5% overnight, which is, indeed, a small number. However, there are those of us who, when we have enabled wifi, experience much greater battery drain, to the tune of 3% per hour overnight (overall battery drain) with AOS showing up as 30-50% of that. Mine currently reads 42 mins of CPU time, and 43% of my battery usage.

To assume that the bug does not exist because you are not affected by it is not very sound reasoning. Just be thankful the bug doesn't affect you.
[Galaxy S II General] kbiz90:
Three percent battery drain per hour overnight is terrible. However, there are so many variables when discussing battery drain that it's hard to blame it on Android OS. Can't rule out bad apps or heavy syncing.

You should experiment with different ROMs. And test them after a clean barebones install. And/or maybe using a different WiFi router. Worst case scenario is you have to install a new ROM and buy a new router.

I run Cognition 1.31 and the battery drain is minimal with or without WiFi. Only a couple percent overnight.
[Galaxy S II General] Bratag:
You misunderstand. I am not saying it doesn't exist. In fact before updating my router I had much the same experience. What I am saying is broad statements such as "Oh 13% in 7 hours - yeah you have it" are complete and utter horse proverbial.
[Galaxy S II General] SE-Naz:
Just updated... Let see how good it is
[Galaxy S II General] JJEgan:
Matches my 2% over night test drain on Cog 1.2 .

jje
[Galaxy S II General] PrecisionGuided:
Interestingly enough, I get about a percent an hour if I turn off wifi. However, it would be nice to get less than 3% with it on. I also had much better battery life on cognition 1.15 than I do kg6. I've also tried some other ROMs, but none were as good as cog 1.15 in that regard.

Before you ask, I've disabled fast dormancy and checked for wakelocks and such. Anyway, I'm not particularly bothered by the bad battery life as I almost always have access to a charger, I'm just saying that the bug does still exist, or at least it does for me. Whether it's an error in what the system is reporting is responsible for the battery drain, as you seem to suggest, or some bug destroying my battery life, I can't definitively say. However, after somewhat thorough investigation, I can't find any other obvious explanations than the dreaded AOS bug.
[Galaxy S II General] rickytenzer:
It appears as if this version of GTalk is unstable, as I cannot exit a video call without force closing GTalk and that mutes the system audio. I must reboot after the fact to get it back.

Anyone have another modded version that works?
[Galaxy S II General] kirdroid:
Search in the themes and apps forum and you will find other gtalk video apks.
[Galaxy S II General] ikanikolai:
Do no talk trash. This is a bug. It's not about the percentage, this is about the time using Android OS. This is not normal. Android OS running 6-8 minutes/hour. This is far from normal. See the attached screenshots. Anyway this is a stock SGS II with stock KF3 (2.3.3) ROM

My Galaxy S do the same on Gingerbread. I'm an Android blogger and I tested HTC Sensation, Desire S, Incredible S, Motorola Atrix, SE Neo and the Android OS doesn't eat that much neither one of them.

So my question is, KG6 works the same way or it's better?
[Galaxy S II General] Patrat7:
What cf kernel did you guys use for root?
[Galaxy S II General] pgatti@hotmail.com:
just did it without pit, everything is perfect , but, NO MORE GOOGLE TALK , someone can help with that???
[Galaxy S II General] kbiz90:
Here's mine. Running Cognition 1.30 (2.3.4). WiFi on all night. Everything else off.

3% battery drain over 11 hours. Android OS is 70%. Big deal.

Maybe you should try the custom ROMs and/or the stock KG1-KG6.
[Galaxy S II General] PrecisionGuided:
It's the same. At least it appears that way so far for me.
[Galaxy S II General] pgatti@hotmail.com:
for me the same, great batery perfom , but no more gtalk video....
[Galaxy S II General] ikanikolai:
Could you please atach a screenshot about Android OS? I'd like to see using CPU time
[Galaxy S II General] kbiz90:
Those screenshots are from a couple days ago, however here are a couple from this afternoon. Cognition 1.31. Obviously, I was using my SGS2 today so the breakdown is different. Still, it's about half a long as yours (about six hours). Android OS is using a little over one minute per hour.
[Galaxy S II General] htc9420:
Whoa...the flames could start a fire here.

AndroidOS is a bug. I've posted and posted, over and over. IT DRAINS BATTERY when it shouldn't. End of story.

For the people claiming that they have a very decent drain overnight and so on all I can say is that they sound like ''Look, my Ferrary only consumes 1 liter per hr when idling ''. I have opened a thread with how the Aos drain is literally robbing me of talktime/standby. And it's not 5%. You can get about 20% more on the talk time and even more on display. Not to mention standby time: Without AOS the SGS2 MIGHT come closer to a quarter of the 610hrs of 3g standby advertised by Samsung (they say it should last 710 on 2G).

Also, the most talktime I managed to squeeze out of the SGS2 was close to 3 hrs an 30 mins- way short of the 8 hrs advertised. For the haters, I'll mention that I am on an unlimited everything plan (perks of my job). I called my office on land line and let the phone sensor covered with my wallet, so the screen was off. 3hr and 27 mins. Charged a little and looked on the stats: AOS was 16%.

Why did SAMSUNG wanted to post figures that are like a fairytale? Because they had these when it was running on barebone android and there were no s***y apps and drivers.

I have posted some battery math on a dedicated thread. http://xdaforums.com/showthread.php?t=1166140

Anyway, I really envy those that don't find this AOS stuff bothering. I can see it draining the battery but there is no way to see if it interferes with performance also. The CPU log is the same on Android on every device.

I this could help better, imagine that on WIN7, the SYSTEM process was constantly running at 16-25%. Well, MS kernel averages from 0.3% to 0.8% in terms of cpu usage. If it was to be 5% all lappys would last for 30 mins.

In terms of battery related to AoS, I find KG3 to perform better on my device.
[Galaxy S II General] guitarmafia:
Well i am not challenging ur opinion but according to me it isnt a bug,,,,Battery consumption works differently on SGS II(even on SGS1).....may be that is due to the difference in screen or processor,,,,,but just try watching a movie or playing a game for some time(1-2 hrs) and u ll see Android OS is reduced to 2-3% ,,,,when u leave ur phone for a while,Android OS increases,,,,but battery consumption doesnt...It increases because it runs for more time than other apps(for me it increases only when i leave the phone in stand by mode for some time but it hardly takes more than 1% battery per 2-3 hrs),,,and it also depends on what apps u have on ur phone,,,

Moreover it is just a percentage,,,it all needs to sum to 100....so when u use some other apps more then Android OS %age will decrease,,,,,,if it is consuming more battery then it is a bug,,,,but u shudnt just go for the percentage to announce the results,,

In my case the problem starts when i use apps that use internet and apps like Geo Cam,,,,they try to switch on wi-fi(i know that sounds bs but i tested it),,,,and they mess with the Phone sleeping,,,,like Samsung Hubs,and email widget,etc.....so i alwayz close them before going to sleep every night,,,,and i only turn on data when i want to use them,,,this gives me 2 dayz battery life,,I know it isnt a solution but thats how it is,,,,

Again,in my case battery percentage and Android OS percentage are inversely proportional(well not exactly,cuz battery never increases on its own ,,lol)..when Android OS %age is more(that is other apps not taking much battery) my battery s good,,,,when it goes down(other apps taking more battery) my battery also goes down,,,

Hope this clear things a bit,, :)
[Galaxy S II General] guitarmafia:
Android isnt a car,,,,It ll consume some battery even when u are idle,,,so it doesnt really prove anything,comparing SGS2 to a Ferrari and battery to petrol(but i accept that is a cool comparison,,i mean the Ferrari Part,,,lol :D )
[Galaxy S II General] chijiora:
Well said. I think this "AOS bug" represents idle time. A bit like windows task manager showing System Idle Process as using 97 to 99 % cpu usage when a pc isn't busy.

So does anyone know of similar spec android device with significantly better battery usage?
[Galaxy S II General] htc9420:
You can LOL but read the bellow.

This is a post by a more experienced and senior member.

http://xdaforums.com/showpost.php?p=15065550&postcount=26
[Galaxy S II General] nraudigy2:
Try turning off Wifi, your Android OS % might go down.
[Galaxy S II General] rdy2go:
Battery life is amazing. Two hours of wifi browsing and 75% left! Best battery life ever.
[Galaxy S II General] colliderz:
I have had 10 days of idle time. I fully charged a brand new device and let it idling til it died.
[Galaxy S II General] kbiz90:
If the only argument is that Android OS should be zero - either it's a bug or Samsung presents battery statistics differently.
[Galaxy S II General] sohanlon07:
Why even bother having Android OS as something viewable on the bloody thing if its supposedly always zero. It wouldn't be there otherwise.
[Galaxy S II General] Sleepycat3:
Android OS includes everything that is not linked to a RUNNING app. So if you have Whatsapp listening for new messages, Facebook checking for updates, Latitude constantly updating your location while the Whatsapp/Facebook/Google Maps apps are off, then they get listed into Android OS. This is the reason why some people don't have the bug and others have it draining the battery by 10% every hour in standby.
[Galaxy S II General] heldchen:
i wished samsung would just turn off the AOS logging in the next rom release (like speedmod does) so people could get back to their normal lifes... *sigh*
[Galaxy S II General] kbiz90:
So, I gather the Android OS percentage is not a bug, but a feature. Or rather users are complaining that they can't stuff fifty pounds of **** into a ten pound bag.
[Galaxy S II General] sohanlon07:
The obsession over this issue is absolutely ridiculous. Its become quite boring. If its such a big issue for people, perhaps energies should be directed to Samsung.
[Galaxy S II General] guitarmafia:
My point is that Android OS % can not be zero,,,,even if u dont use ur phone at all,,,,It represent CPU...no matter if u leave it idle ,,,its still running,,,,

And u still can not compare the phone to a car,,,A car wont use any petrol before ignition,,,And even a car uses some petrol when u start it,,even if u r not hitting the gas pedal a bit,,(U can turn off off phone too,,,then it wont use any battery)...

So plz think before comparing two very different electronic devices,,,
[Galaxy S II General] kbiz90:
Well, it sounds like Android OS would be zero if heldchen is correct. It's an Android OS logging issue?
[Galaxy S II General] guitarmafia:
IMO It still wouldn't be zero,,,,U are working on a Operating System,,,It ll alwayz consume atleast some battery,,,,but yeah turning off the logging ll give u better Android OS battery usage..it ll have less work to do,,,
[Galaxy S II General] AndreiLux:
That's not even true. For ****s sake do you even know what you're talking about? Click on Android System and you see all those things listed which you said and all of that barely takes a few percent of everything. Android OS has nothing to do with those things.

A Samsung rep even ****ing confirmed it's a bug in a driver where the OS/driver sends the phone into deep sleep and wakes it up again and gets stuck into that loop thus draining huge amounts of battery. This happened already on the i9000 with the Gingerbread update and Samsung already fixed it with the XXJVP update and the same thing is now happening with the S2.

It's a bug, it's real, it's affecting us a LOT, and even if anyone thinks it gets overdramatized, I found this is indeed to be fitting as an explanation to you feeble minds.
[Galaxy S II General] Mr Antonz 85:
will thisbe fine for UK users on three network will everything still work?
[Galaxy S II General] heldchen:
i didn't say it should be zero: other roms just do not seem to log as extensively as the stock roms.

I've tried the speedmod kernel for example, which is said to have alogcat and other logging stuff disabled. this resulted a much reduced "battery usage" list without any "Android OS" entry at all - not unlike as seen on other phones. that does not mean it's magically using 0 battery all the sudden - my battery duration matched more or less what i'm seeing in the stock rom with all bloatware frozen.
[Galaxy S II General] lschengtao:
do want!!!
[Galaxy S II General] lgkahn:
It is a bug... you don't know what you are talking about.. I get less than 16 hours with this phone in suspend at hone with basically no usage. The two processes mentioned are crazy high, on the Sgs 1 I have with no usage in,same environment I get 3 days, that is why I am still running froyo on my Sgs 1 (the versions of gingerbread on the Sgs 1 have the same bug) and my Sgs 2 still is sitting on the shelf waiting for this to get sorted, not to also mention the incredibly slow lock time and poor accuracy of the Sgs 2 gps vs my Sgs 1.
[Galaxy S II General] Sleepycat3:
I clicked into Android System and I see NOTHING that I mentioned being listed there. No Whatsapp process (com.whatsapp), no Facebook process (com.facebook.katana) and no Google maps or Latitude processes (com.google.android.apps.maps:NetworkLocationService). Android System is for SYSTEM processes. Android OS has everything else.

Re-read your post and mine. You can't generalise that everything that contributes to the Android OS process listed in the battery usage is caused SOLELY by the Android OS bug. Not everyone has the same degree of the Android OS bug. For some people like me, I turn everything off, yet I get 1 hour of Android OS CPU usage time per 10 hours of phone uptime. So mine has the bug that you describe. Others have much higher levels of up to 6 hours CPU time for every 8 hours of uptime. Those people have many other issues in the background IN ADDITION to the Android OS bug.

I'm not denying that the bug exists. But I am saying that it is not the only cause of high Android OS usage.
[Galaxy S II General] stocovick:
Ok guys let's move on! Look what a new firmware topic has turned into! If your not happy with the phone just sell it! And if battery life is so importante to you i'm pretty sure a nokia 1800 will do the job just fine! Going back to the Ferrari example, people wanna buy a Ferrari and have the fuel efficiency of a toyota prius!!!!!!!!!!!
[Galaxy S II General] AndreiLux:
If an app isn't in the System "package" then it has its own listing, but most of the time it's so low that it does not appear there. Location IS part of the System package. Nothing other than internal things are going on inside of AOS, there are no user apps in there.

Unless there is more than one driver causing the suspend/event/0 high usage, no. I've had both cases as you described, insane usage and relative low (big laugh) usage of 3/24h, and absolutely no change in the conditions in both cases, so it's just random voodoo as for when and how long the bug appears. Since it only appears with internet connectivity, I assume having more apps running polling things in the background would increase the chance of triggering it, but that's just my assumption.

If you want just to monitor the phone and really know what the hell is running and eating CPU, just take a terminal and watch it for a quarter of an hour and see what threads and to which they belong are running (top -t -n 15 -s cpu). I did this and there's nothing other than suspend and event/0 which is out of order.

Way to misunderstand that analogy, the point was that the S2 has the fuel efficiency of a Prius, only it has a hole in the gas tank and nobody can take advantage of it right now.
[Galaxy S II General] dk206:
Is this the latest generic XEU Stock firmware for U.K?

As in the latest "leaK"
[Galaxy S II General] aydc:
This is exactly the issue. suspend and events/0 processes entering an infinite loop and wasting battery. This is the "Android OS" that we see in battery use list. I've attached a screenshot from Watchdog, which lets you see the problem easily.

It has nothing to do with internet usage, widgets, apps, sdcard access etc. It's only that suspend and events/0 get hung and drain battery.

Of course, to understand this, people need to be able to see which processes are active and how much CPU usage they are getting, which seems to be a very advanced task for people coming from iPhones and dumbphones.
[Galaxy S II General] PrecisionGuided:
Iphones and dumbphones? Don't you just mean dumbphones? I kid, i kid...
[Galaxy S II General] Tricky103:
To get Gtalk with video/voice you need to replace the gtalk.apk in the system/apps and also add a file into the /system/lib folder.

Both files are included in this link http://db.tt/vp5txcB

Use root explorer to move them.