yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] fredphoesh:
Hi bokbacken, thanks!

In response to your message,

I have not tried SGSTool script, hardcore's kernel, but have reset battery in recovery mode.

I have Gmail & yahoomail as well as Skype and two (?) Facebooks syncing switched on (one must be for the Facebook app, the other for the LauncherPro Widget)

Skype is always logged off, Facebook is set to update every 6 hours, the email programmes both get mail instantaneously.

Today I have made one 5 min call, no sms, no downloads, no messing around, wifi off all day, unplugged at 9am, 35% at 5pm... will need to change batteries soon...

Tx

Mark.
[Galaxy S I9000 General] SoSJokerSoS:
My phone is running for 27 hours now and i still have 27% left. I used it normal, that means I made several calls, wrote sms, surfed in the net, used google talk, played games and so on.

According to this i would say this is a normal battery drain, but what I obseverd is that if I turn on wifi it drains battery ~1% / 7-8 mins, altough i do nothing. That is a little bit to much, with eclair i could have turned wifi on and it would have drained a maximum of 1% in 8 hours. That is why i think that there is a bug with wifi.

I already flashed K12C Kernel and I use DXJPA as CSC and as I mentioned before as long as I dont turn on wifi, my phone drainage is normal.

Could some developers look for this problem?

btw. I use Darkys Rom V7 which is based on XXJPY

K12C Kernel

K12C Tweaks, and Lagfixes

CSC: DXJPA

Greez Joker
[Galaxy S I9000 General] SDeba:
How to flash modem with ODIN? I should put only modem.bin and flash it with other boxes blank, or use pit or sth, don't know really ;/
[Galaxy S I9000 General] Stefanauss:
Can someone please suggest me a widget to toggle beetween 2G and 3G/HSDPA Networks? Better would be a toggle that also can put itself in the drop-down notification bar.

I'd like a free one from the market. Not so much willing to pay for this feature.

Anyone?
[Galaxy S I9000 General] Stefanauss:
I never done that myself, but you are right about the big picture: Just put the modem.bin in a tar, place it in the right box, no pit, no repartion.

In Heimdall for instance, you do a simple

heimdall flash --modem modem.bin

Obviously you better be waiting for some confirmation from someone who actually flashed just a modem using ODIN.
[Galaxy S I9000 General] bokbacken:
Hi!

CSC? so it's not JPA modem?

The CSC wouldn't do much change to you but the modem might, just checking.

You could also try hardcore's wifi "downgrade" that is linked in post #3 to see if that does anything for you.

Edit: add the link http://xdaforums.com/showpost.php?p=10056736&postcount=6706
[Galaxy S I9000 General] bokbacken:
"Battery calibration"

Well thanks for the scientific definition, "Its all rubbish :)". The reason why I asked the question is that I don't believe it either, I would really want to know exactly what info we find in the batterystats.bin and this is also the reason why I want to know the battery % vs mV data from you to see the differences in this.

I'd say, don't do it just yet, let try and figure this one out first.

Have to disagree on this, I'm for one is absolutely not sure about the battery calibration thing, we don't really know anything about it, we just delete a file and think everything will work better now, is there really calibration data in this, averybody that have more than 1 battery, how does your phone behave when you change? Been reading about a few guys that have a spare battery that is fully charged so they always are ready to flash a new firmware when it arrives, what happens to the "calibration" then.

If it truly was any calibration involved, then it would involve a 1-wire memory cell inside each and every battery, much in the same way that most laptop batteries are built. So lets investigate more.

Anyone that has a broken Samsung battery that care to dissect it to see if there is infact a small 1-wire chip or anything else inside?

I'll stick to the calibration, the other info is for a later post.

Could I read this file in a simple way? in that case how?

------

That is 2 against, 1 for and 1 waiting out the verdict ;)

What will it be?

-------

Off topic, have a hard time keeping up with you right now, had some "mobile" problems, you know CAR TROUBLE!!

Last week when it was 20 below I got rudely reminded that I was supposed to buy a new battery a ½ year ago :mad: so I have been very dependant on my wife for a week now, today a friend helped me tow the car to him so I could put it in his garage the get it a bit warmer (suspected ice in the fuel system somewere) I had already installed a new battery, but that didn't help.

Anyway the streets where pretty slippery and being towed you don't have power steering, so I put the car in high gear while being towed. This adventure took about 30 minutes.

To oarrive at his home there is a steep hill with packed snow on it, so we came half-way, we agreed that next try I would use the starter to ease the burden for him, and this went well so the new battery was good!

So arrived at his home, disconnected from his car and should move my car 20 meters more, I thougt "Well the battery seems good, I'll go it on the starter again"

Guess what? The car just started, I have not been this stunned in years, still wonders if I will wake up again :D, just had to share this with some other!
[Galaxy S I9000 General] cottino:
have you seen here?

http://xdaforums.com/showthread.php?t=885903
[Galaxy S I9000 General] SDeba:
So as I posted before I would test my configuration with modem changed from XXJPY to JPP ;)
[Galaxy S I9000 General] bokbacken:
No not that exact page, but have you seen my post #3 :D
[Galaxy S I9000 General] jonni3:
SDeba, if you want to change your modem have a read of this modem information & then if you still want to change modems download the one you want from here.

You can flash it with cwm if you using it......
[Galaxy S I9000 General] SDeba:
Thanks, already changed modem about a half hour ago ;)
[Galaxy S I9000 General] SoSJokerSoS:
When I flash hardcore's zip it changes the CSC file from xxjpy to dxjpa. I dont know if the CSC file is the so called "modem"-file, probably it is, but if so it didn't fix the wifi problem.

As i mentioned before the usual battery drainage is normal as long as wifi is turned off. Are there any other people here who experience the same problem like me?

greez Joker
[Galaxy S I9000 General] Stefanauss:
Once the file is on your PC, you can read it with any hex editor.

You can also try this to read it directly on your SGS.
[Galaxy S I9000 General] bokbacken:
Hi,

No the CSC is not the modem, the MODEM is (if you have to use ODIN sometime you have the CODE, CSC and MODEM files that is the complete firmware package) if you follow the links I have in post 3 you will find further info, the different modem files that is collected by DocRambone could be flashed in Darkyy's ROM aswell, they are not dependant on the chef of the ROM.

Hardcore have also released a new K12D version now for all interested, the links are in post #3
[Galaxy S I9000 General] bokbacken:
Yea I've been using hexeditors since I built my first computer with a Z80 CPU, but I still don't define that as simple, I was thinking in getting the file in a database kind of way, to know the structure of it:

Appname, start time, effect used....
[Galaxy S I9000 General] bokbacken:
Trasig has added the wifi JPA firmware to his latest kernel, it also have OC/UV options, he is a frequent visitor to hardcore's thread and the help eachother when they find bugs and this is very good for us.

I will add a link to his kernels in post #3
[Galaxy S I9000 General] oliver005:
And how do I set vibrate to half?
[Galaxy S I9000 General] jonni3:
Settings> sound> vibration intensity adjust the slider .....
[Galaxy S I9000 General] xan:
Since I learned that my device battery drain was due to wifi, I've made some test comparing the device on WIFI and 3G.

3G drain was about 1,5-2% per hour

WIFI drain = 7-9% (DXJPA wifi firmware!)

Whatever is causing this its not the wifi firmware.
[Galaxy S I9000 General] justcme:
I'm observing the same thing on Darky's V7.0, JPX and JPY. I've always had my wifi set to NEVER SLEEP, since wifi draw has usually been much less than 3G/HSPA for me. Since JPX/JPY however, wifi drainage has gone off the charts. I've even noticed that charging takes significantly longer - it took me a good 4-5 hours to get to full charge from a wall starting from 20% ...

I've tried different modems and JPY vs JPA wifi firmware. Modems haven't had much of an effect. What I've noticed is that JPA wifi firmware seems to be significantly better on the battery than JPY wifi firmware (for me), however battery is still being drained by something else.

Regardless of the combination, when I check "Other Usage" in Spare Parts, "WIFI RUNNING" is always on as much as "WIFI ON". I saw a few posts back that a user who reported ~1% drain per hour had "WIFI RUNNING" only for a fraction of the time of "WIFI ON".

Is this saying something about JPX/JPY ROMs? Is JPX/JPY constantly doing something with wifi in the background. Anyone think the same?
[Galaxy S I9000 General] xan:
Yes, I've been doing exactly the same with WIFI/DATA. When this wifi bug appeared i've started using data at home, and I think that JPY modem is great in comparison with 2.2 ones, under 2% usage is nice, however it was around 1% with WIFI in 'good days'.

About charging: I've noticed that MAX charging temp is now 45*C. (dont know about before). Two factors influence battery temp (besides ambient temp ofc) -> charging and discharging. Basically when a heavy discharging occurs (bugged wifi on) battery goes warmer (35*C+ here), not much headroom for charging process.

Yup, its got some trouble going low-power mode. I'm in no position to investigate this further :(

What bothers me... Samsung pushed JPY through KIES to hundreds of thousands devices. And yes, every single one of them got battery bug.

JPU+ series got excellent reputation, but this... This is a dealbreaker. QA team failed badly here. We failed here, because we found this bug too late for Samsung. (since they watch this forum closely for sure, at least QA team should)
[Galaxy S I9000 General] zoubidou:
of corse if you leave wifi on, it wil drain your battery. How much, it depends on how much power it needs to communicate with your AP, and that depends on the s/n ratio, the distance and so on.

The only thing i figured out was, that when I was using 2.1 it drained only about 2% over night, whilst beginning with 2.2 it got worse, and with 2.2.1 it was too much.

No i am using xwjpa wifi firmware and it seems ok sor far, at least we are back to the same level then 2.2.
[Galaxy S I9000 General] g00ndu:
The scanning occurs even for eclair 2.1. This is normal behaviour.
[Galaxy S I9000 General] zoubidou:
i have been asking this question since about a month, and the only reply i got was:

it is normal android behaviour and is only the case when you are in the configuration screen.

If this is true how can android promote such a stupid behaviour.

Second there is absolutely no way of turning off.

Third nothing proofs that the scan is limited to the display of the configuration page.

I will try to have a look into it, but I have to get some tools for it, and I want have them before beginning next year.
[Galaxy S I9000 General] g00ndu:
A long shot, anyone on big APN list in their rom? I understand quite a few customized rom are using the big APN list.
[Galaxy S I9000 General] SoSJokerSoS:
That's no stupid behaviour, you can turn it off. You just have to tick networknotification off , then it will scann only if you open the wlan properties. If you turn it on, it will even inform you about new networks if you do something else!

At least this is what I guess. Otherwise it would be stupid. Imagine if you can tick scann off and it will show you no new networks if you open wlan properties?! That makes no sense, that's why there is a checkbox where you can tick network-notification off . If you turn it on it will always scann in background.

Have a try

Greez Joker
[Galaxy S I9000 General] zoubidou:
I still say this is a stupid behaviour.

if you open network properties it should only scan if requested however this is done.

In fact what is missing in the network settings page, is a scan button, there is none.

in fact the notification does not influence the scanning, it will always scan if the notification is set or not.

if you look at other software like wifi finder, or wifi manager, you will see that they are only doing on demande scanning, especially if it is connected. there is absolutely no reason to search for any networks as long as it is connected. if the network it is connected to is not correct or not usable, it is much better to disconnect and hide this network. In fact the scanning might even decrease the s/n noice ratio, such as communication are getting slower and worse.

and last but not least the notification it is doing only concerns open networks, not all the networks, and when i am at home and it is connected to my AP, there is absolutely no reason to scan even for open networks.
[Galaxy S I9000 General] bokbacken:
Nice!

Good response allready, my hopes to find the villains rises by the hour.

10% in 8 hours, those were the days!

Been there, done that... well except for AOSP mail, I changed to Improved Email.

Good report, this sounds like the drainage level I had at my worst.

I have DDJP6 as my favorite ROM battery wise, everything on had 50% left in the evening. Really feel for you, but we will not give up in the quest for full day usage of our smartphones! or even more than that!

Also on K12 myself, was on Voodoo 5.0.3, no big change batterywise for me, but as stated earlier, everything is relative, and it probably depends on a combination of different things!

"Lucky to get a day and a half" :mad: Yea, just rub it in!

This is great, really, FYI I made a first version of a report template at post 4, we will need to group the reports about BattDrain hope for your insight on this, and keep you reports coming!
[Galaxy S I9000 General] jackall:
Great idea. from my end, I will charge my phone over the night, touch nothing else (no kernels, no themes no notin) and report after a few hours of usage

Maybe we could make a list of apps installed too, like beautiful widgets and the sort of thing. Just an idea
[Galaxy S I9000 General] oliver005:
Why should he? Killing apps is much more fun than doing anything else with it :D

My phone lasts 28 days...while turned off(can't kill apps while turned off... no killing = no fun /cry)

Sorry for off-topic.
[Galaxy S I9000 General] bokbacken:
There is room for some off-topic, who knows killing apps might beat killing pigs!

Latest game from rovio:

Furious Batts

kill those apps to keep your batt alive 20 days!

Wouldn't mind giving it a try!
[Galaxy S I9000 General] bokbacken:
Good idea, I'll add it to the report template
[Galaxy S I9000 General] robbiev80:
JPX: down 15% overnight (idle)

JPX with JK3 modem: down 6% overnight (idle)
[Galaxy S I9000 General] anoneemooz:
LOLLLLLLLLL.

I'll give this a try as well! I'm planning on experimenting with OC/UV settings but I'll hold off on that so I can accurately test battery given normal conditions/setups with you guys. :D

Beautiful widgets was always a battery hog for me. I did a logcat before and saw it doing a ton of things throughout. That was a while back though maybe the newer versions of the app are less battery hungry.

As an attempt to prolong battery life, I've stopped using multiple homescreens full of widgets. Down to just 1 homescreen and widgetlocker. :o I'm a bit sad that I don't get to go all out with my customizations with widgets and such cus I want my phone to last me longer. lol..

We must find the culprit! Charged with robbing me of my widget-ful homescreens among many other crimes.
[Galaxy S I9000 General] bokbacken:
That is a significant difference, if you could, please repeat these test a few time, preferably from 100% battery when starting. I know from experiance that the operators do upgrades/maintenance on their base stations nighttime, and ½ hour of no service could drain alot, so it is best to do a couple of these tests.

Also specify country/operator if you have good/bad coverage at home as well.

For the time being I left BW out of the phone, but I always had it in my JP6 setup, I also think that I should be able to have a live wallpaper in my phone without having to charge it constantly.

Good to see that you are in the right mood, lets eliminate them juice-drinkers!
[Galaxy S I9000 General] orenc75:
I being investigating the battery drainage for the past couple of days and I think I have some conclusions I would like to share with you.

I am on Doc's v6.1 JPY without any templates. WIFI policy is set to "Never". I came from 2.2 DDJP6 in which I had almost zero drainage (~0.2% per hour).

I tested the following scenarios:

1) Wifi ON + Data ON = 5% drain

2) Wifi OFF + Data ON = 0-1% drain

First, I thought that it is the Wifi to blame, but then I noticed that in 2.2.1 there is a different behavior of the data/wifi toggling.

I will explain:

I am using SwitchPro to toggle Wifi. In 2.2, whenever I switched the Wifi ON, the Data's icon remained ON. In 2.2.1 whenever I switched the Wifi ON, the Data's icons was shutting down. However, when you check the phone's settings, you can see that the Data packet is still ON. Strange, so I performed another test:

3) Wifi ON + Data packet OFF from phone's setting = 0-1% drain !!!!

So it is not the Wifi to blame!

Samsung has a weird bug in 2.2.1 in which, the Wifi and Data can not coexist. You need to switch one of them off to get rid of the drainage.

I also flashed stock JPY just to make sure that this behavioral exist in the stock ROM and that it was not Doc's fault. And it is not -

it is Samsung's bug and there is nothing we can do about it.
[Galaxy S I9000 General] dhiru1602:
Firmware : JPX

Everything Stock except that it has CF Root Kernel.

Charged it overnight. In the Morning, I had reset the Battery Stats.

Screen ON: 2 hours

About 20 Text Messages

5 Minutes Call

30 Minutes Browsing on GPRS

Sync OFF, Wifi OFF, Background Data OFF.

Brightness set to the Lowest.

Unplugged at 8:00 AM.

Battery Dead completely by 4:00 PM.

Pathetic! I hate carrying a Spare battery and making a habit of charging it regularly.
[Galaxy S I9000 General] Stelmuze:
Hi all,

I found usefull these reports about battery usage, but I have proposal to make it more precise.

Maybe we could ask some developers here, to create simple log application, which every 1-2-4 hours will put entry in txt file about battery level, kernel, modem and etc...
[Galaxy S I9000 General] bokbacken:
You say if you change through phone's setting you're better off, I suggest that you send a report of this to the author of SwitchPro widget, could be an incompatibility issue with 2.2.1 we can't blame Samsung for everything can we :rolleyes:

Anyway, a very good report with specific findings and repeatability, thanks a lot!

This is unacceptable, and I had the same experiances, thats why I started this thread!

Have you setup any mail accounts in the SGS email program or do you only have the gmail account?

Any widgets on your screen?

To all:

I have updated post #1 with some forensic tools that might help us pinpoint some of the villains, do you have additional suggestions for this please PM me!
[Galaxy S I9000 General] bokbacken:
See post #1 Forensic tools and keep coming back to that page, I will add tools that we find on market or XDA to that section so they will be easy to find for all of us.
[Galaxy S I9000 General] dhiru1602:
I have posted my opinion about Battery Calibration in another thread. Thought it could be of some use, although it hasn't fetched much attention in that topic.

http://xdaforums.com/showpost.php?p=9149156&postcount=143
[Galaxy S I9000 General] NetCopAD:
Not the case here. WiFi is definitely my problem. And since swapping modems doesn't help me, I suspect it is a kernel problem as all kernel available to us use the same JPX base/source that Samsung released. Which gives me hope that some of the developers will identify the problem and patch it.
[Galaxy S I9000 General] bokbacken:
Thanks, I have read it earlier (from the link you posted in Doc's thread) but it's a bit hard to find anything there nowdays >20000 posts!, well we have to congratulate Darkyy also, > 1000000 views, and very soon > 10000 posts

The interest in these new 2.2.1 ROMs are indeed very high, and a few of us get in trouble for some unknown reason that we shall track down.

I added your post to the prosecutor's witness list!

On a side note, it's 6 hours since I had 100%, I'm down to 77% right now, and that is not bad, I have installed a few apps via 3G, Gmail sync is on, 1 Exchange and 1 IMAP account is active with check every 1 hour (with Improved Email) also did some GPS test as a few guys reported better reception with K12, I got 10! birds in view while inside my house, lock on 9 at the most.

I will now install Beatiful Widget with weather update every 4 hours lets see what will happen then!
[Galaxy S I9000 General] jackall:
You might want to add "juice monitor" to your list. its available from the market
[Galaxy S I9000 General] bokbacken:
Downloaded Beatiful widget, browsed through all clock and weather themes selected neon transparent as clock, and PerfectWeather for weather, use accuweather for the forcast, geolocation active, in advanced set to alt. geolocator (more precise) screen constantly on for 15minutes lost a few % battery is now at 74%, in my book that is acceptable, now lets see what happens the next 6 hours.
[Galaxy S I9000 General] bokbacken:
Thanks, I can't find juice monitor on market, there is juice plotter and juice defender both by Latedroid.

Both are interesting apps, juice plotter will get a spot in the forensic tools, defender looks like a good tool to prolong your battery, I'll have to make a generic tool section as well, though it should not be used while we try to find the drainers.
[Galaxy S I9000 General] Toonio:
I suggest to add to the template battery info also. I have 2 spare batteries from ebay. These are exact same as original, but only by technical data. By experience I think these are about 70-80% weaker than OEM battery...

It's just another thought :P
[Galaxy S I9000 General] bokbacken:
About wifi, I have added shark to the forensic tools section in post #1

With it you can see the traffic generated in all network interfaces.

It has a high learning level though.
[Galaxy S I9000 General] Geryatrix:
Sorry for the delay in posting, but I was out last night.

As far as I can see, the data connection normally shows E which I believe is Edge. I haven't seen it change from that within a 20 mile radius of my home.
[Galaxy S I9000 General] SDeba:
Stupid thing, when I changed modem to JPP one, my phone has drained 5% over night (8 hours), I will test this modem more and post results.

Sent from my Samsung Galaxy S
[Galaxy S I9000 General] gulbrillo:
WLAN on

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

Bluetooth off

GPS on

Auto rotation on

Auto sync on (GMail and Facebook)

Fancy Widget update weather every 2 hours

Gmail push service.

I did another test this night and did change WLAN sleep policy from "whenever screen is turned off" to "never". Did not make any difference for me.

Old finding:

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

about 1% per hours while not using the phone.

New test:

WLAN Standby policy set to: fallback to mobile data> never.

about 1% per hours while not using the phone. Maybe slightly more. But within error tolerances I think. But this time Wifi was Running 100%. So there is no Wifi draining bug for me.

sidenote: GPS navigation sucks about 2% per minute out of the battery.

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

Stable O2 Germany carrier signal.

I will now switch WLAN off and go on HSDPA next night. After that I'll change the modem back to JPY.