yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] slyydrr:
Thank you sir. I'm going to kick on wifi and leave it on for the next couple hours and see what it does to my Android OS usage. Did you always have it on before? Also what is your brightness level, and the length of your screen on time?
[Galaxy S II General] earthdome:
i left my phone for an hour only to notice it drops 15% off battery from full charge. the culprit is display. still trying to find out what makes the display active the whole time i left my phone idle
[Galaxy S II General] DocRambone:
Nice to see that you got some decent battery time.

What did you do to achieve this?

I still have lousy battery time, went back to LG 2x.
[Galaxy S II General] BoostedSR20:
My wifi is always 24/7. Screen brightness is 50%, and on time is 3hr 20min.
[Galaxy S II General] BoostedSR20:
I think what did it for me was the .apk's I have frozen. My battery life was getting much better even before I flashed the new firmware.
[Galaxy S II General] pn18:
My android OS actually went up from 20 to 31% after flashing KE2.:(
[Galaxy S II General] dan13l:
Just noticed the default wireless sleep policy is never. So regardless of whether your screen is on or off, your device is still connect to the wifi network.

Could be related. I've just turned it to "never while plugged" and will see if that helps.

I'm sure my nexus s defaulted to "when screen turns off".
[Galaxy S II General] artesea:
But if your phone hasn't been doing anything else then this figure could easily be higher. Please compare CPU time. Rogue apps will be pushing this value up.
[Galaxy S II General] dan13l:
Pn18: I'm certain the issue is worse for me on the latest firmware. I'd been really impressed by battery life until I did the update.

Boosted: what apks did you freeze?
[Galaxy S II General] BoostedSR20:
Would have to go back and look again at all of them, but some of the main ones are: both wifi ones, software updater, Samsung account, all the hubs, etc.
[Galaxy S II General] DocRambone:
Hmmm, found something: removing some of the samsung bloat apps will trigger the "android os" bug.

Could it be some kind of restore function that goes wild?

Small poll:

"Android os" bug with high idle drain?

Rooted and removed (or froze) any apk's from system/app?
[Galaxy S II General] FPRobber:
I didn't freeze any apps but still had battery draining and Android System bug. I froze two or three now and I'm recalibrating my battery. I hope it will get better.

I'm starting to think there's something wrong with my battery.

I drained the fully charged battery in less than 4 hours of usage!!!
[Galaxy S II General] walda:
it was also high at % before i froze. therefore i started freezing lol

sent from my SGSII via T*patalk
[Galaxy S II General] slyydrr:
You know, it's funny because I suspected something along these lines as well, but just never had a chance to unfreeze everything. Just for the hell of it, I'm going to unfreeze everything and reboot, and then see how the numbers look.

For me though:

Android OS bug - Yes

High Idle Drain - No

Rooted and removed/froze some system apk's - Yes
[Galaxy S II General] BoostedSR20:
After reading this I went back and looked at my list, the only 2 apk's left were both the Kies ones. So I froze them both. We'll see what happens...
[Galaxy S II General] FPRobber:
Do you know what happens if the first charge is done improperly (ie unplugged too early or something like that?) because I bought a display model (the last one they had in stock) and it was definitely used before I unboxed it. And even though some of you get bad battery life, I haven't seen anyone getting a battery life as bad as mine.
[Galaxy S II General] beppez82:
For me today was all good at a certain point it started to leterally eat my battery and loosed like 20% in 2h idle no idea why but it is a real problem and the apps that I'm using are the same of my sgs1 with ginger with a good battery life. This problem is weird to see a phone discharge especially today left me disappointed...i hope to see a fix in the next week and if they fix it I'm sure for all my life i never buy a Samsung thing again especially the phone...they put them on the market without a real test or something...look sgs1 with lag GPS etc....seeing the online review great battery life bla bla...maybe the pre release was better build to increase the hype i don't think so, but the only thing i know is that these phone are fast but without battery life is nothing....and i can't look at the phone to see if it discharge fast evry hour to stop it...i hope some Samsung dev look at these post and start to work on these not on the camera...yes these was a real bug...the anti-move sensor that don't trigger autoflash rly weird i can't live with these bug really ridiculous..the suspend drain is not a problem offcorse..we have time we have preoredered it well payed it and we are waiting if they will put an eye on these lol maybe the corean one don't have these problem?dunno btw sry for my long post but I'm disgusted to see these kind of things on a thin plastic shiny bar that cost 600€.
[Galaxy S II General] slyydrr:
I honestly am not entirely sure what you just said... this was one of the most difficult posts to understand.
[Galaxy S II General] FPRobber:
I think he isn't satisfied with his S2's battery life.
[Galaxy S II General] ignign0kt:
Noob question: how are you freezing apps?
[Galaxy S II General] kreoXDA:
Guys is this normal ? I removed this default "AP News" widget the third day I had the phone, around 3 days ago. It sucks in megabytes of news in less than half hour, without even being on home screen? How do I stop it without rooting? thanks in advance.
[Galaxy S II General] beppez82:
Sry for my English but it left me without battery with no reason, android os gone higher and drained my battery I'm just disappointed cos these kind of thing are ridiculous from Samsung a phone that eat more battery in idle than browsing lol can't understand what they are waiting to fix....at 20.30 got 30% battery at 22 15% at 24 3% just in idle flight mode and was unable to plug it on a a charger..the problem is that it start randomly atleast on my phone because today was good with battery os drain still high but i lost like 2% x hour so normal... than started the drain...
[Galaxy S II General] falconeight:
Now this is depressing. My phone is on stock gingerbread.
[Galaxy S II General] beppez82:
did u freezed some apps?
[Galaxy S II General] slyydrr:
Oh, okay. I'd recommend trying a full restart of the phone - see if that helps. I try to restart my phone every night before I go to bed and I have been seeing good battery life. I'm wondering though - did you put your phone in flight mode at 15%? If so, I'm wondering if an app was trying to get an update from the web and kept trying over and over because it couldn't establish a connection.
[Galaxy S II General] beppez82:
Nope no Facebook or twitter only gapps in sync
[Galaxy S II General] yhrn:
Rooted before update to KE2 not rooted after. No apk's removed or frozen from system/app neither before nor after fw update. I've had this Android OS battery drain issue all the time.

Edit

Also, I have a colleague that bought the phone at the same time. He has not rooted or updated fw but is having the same problem.
[Galaxy S II General] FPRobber:
Can someone please answer this?
[Galaxy S II General] falconeight:
Hell yes after seeing that I rooted and backed up and uninstalled everything that I would never use. If I was iffy about taking it off I froze it. 45% battery usage with android os and android system is crazy.
[Galaxy S II General] falconeight:
Modern phones are smart enough to correct this.
[Galaxy S II General] DocRambone:
Thanks, must be something else then. I been searching for some clues on whats going on ... but this bug is very tricky to find...
[Galaxy S II General] slyydrr:
I truly believe the bug lies somewhere within the suspend process not allowing the phone to fully go into sleep mode. I'm wondering if this is something a talented kernel dev can fix. I'm going to download the source code soon and start digging.
[Galaxy S II General] BoostedSR20:
Just flashed KE2, and overclocked to 1.5ghz. We'll see what tomorrow brings for the battery...

(I really believe the ticket for me was the freezing of the .apk's)
[Galaxy S II General] NIK516:
yeh my os is down now but my wifi sharing has gone up so has my screen brightness ?

WIFI AT 23% BRIGHTNESS 30% AND MORE :(

i think there is some sort of problem i have no idea what :( super sad face
[Galaxy S II General] simonk83:
Well, upgraded to KE2 a couple of hours ago and I've already had Watchdog trigger with Suspend going nuts, twice.

Brilliant.

Don't make me regret giving up the iPhone Google...
[Galaxy S II General] BoogWeed:
You can use Titanium Backup to uninstall or freeze apps.
[Galaxy S II General] Skysezto:
I9100XWKE2 fixed the battery life issue.

it used to lose 5% or more from idling for 2 hours, now it loses 1%
[Galaxy S II General] simonk83:
Nope, it didn't.
[Galaxy S II General] falconeight:
I agree its the same
[Galaxy S II General] slyydrr:
I wonder if perhaps people are using different methods of installing/upgrading? Some maybe through Kies, others through Odin. Some maybe doing a factory reset prior to the flash, others maybe not?

Quick question for everyone - if installing through Odin, how do you do a completely clean install? Is there an option that can be checked, or should a factory reset be performed after the install?
[Galaxy S II General] BoogWeed:
Fed up with the poor battery life, I tried a little experiment today.

I uninstalled all user apps and samsung apps. The only apps I kept were default Android Apps and: Launcher Pro, Titainium Backup, Handcent SMS and What's App Messenger

I took the phone off charge at exactly 12:00 midday and after 5 hours, the battery was still on 89%. I made about 25 mins worth of calls and sent about 30 messages on What's App (and kept checking the battery status every 20 mins!).

Awesome I thought! However, as you can see from the screen shot, battery started plummeting as soon as I switched Wifi on (I have the sleep policy to sleep when screen off... I know some people say its better to leave it on never sleep, but I guess I'll try that next time)

:eek:

For the first few hours, Android OS % was low, around 6%. I went to the gym for about 90 mins after which I saw the Android OS % had jumped up to 38%.

Wifi and that Pesky Android OS seem to be the problem for me... :confused:
[Galaxy S II General] Skysezto:
i don't know, maybe it just me. btw, i update the firmware from kies

here is the screenshot
[Galaxy S II General] cmd512:
No problem with Android OS here. I do have just about everything frozen that I don't need via Titanium Backup though.

Still not getting optimal battery life... because as you can see, I keep playing with the damn thing!
[Galaxy S II General] earthdome:
yup. i lost only 1% too after 2 hours 15 minutes of idling with official facebook app, gmail n yahoo mail syncing. but it's still too early to say anything.
[Galaxy S II General] lynx2k50:
Can someone tell me which Samsung Apps i should deinstall?

Your guys telling "i have froze some Samsung apps" but i dont know which you are meaning.
[Galaxy S II General] tameracingdriver:
My battery life seems OK for now, but my Android OS process is still at around 15% this morning - not too bad, but not optimal.

Around 36 hours ago I did a firmware update via Odin, to KE1. Then a factory reset.

I immediately removed all of the default widgets.

I have Go Launcher, Simi Clock and Weather, battstat, smooth calendar, facebook, android news and weather and catch notes widgets.

I have not used any samsung apps or hubs.

Battery isn't really draining any worse than I'd expect from a smartphone - I went out for a few drinks yesterday afternoon and night. I took a few photos, some video, sent plenty of texts, made a few calls, showed the phone off a few times and a few games of angry birds. Phone was 85% when I took it out. Then it was in the low 60% range at the end of the night, and this morning, 54%. Not too bad.

Not saying its fixed, but I am going to keep a close eye on it over the coming days, but at the moment, I'm happy.
[Galaxy S II General] leoni1980:
Has anyone tried the built in battery monitor in task manager over a day to see if that gives any clues about battery drain?
[Galaxy S II General] dan13l:
Yesterday I froze pretty much everything that isn't stock android. Phone's just come off charge so I'll report back in a few hours.

How hard would it be to write an app that does an hourly scrape of the battery useage stats, that might be helpful in working out what's going on.

I tried playing with the terminal and the top command last night, but it didn't really answer any questions.
[Galaxy S II General] dan13l:
Oh, just had another thought: does anyone with this problem have an sdcard installed? I don't. Wonder if there's a correlation there.
[Galaxy S II General] :
sdcard installed. android os 73%

akkuweather widget update intervall 3h

exchange account setup to push

battery goes down from 100% to 68% over night (phone was not used over night)

battery time was 16h 38m
[Galaxy S II General] earthdome:
so far so good for me. trying to let my phone idle for 6 hours with background sync. 97% percent after 4 hours. android OS at 57%.

yesterday, the phone drained 15% in an hour during idle. i am using the same firmware (KE2). the reason is display, which is active eventhough my phone is idling. I was trying to reproduce the situation, but it didn't happen again. so i'm still wondering what triggers the display active the whole time eventhough the screen is off. really weird.
[Galaxy S II General] NoOneCanHelpMe:
Hey guys, I charged my phone yesterday to about 75% cuz i had to go out, as u can see ot the pics there is a bug with the charging and the usage program, I have used it only for 20 hours not for "1d and 20h", but nvm

my usage is:

Display ON - 4h 25m

Android System - CPU Total: 4m50sec

CPU foreground: 3m

Stay awake: 10 m

Android OS - 44min

Cell Standby - 20h 38m

Voice Calls - 23m

Phone Idle - 16h 13m

Dolphin BRowser - 13 min (i dont know why is just 13m i have been browsing a lot at least 1-2 hours)

Netcounter - 13 min

Media Server 10 min

Wifi Sharing 10 min

run whatsapp on backgroud

and still has 53 % left, I'm with KE1 update :)

no root, updated through kies,
[Galaxy S II General] Yufina:
Little hard to read. >_<

You should blame Google instead of Samsung. I think every 2.3 Android phones have that battery drain bug. It is interesting thing that some users will get that bug more often than others.

Btw, is there any information about 2.4? Is that bug still there?
[Galaxy S II General] FPRobber:
We don't even know if 2.4 will ever exist. Ice Cream Sandwich could be 4.0
[Galaxy S II General] DocRambone:
Some more tests today.

All tests done on a superslim XWKE2 rom, fully deodexed, root, stock kernel.

I can easily trigger the "android os" bug: enable background data.

With data enabled the "android os" cpu use time never stop to increase.

Without data, it stops after 3-4 min.

The bug seem to be some kind of security or restore part in android that need the background data to run.

I will try to find out what process uses the data connection and see if any more info can be found.

Any detailed change log on the 2.3 android? (2.3.3)
[Galaxy S II General] dan13l:
I thought a similar sort of thing. If we can see what processes are punching out we may be able to narrow it down. Is there some sort of firewall we could install? Maybe even something like Wireshark on the same wireless network?
[Galaxy S II General] DocRambone:
Try droidwall...
[Galaxy S II General] paranoid2007:
What exactly does this "background data" option do?
[Galaxy S II General] BoostedSR20:
I haven't done a wipe/reset yet. Flashed both new firmwares, and kept on truckin. Both flashed using Odin. (I have bot Kies .apk's frozen)

Frankly after having the battery/OS problems then getting rid of them, I'm too scared to do a wipe and start over.
[Galaxy S II General] tameracingdriver:
Its a process that allows applications to use the data connection to keep themselves updated, it is needed by stuff like gmail, calendar, market, weather forcecast, contacts etc.

Turning it off is NOT an acceptable "solution" to this problem - indeed, what is the point of having a smartphone if you don't use these features?

The poster who suggested that does seem like he may be on to something.

Personally, my suggestion is to have the bare minimum amount of stuff updating in the background, for example, all I have syncing are google mail account and facebook, and anything else that uses background data should be set to sensible levels; not much point in having facebook updating every 15 minutes such as the default IMO - maybe every hour or two, and weather forecasts and news every 3 hours should be sufficient, especially for the weather (which lets face it, isn't exactly the most reliable thing in the world anyway)...

Turn off anything you don't really need.

Having said that, my Incredible S due to Sense UI has a lot of stuff in the background and it doesn't seem to harm the battery too much, though I did turn quite a lot of it off.
[Galaxy S II General] Leggenda:
You're wrong ...because with Android 2.3 the statistics are reset only when battery is fully charged (100%)...
[Galaxy S II General] DocRambone:
No, turning data of is not a option, but its a good indication to what's draining battery.

One more thing: with the data off the wake up lag is gone

Enable data and 1-2 s start lag again
[Galaxy S II General] paranoid2007:
Thanks for the info. BTW nice to see you in this forum. I've been enjoying some of your ROMs for the Galaxy S. :)
[Galaxy S II General] acb77:
Sorry to ask perhaps one of the dumbest questions ever, but how do you do a hard reset on this phone and how do you format the mem cards?
[Galaxy S II General] abdmid:
I fully charge it I leve it idile for 10 hours

Wifi off

3g network

Email in push

Twitter

And after 10hours it drops from 100% to 23 % ....note it drops that much while am sleeping
[Galaxy S II General] vimto25:
Settings then privacy you will have a few options to change to factory settings and also wipe memory card
[Galaxy S II General] SBS_:
I usually charge it up while I sleep but last night I charged it up before I went to sleep and have had it idle on battery till now (9 hours).

The phone is on stock KE2, no root

It has gone down to 90% over 9 hours, so a little over 1% per hour. This is with Wifi off, 3G on and everything syncing as usual (every 15 mins).

Android OS: 49% (20 mins and 3 secs CPU total)

Cell Standby: 22% (9 hours 8 mins)

Phone Inactive: 15% (9 hours 2 mins)

Screen: 13% (6 mins 21 secs)

Internet: 2% (33 secs)

So I'm pretty sure I don't have the battery life bug at all, but I'm also pretty sure I never had it.

edit:

Not posting this to be an ass and say "haha mine is working", but maybe see if we can figure out a difference that does that mine is working and many others are not
[Galaxy S II General] RyanZA:
100% not confirmed here. Enable/disable data has no effect on the wake up lag on my device. Only thing that makes any difference is if it's plugged in or not. (Looks to me like it's related to power management?)
[Galaxy S II General] EleCtrOx666:
Yup, when screen is off CPU is underclocked at 800Mhz I think to save battery life.
[Galaxy S II General] gmatharu12:
I hate the fact it is like this, I know the device is under-clocked to save battery but clearly in our scenario it is not saving battery but it also makes a powerful phone seem so sluggish when you pull it out of your pocket and want it to turn on quickly.

Turning off background data has not removed the wake up lag for me all the time (but it has helped).
[Galaxy S II General] tameracingdriver:
Why thank you.

I'm glad you're enjoying my ROMs, although am also slightly puzzled about that, as I have never made a ROM in my life :D

So I guess you must be confusing me with someone else! However, I am touched :D
[Galaxy S II General] tameracingdriver:
Am I the only one who does not see a 1 second delay for the screen coming on a big deal?

My laptop takes much longer than that to wake up, and my plasma TV takes around 5 seconds for the image to appear.

Obviously I guess it would be nicer if it did instantly come on, but its not exactly the end of the world. In fact, I think my biggest beef with the lock screen is that it just looks a bit shoddily done the way that sometimes your home screen appears briefly before the lock screen does when you wake the device up.

When I had the first Galaxy S, this was resolved in some custom ROMs by basically getting rid of the Samsung lockscreen and using the default Android one.
[Galaxy S II General] NoOneCanHelpMe:
wrong about what?? when i plugged the charger out was on "1day on battery" i havent charged it yet and still have a lot of battery (40%) and it says 2 days now, even if most of the time the phone is on stand by, i think it is prety good :D
[Galaxy S II General] BoostedSR20:
KE2 running @ 1.5ghz. Flashed without wiping. All wifi, kies, and Samsung .apk's frozen. Battery is at 95%. Screen is 50%. Light-moderate usage. Also, noled notifications running, and all background data.
[Galaxy S II General] gears:
Hiya guys, it's Gears from coolsmartphone. I've actually got one of these to review from clove and haven't seen any of this behaviour. In fact this is the best battery life I've evr seen on a phone. I'm using Android 2.3.3 kernel 2.6.35.7-I9100XWKDD-CL161513 root@dell 103 if this helps ?

Would live to help if poss
[Galaxy S II General] BoogWeed:
I notice your wifi is constantly on... what's your wifi sleep policy set to?
[Galaxy S II General] BoostedSR20:
Always on.
[Galaxy S II General] BoogWeed:
Highly unlikely...

I'm sure you can return it within a week or so if you;re not happy with it?
[Galaxy S II General] Xailter:
My phone did this after I hit the 'Clear RAM' button in the Task Manager.

In 45 minutes my phone drained from 100% to 90% battery which shocked me, because I wasn't using it (screen off).

Turning the phone off and on again fixed it however so just keep an eye on the battery usage app if you think it's actin odd.

-X
[Galaxy S II General] paranoid2007:
Sorry, he he. I meant to reply to Doc of course. ;-)
[Galaxy S II General] earthdome:
Just wanna ask to those losing more than 10% battery per hour. Can you check if the display is eating your battery? It happened to me yesterday. I left my phone idle and screen was definitely off. An hour later the battery drops 15% and the battery usage showed that the display was on all the time.
[Galaxy S II General] dryspuri:
I read the whole thread, no one is giving actual solution, @boosted can u please tell us how u improved ur battery,

Please people can somebody help, will adb logcat help in this, oh no- phone will be charging at that time!!!

two things i have noted

1. there is some app which is triggering wifi sharing if you go to running services it shows wifi icon for sharing, if u try to force stop them they reappear, so i have gone in to all tab, & force stop them there, dont kill wifi but just its sharing( btw wth is this), i have also taken out external sd i will report tomorrow, how it goes,
[Galaxy S II General] BoostedSR20:
I've said it a few times in this thread, I believe its the .apk's I have frozen.
[Galaxy S II General] beppez82:
I have frozen all same applies also ota updated and is better now.

We will see tomorrow with a full charge btw for me the battery is good 30% left 45m min call 2h 27 display web browsing mainly hspda using JD evry 15m for 1m sync and got 1h33m of these andorid thing that stopped after freeze of sam****
[Galaxy S II General] BoostedSR20:
Still happening for me.
[Galaxy S II General] jonrwg:
Previously my android os was around 20-25%. So I factory reset my phone but this time I remove all those Samsung apps including some clock widget except Social and Games Hub. Now my android os showing 7%.
[Galaxy S II General] DocRambone:
Ok, more testing done:

With background data active, lots of "android os" cpu time, lost 8 % battery in idle/h

Without: 1% /h and almost no android os time...