yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] bokbacken:
Check in lpy:s posts, he did some measurements on the current draw, he linked to one of his posts in another thread also:

http://xdaforums.com/showpost.php?p=9672410&postcount=5181

remember battery is 1500mAh

@lpy could you please download Brightness Level by CurveFish and measure the difference between stock 0 brightness versus BL 0 brightness (-8%), could be very interesting to know.
[Galaxy S I9000 General] ldjh1985:
Hey, sorry was a typo, autosync was on 2nd time round, Ive just installed the DXJPA modem, lets see what tonight/tomorrow morning brings

I have got access to an FTP location will test tomorrow :)
[Galaxy S I9000 General] bokbacken:
Updated Forensic tools list with Shark - this is for experienced users only you need to understand Shark (I'm sure many of you already do)

Don't forget to check back to the first pages and also to tell me if you think something is missing there so I could add it (remind me with a PM, easier to find for me!)
[Galaxy S I9000 General] fredphoesh:
?????

you are complaining about 1.5 DAYS???

Wow, I have three batteries and NEVER last more than about 8 hours with a battery, and do not use the phone heavily... wifi, gps, bluetooth always off unless I am updating an app.

Using Darky 7.0, but is not different to Doc's or any other 20 rom's Ive tried over the year so far. Also flashed this "update-wifi-xxjpy.zip" which was meant to have some impact, but not noticeable.

Mark.
[Galaxy S I9000 General] bokbacken:
Hi and welcome to the club:(

Well there is hope anyway, but for starters fill us in on your current setup (besides being on darkyy's) have you tried any of the "quick fixes" that everyone suggests?

SGSTool clean_thumb_db script?

hardcore's Speedmod kernel, not only the update wifi jpy but the kernel?

Done any battery calibration?

next

Gmail, E-mail, Exchange accounts, sync settings...

You get the picture
[Galaxy S I9000 General] Evans_Prophet:
To measure what's going on you need the power widget which shows how much current is drawn by the mobile. This can help identify problematic apps. Unfortunately this app does not exist so far for the galaxy s, only for the vibrant. Our roms lack a required file.
[Galaxy S I9000 General] bokbacken:
Yes, I know, that is the reason it is not on the Forensic tools list:( But the tools we have available will get us a bit on the road to find some patterns.
[Galaxy S I9000 General] Evans_Prophet:
By the way, it goes without saying that 3g/hdspa will KILL your battery. We are talking about a huge difference. I only use 3g/h for heavy browsing. I gave very good battery life. Power widget would allow further customization.
[Galaxy S I9000 General] suua:
Hey guys :)

I unplugged the phone today at 12:00 mitday a clock, and know i still have 73% battery.

BUT when i turn on the Wifi, it start drain very much! so i hade the wifi maby 20 minuts. no data sync nothing.

my version.

Darky's v7

Baseband JPY

Kernel SpeedMod k12

And i have installed the Wifi fix jpa that one that hardcore recomanded.

But it seems the wifi fix not to help so much.

wayting for updates and fixes, i hope :)

Thanks u guys for a wonderful work :)
[Galaxy S I9000 General] bigmo7:
I managed to put together the pictures from Juice plotter, it doesn't have any scales though but it runs from 100% to 15% in the image attached. I'm using Darky's ROM with Speedmod enabled. The times when the line is red is when wifi is on, the rest of the time it's just 3G. The time when it's just a yellow line is when I'm getting no signal from my network I think (someone confirm?). It's a little steep at the end cos I was playing Bubble Buster. The policy I have is for the phone to only be on wireless when the screen is on, in other words wifi is supposed to sleep when the phone is locked.

Hope this helps, I'll try getting a better one in a day or two :)

Edit: Also if anyone has a better tool for getting a graph done then recommend it ;)
[Galaxy S I9000 General] bokbacken:
Well that's to bad for me (and a few other guys) as my operator doesn't have anything other than 3G/HSDPA :eek: then I have no hope?

It doesn't go without saying, I have pretty good battery life now even with full logging running in the phone and sync on for gmail + imap + exchange (Yes 3 different mail accounts) I also have beautiful widgets running with update every 4 hours (and it also updates on new locations I think)

So my batt isn't completely dead yet, is it?

3G/HDSPA will not be put on the Suspect list in the heavy drain trial, but to get a little more milage out of your phone, this is a good action to take, but not everybody has that option, myself included.
[Galaxy S I9000 General] bokbacken:
Timespan for the plot?
[Galaxy S I9000 General] xan:
+1 voice call (3 min)

Little update:

Screen from battery graph (prefer over juice potter(sic))

All seems ok.

One bump is from connecting the phone to PC and looking and logcat (5mins or so)

Its like 20% (taking usb charging into account) in 10 hours. Excellent for me.

Tried gallery in meantime, it doesnt drain sensor anymore.

As a rough estimate 2% per hour in this current setup (Darky 7.0, VoodooAdvanced 69 moderate UV + ext4 + JPY modem +JPA WIFI + autorotate

with data + background sync, gmail, twitter, fb syncs (not much twitter and fb, no spam -just a few posts came today)

I have narrowed it down to wifi (for me), definitely.

Wifi test coming overnight.
[Galaxy S I9000 General] bigmo7:
21.30 on the 25th to 23.30 on the 26th, so 26 hours in total.
[Galaxy S I9000 General] mithunjo:
I use K12C kernel, just conservative set on Setcpu, no overclocking.
[Galaxy S I9000 General] mithunjo:
Right now my battery problems seem to have improved a bit.(battery automatic calibration perhaps?) Now I'm losing about 1% every 5 mins of Internet and app usage with Wifi. Is this normal and acceptable?

While this was better than what I had 2 days ago, it's still not what I had on eclair I think..
[Galaxy S I9000 General] bigmo7:
That's kinda acceptable I guess if it's non stop usage. Is it any less if you use 3G?

I think overall Froyo's battery usage is higher than Eclair.
[Galaxy S I9000 General] kootheancheah:
I thought update wifi dxjpa is the one tht shld hv some impact and if u find no impact, then u can flash back wth update wifi xxjpy. As for me, as I have reported earlier there is no impact whatsoever after a short trial. I hv gone bck to xxjpy but havent tried speedmod k12 kernel.
[Galaxy S I9000 General] mkrogh65:
Well I haver read a lot about battery "tuning" battery in these threads.

To be honest ..... they are all wrong.

Explained:

A phone use power.

when you turn on any radio, service or other (Screen ect.) it consumes power.

the battery stats shows what the battery has been used for. (eg procentage, hours or other readout)

Several people in these threads has got this wrong and believe the battery stat is kinda intelligent and makes a database which keeps track of how much drain shold be done on the battery when a particually "radio" is used-

Its all rubbish :)

It doesnt work that way.

Charge the battery -

Use the phone , and the power used by the phone will make the stats according the your use.

Get the drift ..... :)

But never the less ... You could get som more juice out of your battery by doing som "shut down phone" and charge kinda of things.

But it will only be a little boost.

So please ..... "pretty please with sugar on top"

Stop the battery stats intelligent drain kinda diskussion.

BR

MKrogh
[Galaxy S I9000 General] lpy:
If you're looking to conserve battery, most widgets should be fine, but live wallpapers are not a good idea.

It helps a little, but a bigger help is the Screen Filter app - unless you're in the sun :-)

Dark background -

100% - >112mA

50% - >97mA

0% - >80mA

-8% - >78mA (CurveFish Brightness)

-8% + Screen Filter @ 20% - >71mA

Bright background -

100% - >383mA

50% - >243mA

0% - >109mA

-8% - >100mA (CurveFish Brightness)

-8% + Screen Filter @ 20% - >71mA

Bonus test

Vibration test (*#0842#): mA vibration on - mA vibration off =

Vibrate full = 65mA

Vibrate just over half = 25mA

Vibrate just under half = 10mA

Vibrate low = 7mA

As you can see, setting vibrate to half (or just under) can save quite a bit of power too.

TLDR lpy's quick tips:

Screen Filter app for night time/indoors

Set vibrate to just under half or less
[Galaxy S I9000 General] zoubidou:
something very strange happend to my phone yesterday.

I wanted to try the gingerbread version http://xdaforums.com/showthread.php?t=877800

so i flashed cwm, and with odin the kernel.

then I restart my phone, It got stuck in the SAMSUNG SCREEN flashing once, i.e. it did something. then I just decided to reflash speedmode k12c and start my phone.

And what a surprise, my battery indicator was indicating 7% more it went from 88% to 95%. This means the problem resides ruther in the way the kernel reads the battery data then in true usage.

if someone could check this in doing exactly what i did? I think the kernel writers should talk to supercurio to find out how this thing is working.
[Galaxy S I9000 General] k0nko87:
Hello guys,

First i want to say that this is a great thread that hellps me a lot!

I think I found a case of my mega draining !

I was on darkys v6.0 and everythink was OK, battery life was very good. Than I flashed darkys v7.0 JPY and the problems started... I think that was because of JPY (Darkys v6.0 is JPX and it was OK). So after that i flashed DOCs v6 JPX. The problem with drainnig was still there... In the night it takes 25-30% of battery!! (wifi-ON, 3G-OFF, autosync-OFF)......

Today in night (DOCs JPX v6) i try to Switch WIFI OFF, 3G OFF (Only EDGE was ON) and autosync every 2 hours for Google and Facebook...

Woala it only takes 2-3% per night !!

So I think my problem with draining a lot of battery is a WIFI !

Today, I will try to flash a new K12 kernel and HOPE that Wifi bug will be FIXED !

Than I will post here..

See ya later
[Galaxy S I9000 General] Seifer1975:
How did you guys manage 2-3% overnight? I have never had that kind of mileage. My phone is always wifi off, bluetooth off, auto-rotate off, GPS off. I only have 3G on. Gmail push and AOSP email push to my work. No other background data connection. I don't have any weird processes. Battery usage is also normal. I even disabled mediascan. Yet, I lose on average 10-12% every night (8-10 hours). I read with envy ppl who claimed to get 2-3% overnight. How is that possible?
[Galaxy S I9000 General] EarlZ:
If i move back to a 2.1 firmware, I get 1% loss every 8hrs of idle.
[Galaxy S I9000 General] ldjh1985:
Whats it like during the day/web browsing/emails etc? Im currently using Darkys v7.0 and was thinking of giving DOCs a shot
[Galaxy S I9000 General] zurchpet:
I want to share my story of fast idle battery drainage.

I had terrible idle battery drainage with either Darkys 6.x or Docs V6 (both JPY).

The battery drained 10% of it's capacity per hour while being idle!

I tried the dxjpa-wifi firmware that hardcore posted on his speedmod thread. Didn't help. Still 10% per hour drain. That means after about 9 to 10 hours my phone runs out of juice while NOT using it. I was desperate. Already ordered a spare battery.

I read that the BUJP5 modem would be nicer for battery life. So I tried it from Docs fine modem list that are CWM flashable.

And in fact. The drainage got better. It drained 10% per 1 and a half hour now. So it would last 15 to 16 hours before running out of juice. Still not good, but better. It means that it could last over the workday. (unplug charged in the morning and by the time I re-arrive home replug).

Then someone mentioned in hardcores speedmod thread the JPD modem. I then downloaded the whole bunch of modems from Docs thread. But tried the JPD modem first. And now, I have an idle drainage of 0,5 to 1% per hour while idle! WOW!! That means it can run over 100 hours before running out of juice IF I don't use it. While using it the battery level drops as normal. And I'm fine with that, but when the phone should sleep it does not drain anymore. I'm happy that it worked out. Luckily I had some time this Christmas to run those tests.

So for me it was suspect #4. The modem. JPD FTW!!!
[Galaxy S I9000 General] ldjh1985:
Glad you managed to put your finger on the problem, Doc Rom is getting rave reviews atm, did you install the full or slim version?
[Galaxy S I9000 General] zurchpet:
I use the Full version. I love AllShare together with my NAS. :D

The first time wehen I suspected the radio was when I turned on the airplane mode and the drainage stopped immediately. But a phone without radio (i.e. GSM/UMTS/Wifi/Bluetooth/GPS turned off) is pretty much not a smartphone anymore.
[Galaxy S I9000 General] k0nko87:
to Seifer1975 >

switch from 3G to GSM only !
[Galaxy S I9000 General] dagbdagb:
Yeah. I see your point. You want to squash the peaks first. I suggest to establish the background powerconsumption first. And find the combination of kernel etc. etc. which provides the lowest background powerconsumption.

As most of the energy in the battery is spent when the phone is idle (for most people, and when the software doesn't have crazy bugs), this is the important thing to optimize for.

Still, I totally believe that bugs may be found and squashed by your angle of attack. The yamaha sensor issue definitely sounds interesting, and may even qualify as a crazy bug. :-)

Not meant in a bad way. My intent was to express that we need to instrument the device and have a defined usage scenario and environment, in order to generate comparable data.
[Galaxy S I9000 General] march83:
Great thread. i've done all the known battery fixes - cleared databases, wifi downgrade, using speedmod over voodoo and re-calibrating the battery (bump-charged) etc and i think i've ironed out all the idle discharge problems - so far today i've used 17% in 6hrs of light usage. i also uninstalled noled because, as many other people have noted it will chew a lot of battery if there's a notification and you aren't there to clear it within a reasonable period of time.

Thanks to whoever suggested the app screen filter - far and away my biggest offender is the screen and this will hopefully allow me to use a lower-than-0% brightness in many environments where 0% is way too bright. typically, my screen is responsible for ~80% of my battery usage. i've also gone through my "dark" backgrounds and filtered them to make them even darker as well as removed a lot of white from my custom icons.

there are obviously 2 types of rapid discharge. firstly, the high usage drain (which imho is basically just the screen because even on the lowest brightness it chews 1% ever 2 or 3 minutes) and secondly there's the hidden bugs in the background and this thread has done a great job of bringing many of these secondary bugs to the surface. solving the heavy usage battery drain just can't be done it seems, the screen just pulls too much juice :(
[Galaxy S I9000 General] gulbrillo:
Fall asleep at 82%, woke up 7 hours later at 74%. So it's about 1% per hours while not using the phone.

WLAN on

Data (HSDPA) on (but tured off automatically by WLAN hopefully, although: )

WLAN Standby policy set to: fallback to mobile data whenever screen is turned off.

Bluetooth off

GPS on

Auto rotation on

Auto sync on (GMail and Facebook)

Fancy Widget update weather every 2 hours

Gmail push service.

Partial wake mode ony used by android system for 13 minutes in total. Sensor usage for the same time. And screen on for 14 minutes. So I guess that was before and after sleep while playing on the phone. Or alarm clock snoozing or so.

Wifi was on for onle 1:43 hours and running for only 1:15 hours. GPS was not used, although it was activated.

I will test the exact same settings next night and change the WLAN sleep policy to "always on". Let's see if this makes a difference. But I'm quite satisfied even with 1% per hour. At least my phone does not die during the night any more.

Setup: DocROM 6.2 (XXJPY), K12C kernel 256Hz, no lagfix, all tweaks, JPA WLAN firmware, JP5 Modem.

Stable O2 Germany carrier signal.
[Galaxy S I9000 General] SDeba:
So last night my battery lost 3% in 9 hours. I think thats good score. Everything was off except gmail sync, 3G and beautiful widgets 1 hour interval autoupdate.

Now when Im on wifi my battery is losing 1% every 4 minutes. Is it good score? Im still thinking about modem change but this scores sounds rather good.

Sent from my Samsung Galaxy S
[Galaxy S I9000 General] gulbrillo:
What is your firmware, what is your modem, which kernel, how did you set WIFI sleep policy, ...?
[Galaxy S I9000 General] march83:
no, this is too high (assuming your screen is off during this time). are you relatively close to your router or far away? have you applied the wifi "downgrade"???
[Galaxy S I9000 General] SDeba:
Im on JPY with SpeedMod K12C and stock modem and wifi sleep to never. That usage of battery - 1% for 4mins is the time spent using phone with wifi and screen on ;)

Sent from my Samsung Galaxy S
[Galaxy S I9000 General] gulbrillo:
So with screen on I'd say that's fair. Last question: where are you located (country and provider)?
[Galaxy S I9000 General] Sepsi:
Something here also to share from yesterday\last night:

WLAN : OFF

3G/WCDMA : ON

Data (HSDPA): OFF

WLAN Standby policy set to: OFF when screen is turned off.

Bluetooth: OFF

GPS : OFF

Auto rotation: ON

Auto sync : OFF

SimiClock: refresh off

Gmail push service.

I let the battery run out yesterday, charged back to100%, did 6-7 bump charge when phone off then phone on and 99% battery. Very light use after this.

about from 23:30 pm to 06:45 am, 93%->92%, very happy with idle power consumption.

then phone wake me up and started working, gps test a bit, phone calls 15min, HSDPA back to ON. Now at 13:00 pm still 75% left. phone has been ON 20h 33min from the unplug. Juiceplotter's estimate 30hours still to go :D

with WLAN ON and heavy download 1% per 4-9min depending of db which varies around the house 70db - 40db(right next to wlan station).

Setup: Darky's 7.0 (XXJPY), K12C kernel 256Hz, no lagfix, no tweaks, stock JPY WLAN firmware(gives better coverage than JPA wifi and get attach even outside house but eats battery, which willing to accept), JP5 Modem.
[Galaxy S I9000 General] SoSJokerSoS:
I am on your opinion, when I turn wifi on it drains a lot of energy.
[Galaxy S I9000 General] SDeba:
I'm from Poland and my carrier is Era(T-Mobile). Unplugged on 10:50 AM and now after 1,5 hours i have 77%... I was just using WiFi and browsing internet or market. Tommorow I'll try other modem.
[Galaxy S I9000 General] mithunjo:
Hi all, I think we have reached a saturated point in this thread where there is a general consensus that, the phone does not lose much on standby, unless the battery is not calibrated.

Also I think people agree that the most common cause for battery drain is the wifi. People are facing drain of about 1% every 4 to 7 minutes.

This is not a good drain, though it's not really disastrous, but what I'd like to know is if there is any fix for the wifi.

The reason I ask if there is any possible fix is because I've used wifi and 2G even on eclair but i've faced lesser drain then than on 2.2. 1..
[Galaxy S I9000 General] march83:
i've had luck in the past using tasker to turn off all data connection and then periodically connect to wifi/3g...
[Galaxy S I9000 General] SDeba:
What modem is better? XXJPP or JP5 and can I use JP5 if I'm from europe?
[Galaxy S I9000 General] blazevxi:
Im on stock XXJPX and my phone has been running for 2 days, it's on 50% right now.

Automatic brightness, wifi on, facebook, twitter & news & weather widget running with hourly syncs. Some phone calls and text messages and about 10 minutes of web browsing. Other then that it's been left idle.
[Galaxy S I9000 General] ldjh1985:
Thats good going to be honest! so your on cource for a 4 day battery which is pretty amazing :D
[Galaxy S I9000 General] Stefanauss:
Whoah! 6-7 bumps! How about that...

Please, let us know if your phone manage to automatically shutdown itself, or even just reach, below the 5% mark.
[Galaxy S I9000 General] Sepsi:
yes, at least yesterday when I discharged battery with heavy wifi use it went down to 1% and then then automatic shutdown happened.

I'll let you know also when it goes down to 1% after this 6-7 bump charge...thought it may take couple of days. Still having 71% left after 23h from unplug.:D
[Galaxy S I9000 General] ReiKo90:
Ok...and how to calibrate battery?
[Galaxy S I9000 General] 00.ante:
While on JPX modem battery drain wasn't that noticeable and also now on JPY modem I think drain is little more...?!

Now I'm on stock JPY with speedkernel k12c and ext4 partitions. So far on all tests scored great scores.

Drain I would say it's more display it self with manaul brigtness; when using wifi I get in battery use 47% ore more on display and 15-16% on wifi and rest is cell standby etc.... Also I have 3g always on and background sync
[Galaxy S I9000 General] SDeba:
Unplugged 4,5 hours ago and now after heavy using battery is only 22%... Nirmal?

Sent from my Samsung Galaxy S
[Galaxy S I9000 General] bigmo7:
Heavy usage for 4,5 hours? If so, then yeah...
[Galaxy S I9000 General] Geryatrix:
I have been reading this thread with interest, and would like to thank the various contributers for their time.

I am not computer literate enough to be confident in flashing various Roms so I have a completely vanilla phone.

I have an I9000 16Gb which originally had JF3, I then used Keis to flash to JM6, and I have now flashed to JPY once again via Keis.

I have been a light user over the christmas period, but I thought that it might be useful to share my stats as a control.

Phone is charged overnight and taken off charge at 08:00. Over the last two days the stats have been

TIME Saturday Sunday

08:00 100% 100%

10:00 90% 91%

12:00 81% 82%

14:00 71% 72%

16:00 63% 62%

18:00 55% 51%

20:00 46% 39%

22:00 38% 30%

24:00 30% 22%

The phone was then put back on charge.

I think that the difference between the stats between 16:00 and 20:00 was due to my grandaughter playing "Angry Birds"

I hope that these stats will be of some value.
[Galaxy S I9000 General] bigmo7:
Wifi on or off during this time? The battery drain you're getting is pretty high if you're a light user imo...
[Galaxy S I9000 General] amwebby:
Do either of these address the "Auto rotation" bug, where this feature appears to be (mis)using the Yamaha sensor?
[Galaxy S I9000 General] Stefanauss:
I don't know, it's what i will be trying.

There is a rather high chance that sensor itself is working and bug-free. Other apps like Maps and ShootMe use it properly.

If it's an app-related bug, in this case the Gallery, i highly doubt database corruption has something to do with persistent sensor usage. To me, this sounds like an entirely different, more rare issue, unrelated to sensor.

Replacing the gallery might prove it to be the stock app that is draining by mis-using the sensor.

(BTW, we may even try do downgrade stock gallery with a 2.2 one...)
[Galaxy S I9000 General] Geryatrix:
Wifi was only on for about 15 mins on Saturday while I checked an e-mail
[Galaxy S I9000 General] amwebby:
Hmm. Tried rooting from the link in SGS Tools but the link went to a dead end.
[Galaxy S I9000 General] bigmo7:
Do you have data connection on? If so, is it HSDPA or 3G?
[Galaxy S I9000 General] zoubidou:
Geryatrix , thanks for this information, at least we can eliminate the KIES or ODIN question,because it seems that you have approximately the same battery drain then everybody else, except these which have a really bad one.