yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] Mr Woolf:
I suffer from the stinking android os drain :-(

I use insanity gb 8.1 I have also had similar problems on froyo with phone not sleeping.

I was just removing an app, unplugged the charger, checked battery stats and found that os drain had started again (another 44 seconds) plugged charger back in, drain stopped......

I have just tried to replicate the issue, but os drain has not restarted. Confused.

Insanity is slim - only 4 apps in running services.

Settings

Market

Google services

SwiftKey

I'm becoming suspicious of settings.

Suffered yesterday when I changed to insanity 8.1, so tried juwe's gb rom, same issue - massive drain, no amount of rebooted would stop it. Now back on 8.1, drain now non-persistent.

I have dropped my phone in a MacDonalds Latte in the past...... don't know if this may be a factor.

Hope I have helped a little.
[Galaxy S I9000 General] jbdroid:
Caught in the Act!!! You tipped us to the right direction and now you caught the culprit off-handed. Nice one! I also installed watchdog last night and really it is so helpful. I had one last night but just a mild attack, Android OS on 37% and when I checked watchdog Base System process is on 37% but not "Suspended".

wool clubs, there is nothing we can do right now to fix the problem. Just reboot your phone, temporary fix but it really works. I suggest you install Watchdog Lite too as pointed out by Tatsuya so you would know when you have this problem and reboot accordingly. :)
[Galaxy S I9000 General] Tatsuya79:
I'm still wondering... many people don't seem to suffer from this issue.

I saw a post saying it's better to repartition, factory reset after each step of your flash...

I followed a guide which said it was ok not to check repartition in odin for the JVB base flash and perhaps it was a mistake, even if I wiped later with my custom rom.

I don't think Kies cleans everything neither, so some old code could still be there and makes the problem happens.

Guess I'll try another flash from the start when I'll have the will to.
[Galaxy S I9000 General] jbdroid:
Yeah I thought about that too but just yesterday I flashed JVB (was on JVK) with repartition on, reformatted internal SD card, hard reset after flashing. But just after a few hours I had this problem. Those who aren't experiencing this problem might be frequently rebooting their devices (devs tend to do that a lot) hence not able to have this problem. Or it might be hardware-related. A glitch in chipsets maybe.
[Galaxy S I9000 General] vcespon:
My experience

I reinstalled JVK (with boot loaders, complete wipe) two days ago and had Android OS process using battery right away.

So yesterday I reinstalled again, and this time I stopped "software updates" from starting using autostarts. I have loaded all other programs and have not seen the battery drain problem yet. Android OS is in 4% usage after 11 hours.

I have used WiFi to download apps and games, and then played some of them. So WiFi and 3D drivers do not seem to trigger this. I see very little battery drain in airplane mode.
[Galaxy S I9000 General] hadji1:
i v experienced the drain battery issue since JPY..

i was on Darkys 9.3 with a 36hours batt life and suddenly i droped to max 8 hours without doing nothing at all !!

i tried reflash, went darkys 9.5(JS8), then Jwve's 1.9(JS8) with many factory resets...hell i even bought a new battery...but no luck

now i m on Jwve's 4.1 (JVB, odin stock flash first, cf kernel) with a better battery life (up to 18hours, normal usage) wich is a bit strange couse most of people have the battery drain issue on Gingerbread. Nevertheless i think a 5-6% battery drain with or without usage is a lot and it should be at max 3%..
[Galaxy S I9000 General] xmfpdlemalnz@hotmail.com:
I guess we have to wait for official/proper gb from samsung again for a complete solution.

Until then, as you've mentioned, rebooting is the only way to solve this issue.
[Galaxy S I9000 General] Christophe86:
I can confirm that I have the same issue. I'm monitoring all activity for a few days with the systempanel app and I can clearly see that the suspend proces at some moments is draining my battery like crazy. cpu usage then is around 30% when idle and this lasts until I use the phone again. when going back to sleep, the suspend proces goes crazy again and continues to drain the battery. only solution for now is indeed rebooting...

I hope samsung will fix this issue in the future. I'm going to report this to samsung support, don't know if this will make them work faster on a fix :p it's worth trying.
[Galaxy S I9000 General] Tatsuya79:
I tried to flash my modem (JVK on Juwe's 4.1) with JPG version, didn't help.

Then I found a game which is always triggering the suspend bug: Bonsai Blast ( a zuma clone).

I always played this game prior to this bug, and just now I tried 2 times = 2 times suspend bug happens... bye bye Bonsai Blast (it was a good game though).

I keep watchdog enabled, this would be great if this was just this game... fingers crossed...
[Galaxy S I9000 General] Weedalot:
what is this suspend process? i've got 60 notifications errors from this suspend process.. this thing eats my bat like crazy.. is there a fix? or something triggering it and if i find it i can just stop using it?
[Galaxy S I9000 General] jbdroid:
Twice now that I have mad Android OS with watchdog installed. But the culprit is not the same as yours. I have "Base System" at 50+% at those times. :confused:
[Galaxy S I9000 General] olafsand:
When i went sleep, there was 51% battery left. Also i put alarm on. In morning it isn`t wake me up. Why? Because after 6 hours, battery was emty EEK!
[Galaxy S I9000 General] Weedalot:
what rom you on?
[Galaxy S I9000 General] olafsand:
2.3.3

But yesterday i reinstall it with odin. But this time i download the version with bootloader. And in Odin i choose also "update bootloader". Is this do something wrong now? Before it i install without bootloader version and battery was good.
[Galaxy S I9000 General] Tatsuya79:
Did you check "Include phone processes" + "Monitor phone processes" + "Display all phone processes" in Watchdog?

Perhaps you just don't see the linux process but just a category named "Base system" if those options aren't selected.

@Weedalot: suspend is the process that starts the sleep mode on your phone.

If something goes wrong (a driver not responding as intended, an application that messed something during your session, ...) suspend try, fail, try, fail in a loop eating your CPU and battery.

This process should know when to give up and just display a bug notification, I wonder what would be the battery usage without this sleep mode though.

Let's hope Google knows and handle this, by communicating with phone makers about it, or coding it in a different way.
[Galaxy S I9000 General] jbdroid:
"Base System" is listed as a linux process. I can see all other linux processes too. :)
[Galaxy S I9000 General] Marc-Sch:
in Darky's rom the value is 120 (default)
[Galaxy S I9000 General] Tatsuya79:
More than 2 days without any watchdog alert since I removed Bonsai Blast game.

And I launched a lot of stuff like emulators, 6 different games, video/mp3...

I just have 2 widgets and they're not using internet sync.

Hope all of you will find the source of your bugs.
[Galaxy S I9000 General] theskymoves:
Couple days ago I got >3 days battery with minimal usage as a test. I installed flip-silent or something and suddenly I was dropping 15% every hour! It didnt show up as a major user of battery but "android system" was hogging a lot of CPU time. Post hoc ergo propter hoc, so I cant blame the app, but I'm leaning towards it.

Also if you have latitude set to autodetect location, I've found that to use quite a lot of battery too.
[Galaxy S I9000 General] sutotok:
Cheers Mates,

Just a piece of experience with this battery drain issue.

If you can live with the market based facebook and twitter...etc clients, better to remove the SNSservice apk with for example Titanium backup, 'cos it can stuck in a restarting loop and kick the Android OS ballistic.

With this solution I've got a nice battery time without making the AOS hungry until the Bonsai blast. But this watchdog solution worked well.

This Bonsai blast and some other games can cause trouble when you start them, but the SNS can kick in any time even in suspend mode and that's why more dangerous.

I know it's only a workaround, but can fit till the new version arrives.

Hope it'll help. Good luck.
[Galaxy S I9000 General] scorpeeon:
so the problem is with the drivers? is samsung aware of this problem for sure?
[Galaxy S I9000 General] Weedalot:
thanks for the info.. for the last two days after a full drain (phone turned off on its own off after like 270 errors from suspend) i turned it back on and it works for 2 days now without a glitch.
[Galaxy S I9000 General] intronauta:
I see the problem with /system/bin/orientationd daemon/process. It stuck when some applications use the compass- orientation drivers and is preventing sleep mode.

In standby, in normal conditions, it doesn't appears and "So Android" consumption is normal:

Code:

adb shell -top -s cpu -m 15

But when I play at games like u-connect that are very sensitive with orientation feature, the daemon orientationd is stuck in memory until reboot and SO Android don't stop grow....

If I kill the daemon, nothing happens (autorestart) and kill and remove "execute" permission it works but with constant error in dmesg:

Code:

init: cannot execve('/system/bin/orientationd'): Permission denied

There is any safely way to restart this daemon-binary??

Sorry for my english
[Galaxy S I9000 General] nkotin44:
Hi there,

I'm on juwe's gb 4.2 rom, and following this thrrad since i've android os draining my batt.

First tried to delete ota's stuff, it worked for a while but then issue came back...

Since a week i've installed " autokiller" which allow to manage android task. I know it's just a workaround, but it works ! Now my battery last at least 2d and up to 3 !

If u try it, go in advanced tweaks and tick "battery" and "sleeper". I could'nt explain why but the sleeper option says " disable normalized sleeper" and i think it limits the drain from " suspend" ... if anyone could confirm, it might help lot of people.

Btw, before this i try reflash with repartition tick, but without any visible result...

Hope it helps
[Galaxy S I9000 General] jbdroid:
Hmmmm tempting to install "auto killer"... I will stick with "WatchDog Lite" for now. It notifies me when to reboot by alerting when "Suspend" and "Base System" are on high CPU usage.
[Galaxy S I9000 General] Weedalot:
By reboot you mean taking out your battery?
[Galaxy S I9000 General] jbdroid:
You do not have to remove battery anymore. Just turn off phone then turn on again. Or you could just choose "Reboot" in the power menu if you have it :)
[Galaxy S I9000 General] Weedalot:
Yea I've got reboot option, but for me it didn't fix the suspend bug.. Had to wait to a full drain let it rest for a while and charged it back.
[Galaxy S I9000 General] scorpeeon:
JVH is out, i'll wait for others experiences to find out if it still has battery drain
[Galaxy S I9000 General] Tatsuya79:
N64oid triggers suspend bug (20% CPU usage, less than other buggy apps but makes a nice drain nonetheless).
[Galaxy S I9000 General] scorpeeon:
i have read in it's thread 2 people reporting that in JVH androis os still drains battery. when will this end? :confused:
[Galaxy S I9000 General] AdamLange:
2 people doesnt prove anything. I got no battery issue as for now, playing games, using network, wifi whatever and no battery drain.
[Galaxy S I9000 General] jbdroid:
What games do you play? Did you have this problem on other gb versions?
[Galaxy S I9000 General] AdamLange:
I'm not inverstifgatin anything as i dont have problem for now. when it came back i will observe things.
[Galaxy S I9000 General] Galaid:
hi, can you tell me what is watchdog alert? some app that monitors sleep?
[Galaxy S I9000 General] mossy1963:
mine's fine....I'm not unique
[Galaxy S I9000 General] scorpeeon:
well, i don't see any reason why would they lie. and if they don't lie, it pretty much proves everything. btw it's far more than 2 people now who has this issue on JVH.
[Galaxy S I9000 General] ScumBunny:
Could be Launcher Pro

Hi,

After trying several solutions suggested in threads here I was still getting extreme battery drain with Android OS taking over 60% in the Battery Use screen.

However, there were threads both here and in the Launcher Pro forums suggesting the problem might be with LP.

For example:

http://xdaforums.com/showthread.php?t=1025127

http://www.launcherpro.com/forum/viewtopic.php?f=6&t=2542

Anyway, I tried uninstalling LP and while I still can't testify as for the drain, I can report that for the first time in several days the Battery Use screen is showing Android OS at only 6%, and the usage graph in on an ongoing downwards trend.

For what its worth.
[Galaxy S I9000 General] turshu:
I think the problem inside the framework.apk i use stock jvb and i install different framework.apk for crt off effect it drains the battery so much so i restore my backup and tada no more battery problem...check the framework.apk if you are using crt off effect.
[Galaxy S I9000 General] AdamLange:
Confirmed, im back to 2.2 JP8, battery drain still exist even on stock rom with no tweaks/apps/games installed. after 1 day battery pump up like hell!

:/
[Galaxy S I9000 General] savegame:
Hi,

here are my observations:

I spotted 3 apps that trigger high android os activity in sleep mode and battery drain on my phone:

- Gloft's Fast Five HD game (everytime after even a several minutes of gameplay Watchdog alerts high CPU usage of suspend process)

- NFS Shift - everytime

- Weather Bug Elite (it has an update issue at times trying to perform a background update falls into a loop causing batt drain bug

Performing a reboot helped each time. As everyone I'm looking forward for Samsung to fix it
[Galaxy S I9000 General] $omator:
report to game/aps developers?
[Galaxy S I9000 General] simonk83:
Had my Galaxy S2 for a couple of days now (first Android phone) and I appear to have run into this bug (glad I found this topic!). Yesterday I got 6 hours out of my battery, with pretty light usage and most stuff turned off.

Checked the Battery Status just now, and Android OS is accounting for 39%. I've removed the battery for a minute and turned it back on, so will see how we go. 2 minutes after doing that I checked again and now the screen is accounting for 40% (I have backlight set at 0) and the Android OS is 25%, so that's something I suppose.

EDIT: Installed Watchdog about 15 mins ago, and just checked it. No alerts yet, but Suspend was at the top of the list with 17% and under that, events/0 with 15%. Everything else was around 2% or under.

What's events/0?

EDIT2: Has anyone actually reported this to Samsung, or are we all just assuming "someone" has :D Could be waiting a while in that case.
[Galaxy S I9000 General] jbdroid:
I do not know if this has been reported to Samsung. All I know is that it is a known issue not just on Samsung phones but also other phones such as HTC and Motorola phones. An issue was also filed in Google.
[Galaxy S I9000 General] savegame:
I did but got no answers so far.
[Galaxy S I9000 General] $omator:
but there is no drain problem on stock mate :)
[Galaxy S I9000 General] maartenlaeven:
I also had the problem on stock JVB, and since that was available through KIES it was stock.
[Galaxy S I9000 General] $omator:
from my short investigation i can tell that when you mess up permisions and install some crappy apps (or pirated) indeed the drain can occur.

tho as long as youre legit user and do not install all possible theme and file out there you will have no problems.
[Galaxy S I9000 General] AdamLange:
Not true. I tested in on totally clean Ginger JVB and JVH and after some time Android OS battery drain pops up. Just for tests i didnt installed anything, and i didnt played games.
[Galaxy S I9000 General] $omator:
that only proves that service centers and gsm repair points are needed and will exist for a long time
[Galaxy S I9000 General] jbdroid:
Have you checked and read the bug filed in Google? This problem is legit and it is not caused by user error nor pirated apps that you have been claiming about.

Here is a quote from the Google dev who responded on the bug report:

And oh I only play games i downloaded through Samsung apps and created by big companies (Asphalt5, Glyders2, etc). I doubt they stole from someone and injected bugs on those games. Because thoses games really generate this problem. Go play some so you would know... ;)
[Galaxy S I9000 General] $omator:
if you would read the whole quotation you use(or the original google_bug_thread) you would recognize that this problem was found on nexus one and it is not confirmed on any other devices.

(not to mention that the quotation you talk about is for htc evo... no comment) thank god not from nokia

furthermore it has been identified and fixed in 2.3.4 update for that device - problem was faulty wifi driver that cycled in and out suspend mode not allowing phone to go into deep sleep mode i guess

maybe that will be the case with sgs - but i do not see any

googlers

input on sgs about this bug - and not that much input on this issue - basicly my post there is last one there ;)

as theyve discovered the bug source (wifi_driver) around end_march/start_april i guess if needed it would be included in jvh and maybe it is as we have new JVH modem file ;)

read more
[Galaxy S I9000 General] jbdroid:
You mean this one?

If you will read the whole comment, the speaker says that there are lots of cases the could generate this problem that is why it is affecting not just one device but a range of devices. Paraphrasing the quote above, he said that in Nexus one's case the Suspend bug is caused by the wifi driver (take note that he applied it only to Nexus One) and they were able to diagnose it because they have the hardware and the design of the device.

Again:

As for other devices, it may be caused by other drivers (again take note, plural, meaning other device drivers could cause it too).

As for the above quote, Google can do nothing to fix this but only the device makers (Samsung, HTC, Motorola, etc.,) could solve this. They are the only ones who know the hardware design and the source code of the device drivers. Game/App developers has nothing to do with this problem as they do not have control on the kernel space where the device drivers are operating. Games and apps reside on the user space and are only passing commands (or requests) to the kernel space.

Samsung might have fixed the Wifi bug that you were pointing out (I never experienced it though, I was using JPY before and my battery could last up to 4 days with wifi on the whole time and Wifi policy set to "Never"). But they have to check and investigate other device drivers too. For games, I think (this is just my opinion) that the driver causing this problem are the drivers for motion/orientation sensors (gyro and magnetic sensors). Again that is just my opinion. ;);)
[Galaxy S I9000 General] $omator:
still i want you to read and understand text and context that it is in.

fyi: when you will discuss with someone do not double explain something you quoted - not wise - especialy that youre not so experienced as the person you quote. best for you would be just to paste the link

exit stage left
[Galaxy S I9000 General] a_patil:
Here's my observation:

I installed the continnum mod yesterday and charged 100% in the night. After about 7 hours, I had 70% of the battery i.e. 10% rate per hour. I found out that "Maps" was consuming over 40% of the memory which is strange as I didn't open it yesterday.

I tried shutting down the process but it gets turned on automatically. I uninstalled it just to see the difference in battery discharge. Will post back the results in the night today.

UPDATE: After uninstalling the Google maps, today my battery lost just 26% after about 8 hours with moderate usage of Wifi and a few phone calls!
[Galaxy S I9000 General] oldskooldawgz:
i had terrible battery drain on ginger bread and tried the battery pull, didnt work i kept investigating for days pretty much watching what was running and i had beautiful widgets, i looked at settings and it was refreshing weather every 15 min and wake up. I disabled the wake up and set it to every 3 hours and now im losing about 3% every two hours while idle this was a huge improvement on the 10%. My issue was with android os it was consuming the most battery, so obviously my beautiful widgets was calling something in the android os and keeping it running. Under watch dog it wasnt beautiful widgets occupying cpu it was on the bottom of the list. And battery stats it was at the bottom of the list around 3%. So i would watch all widget settings as this cured my issue.
[Galaxy S I9000 General] scorpeeon:
$omator: actually i heard from someone he had this drain without a single app whatsoever installed. everything absolutely stock. not even a single legit market app. this problem is in the rom itself and has nothing to do with any apps except that some of them can trigger it more easily.
[Galaxy S I9000 General] AdamLange:
It was me also, checked on totally clean system. Battery drain either some memory leak in system apps, or kernel.
[Galaxy S I9000 General] $omator:
i do not know then maybe flashin one time after another aint ok... let the system rest let the battery last for few good cycles after wipestats have no idea

colini out
[Galaxy S I9000 General] jbdroid:
Oh I thought you were so sure of your answer. Talking about experience eh?

(I would rather quote someone trustworthy than believe on someone's answer who does not have credentials and cannot provide proofs) :D

Anyways JVH still has this problem but battery usage is still great. For now we just have to reboot after using apps that triggers this problem. Lets just hope this will get fixed soon. ;)
[Galaxy S I9000 General] $omator:
no, i am tired of talking to a wall :)
[Galaxy S I9000 General] scorpeeon:
if you would have any idea how long we went through with this.. you don't seem to understand this issue at all.
[Galaxy S I9000 General] Tatsuya79:
My crash test app (Bonsai blast) doesn't trigger suspend bug anymore on JVH rom.

This game hasn't been updated so it's great to see new updates from Samsung really help there.
[Galaxy S I9000 General] Coolgreek:
Well for me this battery drain still occurs on JVH, also had it on JVB and as i've heard also existed in JVK (leaked). I do not have to do much to make android os go berserk

-some surfing through heavy pages on net using dolphin browser hd (and wifi turned on ofcourse)

-playing some games

Truth is that I as well, reboot my phone constantly to get rid of the drain phenomena or just to make sure android os stays away from my battery :eek:.

I have tried both stock JVB/JVH and custom ones (Juwe's actually) and i had the battery drain in all of them!!!

Hope samsung does get knowlenge of this and fix it soon... We need official bug-free 2.3.3 before Samsung let SGS at it's own destiny (or XDA's destiny:p) without support (which will happen soon unfortunately)
[Galaxy S I9000 General] Mikulec:
Guys, could u post your screens from battery usage graphs? In mine I can see that the system is waking up in almost the same periods as u can see on my screenshot.

Is it the same for you? I cant remember if I had it on previous roms.
[Galaxy S I9000 General] xmfpdlemalnz@hotmail.com:
God, I am so sick of battery drain now.

Hate rebooting every time after playing any GPU high games.

Hopefully, XEU version of GB doesn't have this problem, otherwise I'm definitely going back to froyo regardless of great GB features.

Do you guys think Samsung is even aware of this problem?

I mean this has been going on since JVK and I don't see any improvement.

This is a major bug that actually affects users daily.

BTW does this issue appear only on samsung's phones?

I heard that it's android problem on other forums..