yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] jackall:
Good Morning Everyone,

My 2nd day without changing either ROM / KERNEL / or theme. (and I am going nuts ... I am a chronic flasher ... I neeeeeed to change something in my phone everyday :D :D)

This morning after unplugging the charger, battery level was at 100% for a few minutes (unlinke yesterday, when it went down to 98% immediately after the charger was removed).

3hrs 51mins since unplugged

Battery = 95% (no phone calls 1 sms so far, 3G ON, Wifi OFF, POP 3 every 30mins, and Gmail, Beautiful widgets every 1hr)

Cell Stndby 42%

Display 37%

Phone idle 21%

Yesterday put my mobile on charge at 01:00 AM, and there was still 48% left !!!! If this happens again, I think my problem is sorted here. And will start to try to replicate the battery drain issue again.

My major suspect is still a miscalibrated battery, due to flashing of new roms at varying battery levels.

It seems mine got cured after installing DOC 6.2 from CWM, at 100% battery charge,wipe stats, and re-installing all apps FROM THE MARKET. No titanium restore. (contacts were restored from CSV file).After that I flashed Speedmod K12C Kernel, fully drained, fully charged. Bumped charged a few times, and thats that.

@Stefanaus, there were various posts in Doc's Rom thread about the gallery issue. It seems that stock gallery would somehow or other leave the sensors active active after you quit the program, resulting in heavy battery drain. It was dubbed the sensor drain bug in that thread.

Gents, I believe what we are facing is a number of different issues all leading to the same result, however the ilness is different for most of us. I never suffered from the wi-fi bug or the gallery sensor bug. So I believe mine is the mis-calibrated "bug". But we have done a lot of progress in this thread thanks to bokbacken, and our posts are not becoming lost amongst the hundreads of issues inside the Rom Threads.

Lets keep the reports coming.
[Galaxy S I9000 General] zoubidou:
ok, that so you said you read it all????

http://xdaforums.com/showpost.php?p=10056736&postcount=6706

the link is in post 1
[Galaxy S I9000 General] Stefanauss:
Very very interesting.

Maybe you're the only one here who's comfortable enough to do the measures, but these are the most empirical findings so far, no doubt about that.

Now that i know the tools you're using are external and not by software means, i'll consider it in my future comparisons. Thanks. ;)

Good find. How longer than System Indicator JuicePlotter showed 100%. Do you know?

Thanks for taking your time to confirm/controvert the issue. Hope more feedback's coming.

Thanks for the tip, i'll have a look at them and find out if a fixed version is avaible. :D
[Galaxy S I9000 General] ReiKo90:
This is first post. No links in it.
[Galaxy S I9000 General] ldjh1985:
http://xdaforums.com/showpost.php?p=10056736&postcount=6706
[Galaxy S I9000 General] jackall:
I think you should remove the stock app and install the one from SGS Tools.
[Galaxy S I9000 General] zoubidou:
i definitively think that the yamaha sensor is somewhat responsible.

i have several times started and stopped the autorotation fonction, and each time I saw a difference in cpu in systempanel. I will now check during a longer periode of time if this is even true during sleep time of my SGS.

I did not use the gallery, so even if it might be one of the culprits, it is definitifely not the only one.

in fact even the launchers might be responsible for it.

I will check with the samsung default launcher if this is true also.
[Galaxy S I9000 General] dagbdagb:
Three things that appear to work for me...

I am running Darky 7. So JPY userspace/modem/wifi fw. Compared to JM8, batterylife is a joke.

A few things that appear to have worked wonders for me (based on overnight idle mode on my bedside table):

- wifi sleep policy was set to never, changed to sleep when display is off

- google sync was set to on for mail/contacts/calendar, switched to off

- ditto for background data and auto-sync.

I believe this should be the norm for reporting battery consumption, so we can compare apples with the same sort of apples. Are there other variables which should be considered before we truly can compare data? GSM/UMTS comes to mind.

I am on UMTS, using a weather widget to pull forecasts. The widget is rather conservative w.r.t. updating etc. I have nothing else polling data. Not sure how to tell what band my SGS employs at the moment.

With these changes, the battery dropped from 60% to 53% over the course of 11 hours. I have no clue about the linearity of the battery voltage or how the percentage scale is mapped to the voltage.

Next, I'll drain the battery completely and see if a recharge in off mode will allow me the have 100% after unplugging..

What is the best way to get a new battery calibration going, and when is the best time to perform this?
[Galaxy S I9000 General] SoSJokerSoS:
Wifi draining bug solved!

Ok guys, it really seems that speedmod K12C and the older Wifi firmware dxjpa (from hardcore) works and has solved the problem.

I flashed yesterday and at first sight it seemed that it didn't work, so i completely discharged my phone, fully charged it, made some bumb charges (about 10 times), wiped my battery stats, made again some bumb charges and startet the phone.

First I turned everything off, sync, wifi, mobile network, gps ... and so on

This resulted in a good battery performance, after some hours I still had 99% left!

Then I 've turned wifi on (until now).

Guess what?

98% left. (4190 mV)

Edit:

This is disappointing, it kept a long time 98% but then it drained again 1%/7 mins. I think it's better then before, but still not satisfying.

Does previous firmwares also scann every 5 seconds? It seems that there is a polling bug or something. According to my battery history wifi takes up ~96% of battery drain.

btw. for my tests I shut down every running app, use no LWP, and dont use my phone.

I've just let my phone idle-ing ;)

greez Joker

Have a look at my screenshots, it shows you how long Wifi has been turned on (it's the orange stripe + clocktime)
[Galaxy S I9000 General] Maddmatt:
I've also noticed better battery life with the Speedmod kernel. I have Wi-Fi on all the time with sleep policy set to 'never'. Seemed to lose maybe 10% overnight instead of over 30% it lost with the stock JPY kernel.
[Galaxy S I9000 General] gulbrillo:
Thanks a lot for the thread. :)

I was testing battery life for the last days. Switching from one speedmod kernel to the other. Doing gallery fixes, wifi driver and modem changes and so on and so forth. Currently I am on

DOC Rom 6.2 with

speedmod kernel k12c,

BUJP5 modem and

wifi dxjpa driver.

After uninstalling Lotus Notes Traveler my phone finally is falling asleep again. I guess that was mine main issue so far.

Unfortunately I had this piece of ****ty software installed all along. Let's see how the battery is doing now.
[Galaxy S I9000 General] SDeba:
Where i can find other modems? Are there any disadvantages of them?

Sent from my Samsung Galaxy S
[Galaxy S I9000 General] bokbacken:
Hi, well lets see....

Link is on the 3:d post titled A little stuff that could be good:

http://xdaforums.com/showpost.php?p=10035418&postcount=3

Feels good to answer like this :rolleyes:
[Galaxy S I9000 General] TOMMYX2:
extract the firmeware and you get your modem.bin.That modem.bin you can flash with odin

btw. my Mediascanner had sometimes 3-4 Forceclose after a scann.I found a option that help for me:

-I have deleted the Tumpnails Folder on my intern Sd Card and after that i dont have FC anymore and i see my Batterie Life is better now
[Galaxy S I9000 General] mkrogh65:
my 2 cent info

Hi -

Installed K12C kernel - on Darky7.0 - clean install.

Changed my battery usage overnight from 30% to 3 %

I have mobile network on at night.

Pretty good eh ....

I use:

Exchange mail (15 min check)

gmail

Facebook (3 hour update)

Beautiful widgets (seen this discussed in this thread)

I cant say I have any wifi drain issue.

The battery is after K12C installation pretty ok.

At least on my phone

BR

MKrogh
[Galaxy S I9000 General] bokbacken:
Thanks a lot for all support and feedback, this is great!

My bonus space at dropbox is filled to the limit (well the limit was 8Gb) thanks to you, more than 30 different people have started using dropbox now and I really do feel that there are no loosers in that.

I'm astonished that I got that much "support" in only a few days so:

Thank you!

And now its time for a commercial:

I have now changed my "begging for money I mean space" message to another service that is even better, but not for your android, only for your PC (windows), a similar deal, 2,25Gb free space now for automatic backup, perfect for backing up mail and documents and other important stuff. Feel free to sign up using the link at post #1.

End of commercial. (Commercials are only allowed for the guy starting the thread, and if it's not you, you know what that means!)
[Galaxy S I9000 General] SDeba:
So ive read this threads and ive found that european modem jpp has huge battery drainage. Which one i can use if im from poland in europe?

Sent from my Samsung Galaxy S
[Galaxy S I9000 General] bokbacken:
Yes this is what we call suspect #3

in SGSTools ther is a script to do that procedure of removing thumbnails and also delete two databases so the get rebuilt at reboot.

In SGSTool press Apply script then select clean_thumb_db.txt

Will add this very simple instruction to post 3 so new visitors are able to find this info quickly.

Suggestions for more instructions to put in post #3 anyone??
[Galaxy S I9000 General] bokbacken:
OK, you point your finger at JPP modem, please help us in the investigation and try to do some measurements using one of the forensic tools found in post #1

When you have some data on JPP try another modem and continue to measure then post info to use so we could help other users.

Link to info and collection of modems flashable in cwm could be found in post #3
[Galaxy S I9000 General] bokbacken:
Great news for you! I think that should be worth well over 2 cents :D
[Galaxy S I9000 General] bokbacken:
Hi,

You don't say that a Lotus Notes app could be badly written do you:rolleyes:

Do you think I should put it on the suspect list?

I wonder how many people that might be using it on an android phone anyway????

Thanks for the report, I'll send out the question:

Anybody else using Lotus Notes Traveler out there?
[Galaxy S I9000 General] SDeba:
So Ill test some modems. What if Ill unpack modem from polish 2.2 froyo JPA, wonder there wont be any problems? Is it matters that this short battery life is connrcted with a fact that i have this phone since friday?

Sent from my Samsung Galaxy S
[Galaxy S I9000 General] bokbacken:
Strange this, well I've seen a lot of different info on this battery calibration thingy it could be an effect of that, wait, lets call out:

Does any of our experts know exactly how this procedure should be performed and how many cycles it will take until the battery meter is somewhat reliable again?

One more thing, is there anyone that has dissected the /data/system/batterystats.bin file, would be interesting to see what information it stores, this might explain how the "calibration" really work.
[Galaxy S I9000 General] bokbacken:
Thanks for your input, but...

I have to dissagree on this, I bought a smartphone, and not only that, one oft the smartest phones out there, and I don't like doing open brain surgery on my smart pal, so I say: Dont turn off all the goodies, we want decent battery life with the phones IQ at 180+

When we have reached the goal of decent battery life, in my book that is that I should be able to use it for a couple of active hours and in the evening there should be >25% juice left in it,

then we could take it to the next step switching of things that draw a lot of current, reducing brightness even more than 0 (-8% with Brightness Level by CurveFish, I think level 0 is way to much light for me, -8% is also to much but it's better) turn it of while we sleep and other boring things, but I don't want to do that right now.

Are you with me??
[Galaxy S I9000 General] bokbacken:
Yea, I would really have wanted a Ducati sensor instead;)

The sensor bug, the gallery 3D bug, process 0 at 100%; a bug in battery history?

Could someone explain this bugs in a detaild fashion to me, I have never encountered them (except for process 0), but I have seen a lot of it being mentioned, I know of it but I don't know the facts about it (Stefanauss, I remember you had Gallery bug it in stock JPY, right?) and SoSJokerSoS made a slightly sarcastic reply on this, correct? (Sarcasm is ok as long as we keep it within reason, I like to be sarcastic too)

Maybe you two could give some facts about it, for the rest of us that are such noobs:rolleyes:

(Did I say in a preuvios post something about, Don't believe people saying "everybody knows that (insert just about anything here) causes you battery to drain", I should probably check my memory)
[Galaxy S I9000 General] jackall:
After 14Hrs running, still have 41% left. Still not what I used to get in 2.1, but battery life has improved drastically here.

Tomorrow will flash voodoo kernel and see if I start getting back the drain.

I have :-

Time since unplugged 14Hrs

Display 83%

Voice Calls 10%

Cell Stndby 4%

Phone idle 2%

Maps 1%

Battery level is 41%

Battery Voltage = 3811mV

Other Usage

Bluetooth on = 34.4%

Phone on = 3.9%

Sceen on = 14.7%

Running (18.1%)

In Network Usage I Get

1002 (all Blue with 1% red on the right), selecting it causes FC

1013 (All Red)

Android System (20% Blue + 5% red)

0 (20% Blue)

dialer (15% blue, 2% red)

market (2% Blue)

Media (2% blue)

Maps (1% blue)
[Galaxy S I9000 General] xan:
More info: Voodoo Advanced 69 (/data /dbdata /cache ext4), moderate undervolting, oc to 1120Mhz;

- flashed wifi firmware from DXJPA

- disabled wifi completely

Update on first 10 hours since unplugged:

- data on (quite good coverage), auto sync on, gmail on, basically IQ over 150;

Extremely light direct usage:

- 1x voice call (~2 min)

- 1x sms

- ~10 times to do basic things of the boredom like check the clock / ensure device is up and noone called

Still @86%

All I can say its working for me. I think I'm back to nearly 48h normal usage scenario when wifi is fixed

I blame the wifi and 'the scanning bug'.
[Galaxy S I9000 General] bokbacken:
@jackall

I must say, really admire you, so much self control!

How many days have it been now without a flash?

Getting the shakes yet?

You know we stand behind you on this, you can rely on our help, we're here for you!

Any comments on my latest posts, info on Gallery Sensor process 0 bugs??
[Galaxy S I9000 General] xan:
No gallery bug here; process 0 in network usage is at first position being 99% blue 1% red.

Dont think there is anything wrong with it. You could try any other froyo modem since they are interchangeable. (Like.. JPM?)
[Galaxy S I9000 General] bokbacken:
I see, you want higher IQ than the phone, can't blame you;)

Also like the phrase: ensure device is up and noone called

So you dont like it when people call you :D understand that one as well!

I would say you have good grounds on blaming wifi and I'm happy that you share this insight to us. I also like the VoltageControl app when I'm on OC kernels it's splendid thanks for that aswell.

BTW have you tested Speedmod K12C, even if it's not OC?? could be nice to see if there is any difference with wifi, I know trasig say: "Never had it!" about the bug.
[Galaxy S I9000 General] jackall:
I am getting a mild tick but its under control :). On the up side, my g.f. is a bit happier and she says I am spending more time actually using my expensive phone instead of just trying to make it better, and never actually using it :D

So before this thread started, I was very actively (reading) doc's thread. And it seems there there was a bug around (which never affected me) where ppl using the stock gallery app, got huge drain after starting up the app, because it seems once the app quit, it did not put the sensors back in stdby mode or smtg like that. Since I did not experience this first hand, I suggested to stefanauss to try to dig it up and get the facts straight.

I was also curious about the "0" process, but I am starting to believe this was a witch hunt on my side, since as I said I am now at 39% after more than 13 hours and the "0" process is very much present in my battery history (albeit only at 35% blue)

As mentioned earlier I have 2 other processes a 1002 and a 1013

1002 is 99% blue 1% red

1013 is 99% red

Also anyone can shed some light on what is the meaning of blue and red in battery history ?

One final thing, if we are to turn off Gmail and Pop and all widgets, we might as well get a blackberry. I used to have one, and battery life on it was fantastic (like 3 days on really heavy use), but for me it was such a dull phone. Before the Galaxy S I also had a wildfire, true with a pity excuse for a screen, but I could easily get 24hrs out of it.
[Galaxy S I9000 General] SDeba:
So tommorow ill flash new modem and post my observations.

Sent from my Samsung Galaxy S
[Galaxy S I9000 General] bokbacken:
Great news!

Should I add this to the first post?
[Galaxy S I9000 General] xan:
Its always good to have some disturbance-free time during Christmas :)

No I didnt, however I don't blame kernel for this. Its something in 'factory.rfs part'.

Does anyone having a 2.2 firmware (not 2.2.1!) see his wireless networks being refreshed every 5-10 secs? I've asked over #project-voodoo but everyones busy.
[Galaxy S I9000 General] HabeHandy:
Support the Galaxy S "Network Controlled Fast Dormancy" ?
[Galaxy S I9000 General] dagbdagb:
No.

I don't care how you use your phone. But to establish comparable baselevel data, we need to be on the somewhat same page. There are plenty variables already (userspace/kernel/modem/wifi fw/radioband). These 5 variables already make up for a ****load of datasets to compare. Distance to cell tower, radioband and local wifi environment can impact the powerconsumption enormously.

Hence we should define a usage scenario which everyone easily can reproduce, and where the powerconsumption isn't very dependent on distance to cell tower, radioband and/or local wifi environment.

Leaving the phone alone at the bedside (or wherever) over night with some defined configuration parameters should be doable for most. I suggest the threadstarter take this idea and define the settings.

If you can't define what you are testing, there is no point comparing data.
[Galaxy S I9000 General] bokbacken:
I do see your point, and it does make sense, but still there are two different levels of battery drain that we are talking about, and I'm very much focused on the first level, the one that would drain 100% of your battery in a couple of hours (less than 8).

This drainage is totaly unacceptable, you should not be forced to turn of everything in the phone just because you might forget to connect it to the charger overnight.

We have to have wifi, 3G and e-mail sync on to find these bugs, because if we turn it off there is nothing for us to find and the bugs will live happily ever after.

If you have something in your house that consumes a lot of energy you can't shut off your heating and hotwater system and everything else but the light and then start to measure if the lights in the kitchen is the power drainers or if it's maybe in the bedrom? Hope you see my point here, the big power consumers MUST be active during sleepmode otherwise we don't know which one is the bad guy.

But when we have found and eliminated these big bugs, then we could start finetuning by turning off every radio ciruit in the phone and check how many extra minutes (or hours) we get with different apps, LWP, Widgets, ROM:s, Kernels, Modems and so on.

So even if you are totaly right in your point of view, I still don't agree with you in this particular case.

(And I have a very hard time not to comment anything on: "I don't care how you use your phone":mad:)
[Galaxy S I9000 General] gulbrillo:
Everything about Lotus Notes is badly written. How should it be different with Lotus Notes Traveler? Well, I installed it to SAVE battery since there is no other way to get push mail service out of your companies Lotus Notes mail server. But I really think Lotus Notes Traveler prevented my phone from sleep mode. It was 100% on "Partial Wake Usage"... yay.

But: I will test it in more detail once I ruled out other stuff. There are too many strange short time observations, like: I could reproduce that battery consumption is less when streaming audiobooks via bluetooth compared to bloetooth deactivated. that can't be. I have to test this in more detail as well...
[Galaxy S I9000 General] ldjh1985:
Evening all,

Following on from my half decent morning with my battery, it went completely downhill today:

Configuration:

- SetCPU - Conservative

- WIFI off

- Autorotate off

- Brightness Lowest possible

- Auto Sync on

- 3G on

- Bluetooth off

- GPS off

- Packet Data On

- Data Roaming On

- USB debugging disabled

I hardly used my phone today if im honest!

Combination of having 3G and Autosync on seems to have completely killed my battery today! I also run a speedtest with the 3G on and i managed 0.10mb download and 0.8 up.

Any suggestions? :D
[Galaxy S I9000 General] SDeba:
SpeedMOD K12C works perfectly on JPY without any lagfix But I'm just curious is it normal:

I have unplugged my phone from charger at 10:00 AM then, I was playing 3D games for about 1h, another 40 minutes I spent on watching a movie. I have done two reboots of my phone. Then with WiFi turned ON I was browsing the internet, downloading apps from Market. My phone was idle for about 1h. Now at 4:47 PM (almost 7h) my battery is 18%.

Is it normal? Oh, and my phone is new, I'm using it from xmas (2 days).
[Galaxy S I9000 General] gulbrillo:
here is my batterystats.bin. nothing fancy in there. seems to be a complete list of my apps as well as some "events" like "unknown_wakeups" and "alarm". For me it more looks like a list which service consumed how much power and no battery calibration thing. (?) any professionals here?
[Galaxy S I9000 General] bokbacken:
@ldjh1985

One quick q first, You said in previous post that you should turn autosync on, but in your current config list you say off, is the list correct?

I would suggest that you try another modem with the exactly same settings, would be a good comparison. The values you get with speedtest SUCK! but I have seen some comments that speedtest can't be trusted. do you have access to any FTP site on a highspeed line where you could download a file of x Mb and calculate the speed instead? Getting better ul speed than dl speed is not very normal.
[Galaxy S I9000 General] gulbrillo:
How do I see that your wifi is being refreshed? where do I need to look?
[Galaxy S I9000 General] bokbacken:
Phone idle for 1 hour and consumed 82% in the other 6 hours (meaning screen on almost 6 hours? auto brightness?)

I'm not surprised on that drain, maybe even some live wallpapers and a few widgets running?
[Galaxy S I9000 General] SpeedsterK:
It is in Settings /Wifi and Network / Wifi Settings

You can see it in the list, where all near networks are shown up.

It says "scanning" all 5 secs.
[Galaxy S I9000 General] SDeba:
Yes 6hours screen was on, auto-brightness is off. So it is normal behaviour? Oh, and I have nexus live wallpaper and one widget.
[Galaxy S I9000 General] bokbacken:
But when you are in WI-FI settings, it should scan every 5 seconds, shouldn't it, if you uncheck Network notification does it still scan when we leave WI-FI settings? How do we check?

We need to get a sniffer, any recommendations?
[Galaxy S I9000 General] gulbrillo:
Oh, OK. yeah, I got this as well, but the question is: will I have this when I am not in this special menu as well? But it's a good point.

I really hope scanning stops once you are connected to a wireless network and exited the settings menu.

But what when there is no wireless network? Will the phone scan every 5 seconds?