yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] CraigWatt:
I now have JuicePlotter virtually flat-line when my SGS i9000 is idle. Very happy with this, and it has taken some time to get right, and after a full charge over USB earlier today, given the last two days reasonably light usage, it said 91 hours of battery left, although that has dropped to 74 over an hour of usage fetching all the settings and information below and doing various other things (4% total battery loss in that hour, but no connectivity).

I do not need any data connectivity when my phone is idle and primarily use wifi when it isn't, so this might not be a useful post for you, but might be a good place to start.

Stock Android 2.2.1 JPY via KIES

HardCore's SpeedMod K12H 500HZ #2 (All (R) tweaks on, EXT4 Faster, rooted)

JPA Wifi Drivers

SGS Tools -> Upgrade Stock Apps -> Modded 3D Gallery applied

Settings -> Wireless & Network -> Wifi Settings -> Network Notification = OFF

Settings -> Wireless & Network -> Wifi Settings -> Advanced -> Wifi Sleep Policy = "When Screen Turns Off" (see below)

Settings -> Wireless & Network -> Mobile Networks -> Use Packet Data = OFF

Settings -> Wireless & Network -> Mobile Networks -> Data Roaming = OFF

Settings -> Location & Security -> Use Wireless Networks = OFF

Settings -> Accounts & Sync -> Background Data = OFF

Settings -> Accounts & Sync -> Auto Sync = OFF

HSDPA = OFF (see below)

Advanced Task Killer Installed, set to Aggressive every half hour (but going to change it to safe every hour now).

I always turn Wifi off manually when I put the phone to sleep and then turn it on when I need it. The "When Screen Turns Off" Wifi sleep policy does not appear to work as expected in JPX / JPY.

Same goes for all the other settings above. I sync individual applications when necessary and as required all manually.

I have tried Auto rotation on and off, but that only seems to affect battery usage when the phone is not sleeping (properly sleeping).

I have stopped using LockEnabler as it didn't always appear to put the phone to sleep properly. I now always use a short tap on the power button.

To turn HSDPA on or off: h t t p : //touristinparadise.blogspot.com/2010/11/samsung-galaxy-s-turn-off-hsdpa-for.html

The battery usage is still quite high when the phone is NOT sleeping although that too has improved given that the above settings are turned on and off manually when needed, and also depends on what I am doing.

Still lots more work to be done when the phone is awake, but for me, this is a good start.
[Galaxy S I9000 General] henriquesb:
My battery improved a lot when I stopped using JuicePlotter. Works fine on Eclair, battery hog on Froyo.
[Galaxy S I9000 General] aideno:
I used tune wiki on the way to work. 10 percent gone in 30 min. Whether it was hsdpa and 3g doing its swapping during the trip, who knows. Got home and didn't have wifi on, and phone didn't do anything other than have a paused tune wiki , 8 percent gone in 45 min. Crazy stuff
[Galaxy S I9000 General] sonci:
My operator does'nt have the option of hsdpa or 3g,

I only see a G icon when using data, so I dont think the switching is the problem.

I can hardly go 24h on a full charge on this phone,

and honestly dont believe people who claim 2 or 3 days of using, at least xda users , cause we really use the phone.

btw why 5h on a netbook is considered good and 19h on smartphone is poor, there's nothing I can do with a netbook that I cant with my Galaxy.

I agree that we should find a reference time and compare to that, ok iphone is better but what about Nexus

However I find that battery life was better when I bought the phone so flashing can really harm,

Do the battery stats count if I charge the battery outside the phone?
[Galaxy S I9000 General] greyoctober1:
Hello guys,

Ive been a silent stalker on this thread ever since i started noticing heavy drain on my battery. Ive been going through a series of flashes and heres what i found out:

-Noticed heavy drain on Doc's ROM after flashing and restoring my backups with Titanium. Tried to fix it on my own, with disabling everything i could and made sense (HSDPA, brightness, remove facebook etc etc) and like in many cases around here, notthing worked. In numbers, drain was 20% every 4-5 hours with screen off.

-Flashed Darkky's ROM (v8), after fully charging and factory resetting, and left it overnight, without touching either settings or backups. Basically, after the ROM was finished installing, i installed battery monitor widget and the phone went to sleep for 7 hours. In the morning i noticed no drain whatsoever. Battery monitor widged reported 66mA throughout the night and no change in battery percentage for 1,7 hours on average. I 7 hours, the battery darained only 6%, which is normal

-Proceeded with redoing my settings a batch-restoring app backups with Titanium backup. Immediately after, i noticed the drain was back again, draining 20% in just 2 hours with VERY light use.

-Decided to proceed in steps this time. I did a factory-reset and re-flashed Darkky's ROM (NO LAGFIX). I did some basic settings with i deemed safe and left the phone overnight again. The drain this time, as expected was back to normal, 6% in 7 hours.

The settings and modifications i did right after the ROM installed:

1. completed setup :)

2. set up APN

3. set up google account and sync'ed my contacts

4. set up facebook account and sync'ed my contacts (set update freq. to NEVER)

5. some very basic settings in display and sound (animations, vibrate, ringtone)

6. installed gingerbread keyboard

7. uninstalled circular battery app

8. booted to recovery and installed R64's horizontal battery mod

9. loaded market and installed System Panel and Battery monitor widget.

10. installed and set up Launcher Pro 8.2

11. set up alarm

---NOTHING ELSE

So its been 10 hours since the above mods in which the phone underwent heavy use for setup, slept for 7 hours, made 5 phonecalls and some light market and browser activity. Battery now reads 88% and steady. (mind you, HSDPA and 3g were always ON)

I suspect the culprit for the drain is either an app I'm restoring (and i have a full list) OR the restoring process itself. I decided not to restore anything with Titanium but install missing apps manually, starting with the ones i really really need.

I will keep you posted if i find something out. For today, i wont touch anything to see how it fares throughout the day.
[Galaxy S I9000 General] xiiilence:
Hi guys, I recall I read somewhere that on the EVO 4G, the process android.process.acore was actually eating up a lot of battery. Could this be the cuase of any of the battery drainage issues?
[Galaxy S I9000 General] cyberkid2002:
The following link really helped me and I think it's a great link to add to the second post.

To cut a long story short on Darkky's rom (and I imagine many others based on JPX/JPY) my wifi was not sleeping, at all, even after the 15 minute default android period. Wifi symbol was on already on even if I switched the phone on an hour later and spare parts confirmed it was on at all times.

This link lets you set the delay from when the screen goes off to when the wifi cuts off. I personally have mine at 5000ms (5 seconds) and it works an absolute treat.
[Galaxy S I9000 General] xiiilence:
sorry what link is this? there's no link in your post
[Galaxy S I9000 General] cyberkid2002:
apologies... here is the link http://pocketnow.com/android/fix-samsung-galaxy-s-wifi-sleep-bug
[Galaxy S I9000 General] amwebby:
The fifteen minute wifi timeout has been discussed on this thread. With my stock JPX the wifi definitely turns off after fifteen minutes. It would be nice to lower this and thus shorten the total time on wifi but there must be an easier way than this?
[Galaxy S I9000 General] Case_:
OK, so another update on my "partial wake lock" problem - seems it's not as much caused by the "Use wireless networks" as such as it is by using the Latitude service (activated through Maps). If I'm not signed on to Latitude, my partial wake time is quite normal. If I sign into Latitude, my partial wake time is around 25 % of the uptime and the battery drain follows. Currently I'm on Darky's v8 ROM. Anybody care to test it on other ROM/fw than JPY?
[Galaxy S I9000 General] xiiilence:
How's this going mate? Any news? (=
[Galaxy S I9000 General] Nismo:
Bug?

Hey guy's

I think I found an other bug. During the last week I did several tests to see where the drain could be from, now after some tests I see something weird. I noticed that the SGS will not be fully charged while its state is "On". You will get a notify, but the battery will not be full...

The last 3 charges I could cope with 24h of operation, normally after charging with the unit "Off" I could use it for at least 12h more.

Yesterday I charged the SGS while "On" till the full-notification. After that I switched the SGS "Off" and started charging again, I noticed that the battery-icon showed 90% full.

My battery is callibrated, so thats not the problem.

Could somebody do a re-test?
[Galaxy S I9000 General] existz:
I take it your on 2.2.1..(or using a kernel built off JPX)... its not a bug, samsung put this in to prolong the life of the battery.. there's a few threads around with quite a few post about this... one way I've been getting around this is keep unplugging the charger and reinserting it, it will then charge to 100... you might have to keep doing it a few times..sometimes the notification comes right back then sometimes stops at 98-99%.. but if I keep doing it, it finally charges fully (its nothing to do with calibration, the new setting kicks the battery full notification on and when it does that the phone thinks its at 100, thays why it shows 100 then when u unplug it drops, but if you watch while its charging, it will be at 94% then all of a sudden be 100 and notification comes on..)
[Galaxy S I9000 General] greyoctober1:
Well i installed Tasker (and restored alot of profiles), facebook (no sync), folder organizer and Poweramp and APN droid. Battery drain is still normal; it is now at 8% after 1 day and 10 hours (and thats after normal use and 4 hours of non-stop Poweramp music)

I activated my old Tasker profile which turns off data when the screen is off and back on when the screen is on and that helped alot.
[Galaxy S I9000 General] gravejester:
I can confirm this behaviour. I charged my phone (while on) until I got the Battery Full message, then turned it off (still while connected), and it continued to charge for about 30 minutes before it again reported that it was full (100%).

On a side note. When I turned my phone on again (still connected), it continued to charge for 2 minutes before again reporting Battery Full. When I disconnected it immediately dropped to 98%, but since I'm running JPY I'm not concerned about that :)
[Galaxy S I9000 General] amwebby:
This fix is more easily accomplished as one of the scripts in OCLF 2.0

I didn't apply the lag fix itself, just reset the wifi timeout and battery life has increased as a result.
[Galaxy S I9000 General] xiiilence:
is there a way to use that script on other kernels, such as voodoo?
[Galaxy S I9000 General] amwebby:
As long as you're rooted I don't see why not.
[Galaxy S I9000 General] amwebby:
I've had this running for 24 hours now. Wifi usage has gone from 80% to 20% and battery life from 12 hours to 18. Impressed.
[Galaxy S I9000 General] jackall:
Its JuicePlotter in fact By Latedroid, my bad sorry
[Galaxy S I9000 General] orenc75:
You missed my point. I did not complained about SwitchPro, I just wanted to point that if you use WIFI ON but disable DATA from setting, there is no battery drain. However, when you switch WIFI ON but enable DATA from setting, the battery drain exists. Don't you think it worth double checking with other units?

If the case described above happen in more units, then we can conclude that it is a bug by Samsung. I do not think that Samsung intended to make you shut down the Data manually whenever you want to switch on the Wifi...
[Galaxy S I9000 General] orenc75:
I tested with K11B by Hardcore and also Doc's v6.1 Voodoo kernel. I also tried JPD, JPP, JPX and JPY modems. All gave me the same results.

Can you please retest your claim about the Wifi not being the problem, but this time disable "Data Packet" from the setting menu?
[Galaxy S I9000 General] endebe:
rom: doc 6.0 (jpy)

kernel: speedmod k12

also on this latest rom the stock-email has the "can't-sleep-bug".

i set exchange-sync from "push" to 15-min-interval and set phone to flightmode for ~2 hours:

"Nutzung teilweises Aufwachen" = "Partial Wake Usage"

"Akkuverlauf" = "Battery History"

in details:

so is there any (aosp)-email on froyo that has no sleep-bug?

also check this:

http://code.google.com/p/android/issues/detail?id=9307
[Galaxy S I9000 General] bokbacken:
I wan't to understand this but I guess I don't.

WIFI ON/OFF no problem I know this.

DATA on off, you refer to the cellular data 3G/H/Edge right?

I turn wifi on/off from the statusbar dropdown, and when I turn wifi on my H dissapears, if I go to settings then packet data is still on, this is AFAIK normal, because if I disable packet data in settings, then it wont come back on when I disable wifi.

Please tell me if I understand it wrong. (a few screenshot might help me as I use my phone with swedish language... maybe I should set it to english... maybe later, but not yet.)

A quick question here, do you use SGS Email 2.2.1? It is my prime suspect right now (not guilty of everything of course, but a lot)
[Galaxy S I9000 General] orenc75:
I do not use SGS Email, I use Gmail from market. I completely remove the SGS Email from Doc's installation zip prior to installing.

Regarding the data, yes when I said "Data" I ment the cellular data which can be enable/disable from Settings->Wireless and network->Mobile network->Use packet data. Let call it "Packet data" from now as it appear in the setting.

In normal use, the Packet Data is always ON. As you said, you use the status bar to toggle the WIFI ON and OFF.

My observation is that when you set Packet Data to OFF there is NEVER a drain even when the WIFI is ON.

My guess is that in 2.2.1 Samsung introduced a bug which does not shut down the Packet data automatically as it should whenever you switch the WIFI ON.

I wish somebody could confirm my finding on another unit.
[Galaxy S I9000 General] bokbacken:
OK, I think we understand eachother now, let's see if anyone can confirm these findings, for the moment I don't want to change my config, battery testing HAS TO take some time otherwise we are back to guesswork again.
[Galaxy S I9000 General] bokbacken:
Thank you, If you like to you could use Improved Email by mtwebster, I use it myself right now and the big drain problem is gone for now anyway, If you also get improvement with this app we have repeated a small workaround, there are surely more, but try it for at least a couple of hours to verify my findings.

When posting you have the Insert Image icon (a tiny mountain on yellow background) if you use that you enter the url to the pic like i changed in the quote here.
[Galaxy S I9000 General] lgkahn:
not on mine but i am running the jp1 modem so that may be the issue. but it is easy to see. when you turn wifi on the 3g/H icon should within 30 secs disappear as it turns of 3g data. if not you have something going on..

my phone with wifi on and set to allways be on.. last night only consumed 1% battery.
[Galaxy S I9000 General] orenc75:
Great, can we add it to the list of suspects so somebody else can confirm or deny it?

Indeed, when I turn off on the Wifi, the 3g/H icon turns off, but I am not sure what is going on behind the stage. All I know is that somehow the "Packet Data" setting influence my battery drain with Wifi ON.

We should also remember that we might facing here multiple causes for battery drain. What drain my battery might be different than yours. We should try to eliminate them all.
[Galaxy S I9000 General] bokbacken:
7 hours from start of thread

I don't regret starting this, already a lot of valuable information has come trough, I have updated post #2, put my #1 suspect in custody, added another suspect, prosecutor has 1 witness, defender has 2! (WIFI bug)

I think we could call this a fair trial, we will hear both sides before judging them.

Remember, all suspects are innocent till proven guilty!
[Galaxy S I9000 General] NetCopAD:
Wifi is giving me trouble regardless of data connection settings.
[Galaxy S I9000 General] bokbacken:
NetCopAD, I put you on the defense witness stand, should I also put you on the prosecutor side? (Regarding WIFI bug) I think I get the picture anyway ;)

To all:

Updated post #4 report template added some more info that might be good to know, read it and include as much info as possible when posting your suspects/findings.

Keep checking the first posts as I will update them on a fairly regular basis.
[Galaxy S I9000 General] jackall:
With regards to Voodoo lagfix, I never used and am not using any kind of lagfix since JPX, I still noticed a heavier drain when using voodoo kernels as opposed to speedmod's for some reason or other.

Tonight voodoo released a new kernel based on JPX source. Will flash it before going a for an overnight charge, and report tomorrow as discussed earlier
[Galaxy S I9000 General] bokbacken:
Hi,

Yes I have seen the comments that Voodoo should have heavier drain from quite a few users, there might be some truth in these rumors, I don't like to put them on the suspect list yet, might start some flaming and I don't want that.

So I leave it to you to gather some evidence, present it here, then we might put them on the list.

Found a new suspect, my phone is draining heavely right now:

Installed Dropbox and is making a Titanium backup to the "cloud" via 3G connection!!!

If you wan't to support me and dont have Dropbox your self, please register using this link, then both you and me will get 250Mb extra space for free! That is 2.25Gb of free backup space for your android, keep it safe.

https://www.dropbox.com/referrals/NTE3MzM3NzQwOQ?src=global0
[Galaxy S I9000 General] Stefanauss:
Hi guys,

i checked statistic about usage from the 4636 etc code, and in the sensor section it reports to me that Gallery has a time of more than 3h, and Android System of more than 2h.

Is it the gallery sensor bug that it's still there on JPY? Should i use the fixed version avaible through SGS Tools?

Anyone has already experienced this and could share their average sensor usage stats?
[Galaxy S I9000 General] bokbacken:
I never had it myself, that I'm aware of anyway, but why don't you get one or more of the forensic tools I refer to in post #1 to find some more detailed data on the matter.

Do you experiance a massive battery drain?
[Galaxy S I9000 General] xan:
Is it radio off?

Or you just troll?
[Galaxy S I9000 General] Stefanauss:
The fact is, when i was on italian official froyo (RSJP5), i had amazing battery life. 48-50h with packet data always on, light use (~2h of screen active, sync on gmail and twitter on every 15 minutes, always checking new tweet throught the phone, occasional browsing, some "phone stuff"). This kind of "light use" i described is my test case, because it's sort of replicable for me, it takes just forcing myself not to play with the phone xD

Anyway, i did a travel early this month and so i made very irregular charging cycles, and when i got back at home, XXJPX/Y where there and i flashed them. But now i can't get anywhere near those 2 days of uptime, i'm stuck at ~30/35h. I know it's not heavy drain per se, but it's benchmarked with non-heavy use case and i don't see why i should give up on those 48h, which in a more real-life case meant that i could charge my phone on every second evening. Perfect.

Now i don't know what is right to suspect for the heavier drain. My stronger guess is that my battery got somehow de-calibrated. I noticed a little heavier drain even on that perfect official Froyo i had, a couple of days prior to the flash. But then again, it's 13h less... sorry if i'm stressing this again, but with the same use-case, which i always stick to when i'm performing battery drain tests.

Another thing, this time fw independent (always had that, from JF3 to JPY), it's the 100-90% scale. The first 10% always gone way faster than the others 10%s. (I'm perfectly aware of the last link of #1, read it when it came out. But i almost never leave the charger on, and the phone is almost always off when i charge. I tried everything, but the first 10% is just much more ephemeral than the rest.

Anyway, i'll probably try to "bump" the charge, last time it helped a bit. I'll definitely try those forensic tools to investigate properly.

Suggestion: there is a page with alternative modems somewhere on i9000 forum. We @ YABDT, should at least link at that to help comparisons and other tests, even better have our own maintained and expanded list of modems.
[Galaxy S I9000 General] bokbacken:
@Stefanauss

I do agree, we should be able to excpect 2 days of normal smartphone use, and at least a 16 hours of quite heavy use.

Look forward to see your findings also.

I sent a PM to pele if it's ok to link to his modem test page, so I would probably add a link later on.

Having an own list, Nah don't think so, lets focus on finding the drainers so we all will get use of our smartphones.
[Galaxy S I9000 General] salivaman:
I can confirm this as well. Much improved battery life after setting wifi to sleep when screen off and using oclf 2.0 to set wifi timeout to 5 seconds.

I was initially hesitant to apply the wifi timeout fix on oclf because i thought it had to install the lagfix as well which i did not want, but it allows to apply the wifi fix without installing the lagfix.
[Galaxy S I9000 General] tomeks:
I think that my problem with battery drain in stock jpu with now stefano kernel and with latest hardcore one is caused by high cpu frequency set all the time.

in android system info app i could see that my cpu spend at least the same amount of time in 800mhz as in 100mhz even when i do not use the phone.

do you know how to check which process is causing that? i battery info there in nothing else than wifi on and screen
[Galaxy S I9000 General] bokbacken:
In the very first post in this thread there is a list of forensic tools, they are all available in the market most of them are free¨, I would reccomend SystemPanel or OS Monitor in your case.
[Galaxy S I9000 General] Nismo:
Use Superpower... You can set all these params. My phone is on now for 16 hours, 20% battery used. It takes 2 days to empty on modest usage.
[Galaxy S I9000 General] amwebby:
I tried Superpower. It worked fine turning off Wifi but was buggy turning it back on and I found only a reboot would allow me to re-establish a wifi connection.
[Galaxy S I9000 General] NIC0LAS:
Exchange ActiveSync client : main suspect for me

Hello !

I'm using Darky's 7.5 + speedmod K12D, and I definitly think that, as far as I'm concerned, the active sync client client is the core of the problem : without my exchange account configured, idle battery drain is close to zero, but with the client configured on push , idle drain is worse. I changed to improved email to see if it was any better.

EDIT : I measured more precisely idle drain. In any case, gmail sync is on:

without an exchange account configured : 1% / hour

with an exchange account configured with stock email app, push : 4% / hour

with an exchange account configured with improved email app, push : 4% / hour
[Galaxy S I9000 General] morgun007:
please what do you mean under wipe battery stats? when I enter recovery mode(turn off + home + volume up) I see only:

reboot system now

apply sdcard:ipdate.zip

wipe data/Factory reset

wipe cache partition

I do not want to crash somethig...