yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] lindsaytheflint:
That's an odd one. Try a battery calibration app - it sounds like your battery stats are out of whack. Free on the market.

Also, try turning off your phone, and then plugging the cable in. Your phone will enter a "charge only" mode, whereby Android will not boot, it will just charge. Do that for as long as it takes to get full, then try booting Android and seeing if there's any change.
[Galaxy S II General] vinaymieux:
as mentioned above: when i try to switch off the phone and then charge it completely, then it works perfect! its only when its on!

i will try the battery calibration app and see the result.

through some tests i have started to realize that may be my ac charger is not giving enough power. i am testing the same problem with usb charging and will update results. then will try with another ac charger from HTC that i have.
[Galaxy S II General] aurelm:
well wait...

You are not using the original charger ? That's an important fact. what is the amp rating on this one ?
[Galaxy S II General] vinaymieux:
i am using the original charger that came with the package. samsung!
[Galaxy S II General] RogerPodacter:
i dont understand the confusion. wasnt the android OS bug already identified to be related to specific router models which cause the issue? this entire issue is happens when connected to wifi, with a certain model of routers. a few of the offending routers were posted in the other thread.

what am i missing here?
[Galaxy S II General] lindsaytheflint:
That's a different issue, and not affecting everyone. I've only seen a handful of posts from people that indicate that cause.

Personally, I don't have the routers mentioned, I have the issue when all network connections are disabled, and I find it hard to believe that connecting to a WiFi network once, will render my battery useless until I hard reset. If I hadn't already found a way to get my battery life to drain by only 3% over 9 hours, I would've added the router tests to my list. I may still.
[Galaxy S II General] djfatrod:
OK its definitely NOT Launcher Pro.

I was fully charged, deleted launcher pro and went back to stock.

Its drained 20% in two hours.

Interestingly though, the top battery usage are:

Display: 39% (as expected)

Wi-Fi Sharing: 20% (wifi is off wtf!)

Mediaserver: 11% (never seen that before)

Dialer: 11% (haven't used it this morning)

This phone is all over the fkn place...
[Galaxy S II General] lindsaytheflint:
The Wi-FI Sharing usage is another bug. You can stop it by freezing Wi-Fi Sharing in Titanium Backup. Personally, I use "Wireless Tether" when I share my WiFi - works well on every phone I've tried. http://code.google.com/p/android-wifi-tether/

I'm currently doing a test of TouchWiz Launcher with a few widgets on, to see if it makes a difference, with my phone on standby (screen off), and Data/WiFi disabled. I'll give it a few hours.
[Galaxy S II General] ph00ny:
Quick heads up. Wi-Fi Sharing seems to come back on if you were using wifi. I usually kill it when i get into work in the morning by a habit

As for Launcher Pro vs TW. If you had any active widgets in TW, it will show up in running services even if you have LP running (even after fresh boot).

My battery usage has been pretty consistent and one other thing i've noticed in using LP Twitter/Facebook widget is that auto update in the widget is run separate from the actual auto sync
[Galaxy S II General] Sanchless:
Surely not everyone complaining about the bug has been using launcherpro? Although I am one of those people.

In any case, I'm removing my widgets and I'll update in the morning on how it did.
[Galaxy S II General] djfatrod:
widgets /no widgets doesn't seem to have made a difference for me :(

Nor LP or TW
[Galaxy S II General] lindsaytheflint:
Switched to TouchWiz Launcher (from LauncherPro), added two widgets:

1. Agenda + (4 x 1) (set to refresh every 2 hours)

2. Beautiful Widgets (Weather 4 x 1) (set to refresh every 1 hour) (Location set manually)

And let it run (screen off, Data/WiFi off) for 2 hours. 8% drop in battery, AndroidOS hogging the CPU. :-(

Took the 2 widgets off, still with TouchWiz & in standby, let it run for 2 hours. 1% drop in battery.

Going back to LauncherPro, and testing some other widgets...
[Galaxy S II General] KableKiB:
Thank you so much, I haven't been able to flatline my battery line (in the graph), even while sleeping until I found this thread and removed all my widgets. I was getting 6 to 7 hours of battery life until now. I just found this though, we'll see how it works tomorrow.
[Galaxy S II General] felipecf:
I've tested the widgets solution, but with no changes.

Although, I've realized something else. You guys use swype or another keyboard?

I've downloaded Android Assistant throught the market and I noticed high use of Swype. Then I switched to another keyboard, recharged my phone and now, half an hour after using it in idle (wi-fi, 3g, gps off), Android OS now have 16% of battery usage (display on top with 36%). Battery is still 100%.

I know it's just a few time, but it's different from everything I've tested.

In any case, I will post an update with more time of usage.
[Galaxy S II General] ph00ny:
What's different about the second screenshot other than the wifi/battery indicator?

Also i just ran at least 30min of Robo defense which is known to be a huge battery hog along with 10+min of fruit ninja and only went down to 86% in 1.5 hours with wifi on along with gmail, facebook, twitter and yahoo mail syncing
[Galaxy S II General] lindsaytheflint:
Definitely if other factors are affecting your battery, such as Swype, or the Wi-Fi Sharing app, then they'll need to be addressed too.

I'd be curious to know if after you add your widgets back, whether battery life starts to dwindle again.
[Galaxy S II General] lindsaytheflint:
What aurelm was saying, is to be sure about the difference between battery consumption due to using your phone (such as playing Robo Defense), and battery consumption due to the "AndroidOS bug". The former should drain your battery, whereas the latter shouldn't (but often does).
[Galaxy S II General] ph00ny:
except his second screenshot shows different setup than his first ("stock" looking). I'm curious to know what is different. There was a "dev" claiming to be experiencing issues with android os bug since day 1 and he also had modified "cosmetic" setup
[Galaxy S II General] lindsaytheflint:
For best testing results:

1. Freeze "Wi-Fi Sharing" app (using Titanium Backup), which is another known offender.

2. Turn off your Data & Wifi, and leave the screen off for at least a couple of hours at a time.

Good luck!
[Galaxy S II General] heatfire:
theory: Well what i think and what worked for me is to kill anything that auto-syncs..

seems that the hardware on this phones is waaaay to powerhungry when woken even just to check for mail..

but well.. im not happy since its a smartphone.. and the way i use it now makes it an.. stupid phone with big screen:P
[Galaxy S II General] aurelm:
It does not matter. I moved to non-stock because of the bug. However the bug still occurs, just not so often after cleaning the phone.

I can come up with good battery life using non-stck also, it just happens that I made the first screen using stock.

the second is cognition rom using cf kf2 kernel. I am now using the cognition kernel itsfel and waiting for the bug to reoccur :)
[Galaxy S II General] aurelm:
That is not the bug. stick to the bug. The bug was described very clearely. No matter what, sync, no syng, 3g, 2g, no data, wi-fi, no wi-fi the power consumption suddenly takes giant proportions. So please stay ontopic.
[Galaxy S II General] GeneralA:
I found the issue to be with widget locker in my case. I started shutting my active services off whenever I wouldnt use the phone for extended periods of time. In the end widgetlocker turned out to be the most power consuming.

I'm now 90+% when I don't use the phone for 8 hours. I charge it every night but i haven't gotten below 60% on any day since I removed widget locker.
[Galaxy S II General] puremind:
I use only clock widget and accuweather without automatic updates, and my battery drain is 2m-5ma on iddle, with very few peaks above 10ma every couple of hours (which I attribute to email synchronization).

With moderate usage, my battery hardly goes down, although i didn't try it, I feel it could last 3 days, as I already achieved 64% remaining after 1 day and 3 hours...

But I tend to always charge again when it falls under 50%. I didn't feel the need to test it, because Battery has not been an issue for me on this phone. I am coming from an HD2 on Android, and battery drain while browsing and watching videos was much more, and that's all I use my battery for...

I don't use Facebook or Social Hub widgets, I just use the facebook app whenever I want to check for updates.

So I tend to agree with you that widgets should be avoided, and maybe the bug amplifies the normal widget drain, though I leave this for heavy widget users to test.

Ah yes, I use TouchWiz and VillainROM but I had similar battery life with LauncherPro...but then I don't use so many Widgets.
[Galaxy S II General] Tinderbox (UK):
Even at 3% drain in 9 hours , that`s approx 0.33% an hour , 7.92% a day , that's only approx 12.5 days standby if you never use the phone.

Samsung quotes up to 710h standby on 2G almost 30 days

Were not even getting 50% :eek: , and dont get me started on talktime.

Math`s is not my strong subject, if you see an error let me know.
[Galaxy S II General] tommo123:
for me, non root, no samsung widgets (lp+) but all pags full of lp+ widgets, fancy widget and a homescreen half full of fancy shortcuts i go from 100% to 60% over 10 hours - ish.

this is with wifi disabled, 3g on, about 40 mins of bluetooth, gps on and jogtracker recording for about 70 mins and widgets set to auto refresh every 30 mins or so, mild camera use (4-5 pics). screen is on at auto brightness for about 30 mins

i'm quite pleased with it actually. a quick check of emails/fbook/sms, listen to music when i want and track where i go and should get over 20 hours use. at stock.

with a custom rom that's as tweaked as some of the better desire ones (in time i'm sure), then we should get markedly improved batt life (in my case, 14 hours or so to 2 and a half days! - on the desire)

edit

forgot to add - i use widget locker too :)
[Galaxy S II General] LBTaylor1984:
Interesting development today.

I've been experiencing very poor battery life, like 4-5 hours with heavy use (sat navigation + Bluetooth) however last night I left my phone charging got to 100% and I thought to myself lets not leave it charging overnight. So usually I can loose 60% in a night, woke this morning 96% remaining?

Totally confused about what is happening here, but I can confirm that it been off charge for since 1am time now is 1pm so 12 hours and I'm at 85%.

I've not changed anything since yesterday, so I can only presume cycling the battery has fully calibrated it. Since my latest Tom update I've recharged about 5 times, from 10% charge.
[Galaxy S II General] zurih:
Dunno what about you guys but when I go to sleep, and then wake up, the battery is EXACTLY the same as I left it before I gone sleeping.

I'm using stock KF2, rooted. Disabling wifi/3g/data/bluetooth and kill any programs before I go to sleep.
[Galaxy S II General] LBTaylor1984:
@Zurich

That's the problem, no matter what you do, it still drains. However my battery life has extended itself many many times, for a reason I can't fathom
[Galaxy S II General] Mixy:
At my parents that has a D-Link router, i get around 80-100% CPU-time on android OS, its insane.. After 4 hours, i have 3 hours CPU total on Android OS.

The problem is not there when i am at home with Netgear router.
[Galaxy S II General] spline1:
I have a Netgear Router and i have the "Android OS Bug"
[Galaxy S II General] Mixy:
Its a mistake to think the "Android OS" drain is caused by one single bug. Unfortunately in Gingerbread they have merged a series of processes and summed it up to "Android OS", it really is more than meets the eye.

The D-link problem is one side of the issue. As the threadstarter says, for him it didnt make noteable difference to disable wifi, so his drain is caused by something else.

Note that i also have this issue without wifi enabled, but its significantly better.
[Galaxy S II General] RogerPodacter:
that makes sense. so have we seen anyone's screenshot of their battery graph showing the high OS usage time along with the graph attached showing only 3G usage, or rather no wifi connection appeariing?
[Galaxy S II General] ithehappy:
The Display should be on for 5 hours or more to drain the battery completely. But today I browsed for 4 hrs 10 mins continuously via Wifi and the battery gone to 9% from 90% before I plugged in. Its alright I guess.

Regards.

Sent from GT-I9100
[Galaxy S II General] kryptoner:
yeah that's absolutely normal, even I get similar battery life on KF2
[Galaxy S II General] Tinderbox (UK):
I only lost 2% in 9h30m last night, normally it`s between 4-6% in 8h30m , I have now done 3 complete discharges to 1% to calibrate the battery meter.

No battery savers or anything.

Daytime battery use is still bad as the display is the real battery killer :(
[Galaxy S II General] Mixy:
Thats no bug that is just you using your fancy phone too much :P
[Galaxy S II General] Arvadur:
So, unboxed my Galaxy S2 yesterday afternoon. Beforehand, I was reading this forum anxiously, as I am moving from a rather (for me) battery draining HD2 Android. I thought i would share with you my experience so far.

Battery was 50% out of the box. Used it for about 3 hours, making a couple of phone calls, taking some pictures, browsing and just scooping around. WiFi on, data connection on. Configured gmail and sync with google account. Configured another mail account with autosync on 20mins, facebook account, stock weather widget with 3 hrs refresh. Deleted unneeded widgets and I am down to weather widget (stock), battery solo widget pro (installed), agenda widget, email widget and the stock samsung hubs.

Last night at 22:30 the battery was at 24%. This morning at 8:00, it was at 22%. Wifi off, data on, sync on. So far so good.

I will slowly populate it with my apps, and try to take notice if the any suspect draining occurs. I will come with regular updates.

Cheers everyone!

BTW, amazing piece of tech, this phone! Simply amazing!
[Galaxy S II General] zkyevolved:
When you guys say "widgets" you mean widgets that pull data or update or things like that. Shortcuts on the home screens are OK, right? (as to open apps, or open contacts)
[Galaxy S II General] jackmort:
batterystats.bin

Hi, i got my SII last week and the first ROM I flashed is Litening (I got a S1 before and always used custom ROM ^_^). No problem so far, just battery drain but I got same problem with my S1 before they released 2.3.4.

However I have a strange bahaviour with my batterrystats.bin : when I plug then phone and let it charge over night, when I unplug it the file seems to be removed. All stats are cleared and I get new data. On the "old" S1 the stats were never wiped unless I chose to. Is it a bug of this ROM ? Of S2 ? Of my S2 ? Anyone got the same ?

Thanks !
[Galaxy S II General] EmilianM:
So are you recommending any of this workarounds :) ? Now I am using my SGS2 with the stock rom and I can see also that Android OS is "the most aggressive battery consumer" :), at least in standby. From another point of view my battery can last for 2 days so I am not really annoyed by that....
[Galaxy S II General] Vulpix:
I had this Android OS issue today (50%), and removed every single widget in my Touchwiz home launcher (Was using ADW EX anyway, but TW home was not active, and somehow it still affected the Android OS thingy) and my problem disappeared. Now Android OS is at stable and not consuming the motherload.
[Galaxy S II General] hueythecat:
FYI

I just got my sg2 and like most people here the first thing that i noticed was the standby drainage.

6-7%+ an hour

Things I changed(based on eveything ive read here and elsewhere)

switched to lite'ning rom 1.5

turned of sync, gbs etc

no live wallpaper

used titanium back up to freeze the samsung stuff

did a physical re calibrate of the battery(full discharge & 8+hour charge)

used the battery recalibrate app afterwards

installed juice defender pro

So far with micro usage(5-10mins) I have 95% from 4 hours on battery so allowing a % for usage im getting 1% per hour standby. Which is way better than what I started with.

I'll haven't done an overnight test yet - but will post the deets
[Galaxy S II General] Vulpix:
Seriously, I swear it's the darn widgets that is causing the high AndroidOS bug.
[Galaxy S II General] sjedwardz:
I'd have to agree. I've just joined and have been following this thread. originally I was getting about 10% drain per hour. That was with juice defender and switching off most things. I even had it drain from 30% overnight when flightmode was enabled - Looking at the battery stats the phone was awake even though all data and screen was off!

I took off all widgets, I didn't have that many anyway and prefer to just have shortcuts to the apps. Now I'm getting much better battery usage, in fact still on 61% from 22hours of use!

I do occasionally get the WiFi sharing hogging it so will root shortly and freeze that sucker.
[Galaxy S II General] JJEgan:
As per the OP a test i carried out as follows Wifi GPS off Sim Card removed .

13 hours phone on standby result 1% battery drain > Android OS nil .

Full apps nothing frozen all settings normal Villain 1.4 rom .

jje
[Galaxy S II General] aurelm:
You guys should give cognition kernel a chance. It's been 5 days and not once I had the bug and now without 3g but with wifi I can estimate 3-4 days of normal usage (browsing).

Maybe it's just a coincidence but you should try it.
[Galaxy S II General] frankcilo:
News news?
[Galaxy S II General] craig29:
my android os problem started when my phone warned me that my battery was running low then all of a sudden my phone has started to go into car mode randomly,ever since my android os battery use has been running at anywhere between 10% and 97% yes 97%,ans still it keep goin into car mode whenever it feels like it,so annoying,anybody else got the car mode problem.........
[Galaxy S II General] thompps:
Hi, could there be a problem with vlingo settings? Under Settigns->Voice input and output->Voice recognition settings->Voice talk settings you have an option called 'Wake-up command'. Not only does it keep your phone with teh voice app constantly in memory, but it is also listening for you to say 'Hey Galaxy' whereby it goes into full talking 'driving mode'.

Would explain your problem if you changed it while fiddling and forgot. and I daresay there would be a few times where evn the mighty vlingo interprets something like 'Hey Gary' as time wake-up! :D
[Galaxy S II General] lindsaytheflint:
I've been running Cognition kernel for most of my tests (CF-Root before that), and I was experiencing the "bug". I'm not sure what battery optimisations DG has included in his kernel, but I don't think they will change the inherent bug.
[Galaxy S II General] hueythecat:
I second that - total game changer for me.

I switched from lite'ning 1.5 to cognition this morning.

Not enough time to give stats yet but I'm definitely not suffering from the 'Android OS' bug issue now.

OS Standby drain is now like 14-17% instead of 40%+

Really happy the drain bug/issue was a real bummer for such a cool new toy.

Notes:

Booted into recovery from CWM to install

Did a factory wipe first( from inside recovery )

I still use juice defender & advanced task killer (force of habit now)

Using widgets & launcher pro
[Galaxy S II General] CandyAndy:
So basically you guys changed your phones into iPhones? Thanks but no thanks for me. I rather have a charger in my pocket than to give up my widgets and get the "nice" iphone look on my phone..
[Galaxy S II General] lindsaytheflint:
No, not at all. Removing the widgets is a temporary change to determine whether that removes the issue for you or not. You can then add widgets back on in a controlled manner, to determine which widgets trigger the battery drain. For me, I was able to get all my widgets back on, and just change the config of one of them (Elixir) to remove all significant battery drain. Effort is rewarded with results.
[Galaxy S II General] hueythecat:
I havent given up anything.

Were here to help those having issues - what are you bring to the table?
[Galaxy S II General] CandyAndy:
For me the best results came when I rooted and froze Samsung stuff and Wifi Sharing. Now the battery life is pretty ok even thou I have 15 widgets.

I did one thing after reading this thread just in case: I have go launcher and I think that touchwiz is also running in the background always. So I removed all the widgets from touchwiz (and also all icons too, just in case)

Also if you are using exchange sync it helped for me to uncheck task syncing and contact syncing. After all I only need the calendar.

These are my cookies to the table.
[Galaxy S II General] Danwms:
Ill try removing elixor to see if that helps.
[Galaxy S II General] CandyAndy:
Of course some widgets might be worse than others. Maybe it would be a good thing to post here your findings then. Which widgets are ok and which ones should you avoid.

It is obvious that those widgets which update regularly information from the internet require more battery usage. But there are also some widgets (and programs) which are just badly programmed.
[Galaxy S II General] Danwms:
I currently use the following widgets.

Has anyone noticed any isses with these?

And unrelated to battery usage, can anyone suggest better alternatives or good widgets that I am missing out on.

Beatiful widgets clock

Sky news

Android Agender Widget.

PowerAmp

Spotify

Watchdog

3G Watchdog

Evernote

Elixor

People

Google Search

facebook

Tweetdeck
[Galaxy S II General] CandyAndy:
Not with Spotify widget itself but if you have noticed that app itself has big issues..too bad and that I will not give up even thou it eats up the resources..
[Galaxy S II General] crippenx:
I noticed that even just having the SHORTCUT to your app on the mainpage seems to allow it to be 'active'.

I have an app, FlightView free (airport, flight tracking) -- and if it's in my apps it is fine. The minute I create a shortcut to it on my main desktop, even if I don't ever actively click it or run it, I see that it has enabled itself and accounts for battery drainage. It seems it is always "awake".
[Galaxy S II General] hueythecat:
Drainage woes appear over

FYI

Cognition ROM 1.07 96% after unplugging for 4hrs this morning

lite use & couple of phone calls
[Galaxy S II General] CandyAndy:
I don't think it is the widgets. I have many widgets and got this during night. So no drain at all when not touching the phone. Too bad the drain starts when the fun starts ;)