yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 General] kamiel:
Wanted to add something I found curious. I checked what consumed the most cpu time with sgs toolbox and the following process was number one: glgps_samsungju

But when I look at gps time used in sgs toolbox it says that I haven't used my gps what is correct, but I'm pretty sure the process using the most cpu time is gps related.

Edit

I'm on darkys 7.7 flashed it 1 day ago. Used my phone intensively during the day. 3 hours of surfing while listening to music during travel.

Edit 2

Just noticed in the same toolbox that something is keeping my phone from going to sleep.

The phone has been 16 and a half hour not in sleep. This accounts for 25%

The screen on time 10 hours (somehow I find this a lot) accounts for 15%
[Galaxy S I9000 General] bokbacken:
These numbers doesn't make any sense, screen on 10 hours is practically impossible, Please download either SystemPanel by NextApp or OS Monitor by eolwral, they will give you much more useful information about what's going on in your phone.
[Galaxy S I9000 General] kamiel:
I thought that the stats would be reset after a flash but I guess not
[Galaxy S I9000 General] pauldiddy:
the process/service "mediaserver" also causes a strong drain.normally it should finnish after the initial mediascanning but it is restarted by some apps and actions.I figured out that clearing both levels on taskmanager /freeing ram starts this process again.the only way to stop it is to reboot the device.

but there are some more apps causing this problem,maybe using winamp app and vignette and other apps using or creating media files.
[Galaxy S I9000 General] bokbacken:
mediaserver will start when you had your phone connected with USB, it should do this there are some other programs that "triggers" mediascan, programs that are using pictures and music is probably the kind that triggers this, this is something to investigate more.

I suppose you have applied the fix that is avaliable in post #4?

It usually helps if your mediaserver is running all the time.
[Galaxy S I9000 General] Lancey:
well, its strange but all my drain and not charging till 100% started after installing android stock lockscreen and circle battery mod...then i decided to flash again the same rom and kernel to get rid of those problems, but nothing changed.
[Galaxy S I9000 General] pauldiddy:
yes,applied the script in sgs tools,but it didn't take effect on this behaviour.
[Galaxy S I9000 General] networkn:
I am new to this thread and I have read some and found myself mostly confused. I thought I would share my experience.

I went to Fiji (Vomo check it out), and whilst there, I had 3g coverage but no data (! mark in notifications saying no data defined), bluetooth off, and I made 3 short calls and about 10 txt's (15 minutes total) and otherwise phone sat by the bed. in 3 days I used 9%! I flew home yesterday and got my normal data reconnected, and used 4% in 2 hours. I then went to bed and woke up this morning after renabling wifi and bluetooth and lost 22% overnight. I am using Ultimate 4.5. Not sure what Radio, I have been trying to work out what is a good radio to match with ultimate 4.5.

I see people referring to sleep.. What is sleep mode? Screen off? BTW I have changed my wifi settings so that wifi is off when screen is off and notifications are off. (I presume it will still find wifi if I tell it to search)
[Galaxy S I9000 General] Nismo:
Gents,

As I have stated before (see below)... and found out today, its the data-radio for sure!

Why? Draining power with GPS is not due to GPS but due to heavy data usage during navigation! Today I was visiting my parents in law (new year great etc). They have very poor coverage in house. I noticed that my SGS did what ever it could to maintain a good data signal, battery went hot and its capacity plumbed. Start arrival on 60% 5 hours later 15%. The only thing I did was reading the new's on-net.

I have seen this in the past as well with an old HTC, changed the radio firmware and dubbled its operational time... But what is a good radio version...

(I am on I9000XXJPP ???)
[Galaxy S I9000 General] EarlZ:
Also the media scanner will run for a very long time depending on how many image files you have on your memory, on my case I have like 5k images it takes about 15mins to have all of those rescanned and cache rebuilt.
[Galaxy S I9000 General] pauldiddy:
I only store about 20 mp3s and actually 5 pictures on my device and I created the nomedia files in all of the other folders to exclude them from scanning.so it needn't to scan that long.there must be another reason(s).
[Galaxy S I9000 General] jodue:
in my opinion ext4 is responsible for a fairly big amount of battery-drain problems. i used ultk/voodoo with "all" partitions on ext4 for some time now and although it makes the phone snappier the battery has to pay the price for that. now i am back on stock with all partitions on rfs for one day and it's amazing how slowly the battery drops. during night (8h) it just lost 1-2% while i had about 8% drain with an ext4-fs.
[Galaxy S I9000 General] JJEgan:
Dont think so i have had ext4 on four roms with no battery drain on three and rapid battery drain on 1 .

Phone and wifi on standby normal drops 2% per 12 hours . Current rom darkys v7-7 97% drop in 16 hours despite battery recalibration .

jje
[Galaxy S I9000 General] morgun007:
Could you keep actual status in firts post so we do not need read all 52 pages?

Ideal would be:

-proofed things

-Things under investigation

Thanks
[Galaxy S I9000 General] cyberkid2002:
I have recently got this phone and have Darkys Rom installed (and have also tried DocRambones)...

To me it very much seems like the phone is not charging correctly and to full capacity on this firmware. Battery drain seems spread correctly across all features (less when idle, very fast with screen on etc.) but is just happening far quicker than it should.

Unfortunately I did not play around with a 2.1 or 2.2 firmware, what battery life were people experiencing on these? Surely this is a bug that has surfaced in 2.2.1 and no amount of tweaking email refresh rates, switching modems etc. will fix this?

Just my thoughts.
[Galaxy S I9000 General] bokbacken:
I could, if I didn't have anything else to do with my life!

Sorry but the world is not ideal but I think that post #4 would have given you some idea about proven facts.
[Galaxy S I9000 General] xan:
http://xdaforums.com/showpost.php?p=10261941&postcount=245

Check this out if you are using FM radio.

Basically when RDS ON it just EATS battery.
[Galaxy S I9000 General] jonathan rafael:
Hi,

I have installed in my sgs the jjpy firmware, and as u know, i am having battery issues. I would like to calibrate my batt, but i can't because of my recovery system 3e. I installed CMD, but it didnt flash because of my actual recovery system. Is there any way to downgrade to 2e or change it to CMD.

My actual recovery system doesn't have the option to wipe the batt stats.

Tks
[Galaxy S I9000 General] backhead92:
If you are rooted, it's an option in SGS tools. Look at "apply script">clear battery stats (something like that)
[Galaxy S I9000 General] EarlZ:
For the corrupt media database you dont really need any scripts or SGStools for it, you can do the very same thing if you goto manage applicaitons > media storage > force stop > clear data

it does the very same thing.
[Galaxy S I9000 General] salivaman:
same problem here where 3g and H are constantly switching and drains 1% of my battery every 1-2 mins when surfing the web, but i don't have those error messages in dmesg. so how is your battery life with HSDPA only?
[Galaxy S I9000 General] nitramz:
perfect batterystats.bin

would i be possible that someone who has done the whole calibration thing can post his batterystats.bin just after that? maybe we can try to put it on our phones too or rom developers can integrate it in their roms so we don't need to do this annoying thing every time. just thinking....
[Galaxy S I9000 General] cyberkid2002:
existz > Think you may be really hitting on something there!!!! I have noticed for a while my battery drain does not seem to be too large when idle but drops like crazy when using data. I have also noticed the HSDPA/3G symbols swapping like crazy whilst browsing. Have you tried different Modem's to see if the problem continues? How does it seem on 3G now? Is there any way to force HSDPA only (ignoring 3G all together?)

Cheers,

Michael
[Galaxy S I9000 General] Case_:
Hi. Any ideas as to how to diagnose partial wake lock by "Android system"?

I've been experiencing quite bad battery life for a long time, ie. 20 % of battery gone overnight, pretty much with any ROM I've tried, with no suspicious behaviour by apps. I've managed to get a good battery life once (I think it was on Doc Froyo 6), but then it went back to this after a few days (and I don't really know why).

A few days ago I've finally tried to find the culprit and I've noticed excessive partial wake time by Android system, something like 25% of uptime. For example tonight I've rebooted the phone just before I went to bed - this morning, the uptime was 6 hours 46 minutes while the partial wake by system was 2 hours 35 minutes.

I'm trying to find out what's causing it but so far no luck. The phone is now on pretty much barebone version of Darky's JPY Froyo from his kitchen. I'm using the JPE radio right now as it was said to be one of the most battery efficient. Kernel is speedmod K12H with no tweaks. I've turned off wifi completely (even though it didn't seem to have an effect on the partial wake time) and I'm on 2G only with fairly good reception. Gmail sync is on, 'cause again, turning it off had no effect on the issue. Auto rotation is off. I'm not using the external SD anymore just to be sure and the internal SD has been formatted. The ROM itself was flashed after a repartition from Odin. I've done the mediascanner database cleaning nevertheless, just to be sure. I've changed the launcher from my default Launcher pro to the Gingerbread launcher by Eugene ('cause I've seen some reports of Launcher Pro draining the phone) - no effect. Radio reception seems good, time without signal is 0 % always. Now I'm using Root Explorer to remove any system apps I can think of that could be having effect on partial wake time, but so far no luck and there's not many left to go. Beyond that, I can (and will) try changing the kernel and/or the radio, but other than that I'm at a loss.

So is there any way how to diagnose this more effectively? Any tools that would help to tell me what EXACTLY in system is creating the wake lock? Of course, if I find the culprit, I'll share it with you here, that goes without saying.

Thanks for any tips...
[Galaxy S I9000 General] Nismo:
Strange...

Hi All,

Here a snapshot of what I see at least one day every time (Battery part, big dip). This happens when I go on-net using HSDPA or 3G.

The question is... Doe you guy's see this as well? What is the big spender?
[Galaxy S I9000 General] webwude:
Since i switched to JPY i am experiencing heavy battery drain as well - sometimes i go to bed with approx. 50% - the next morning the phone battery is empty. First of all, it was a wrong setting of wireless, after i changed the idle setting to "never when plugged in", i got about two days with normal usage (before, the phone never went to sleep). After all, i am still investigating, what exactly is using the battery so heavily... as i am not using the stock email app, the other usual supects apply.

@Nismo: what kind of app is this - i would like to try this to get a better feeling about the battery usage...

Kind regards,

ww
[Galaxy S I9000 General] ssvijay:
It is SYSTEM panel
[Galaxy S I9000 General] Travel_Mate:
Happy new year guys! I confess, I was too lazy to read the whole thread and I thought you've already discussed about HSPA and 3G. I've switched mine to 3G two weeks ago and now I can even make 24h with a single battery charge, this was not possible before. For myself HSPA remains one of the biggest battery eater. Ok, HSPA is fast, but I can live with 3G only. I' ve even made the test with GSM only, packet data disabled - the Galaxy made 4,5 days with average texts and phone calls(i'm not turning my phone off or flight mode for the night)
[Galaxy S I9000 General] Nismo:
Maybe a very dumb question but ... where can I switch off HSPA in the setting? lolzz...
[Galaxy S I9000 General] Travel_Mate:
*#301279# , [2] change HSPA revision , [1] release R99(HSPA off), press "hsdpa off hsupa off" , press menu "back" , press menu "end" after a few seconds "h" icon will turn to "3g".

I thought everybody knows this, that's why I didn't wrote it in my previous post.
[Galaxy S I9000 General] Case_:
Seems like I've finally found the offender in my "partial wake lock" case - it's the "Use wireless networks" setting in Location settings. If I disable that, I get next to nothing wake lock time for "Android system". If I enable it, boom - 25 % of overall uptime is partial wake lock for system. Doesn't matter whether wifi is on or off, doesn't matter whether I'm on 2G or 3G. Tried turning the "Automatic" time setting off as I've seen it mentioned as possible culprit of such problems - doesn't matter, the partial wake lock shows up no matter if it's on or off, as long as the "Use wireless networks" is on...

Bummer :( Not sure what to do with this, though. I can't go without location services. Hopefully I'll find some 2.2 ROM that doesn't suffer from this issue, but I'm not holding my breath...:(

But perhaps this will be handy to someone.
[Galaxy S I9000 General] lgkahn:
i dont have that on .. you dont need that on to use gps etc.. that is only to use wifi to pinpoint location which is inaccurate at best.
[Galaxy S I9000 General] Case_:
Of course you don't need that for GPS (well, if you don't need aGPS), GPS location is a separate setting. But you need that for coarse location services, ie. Latitude, weather widgets and lost of other services for which you don't really need GPS location precision.

Also, the coarse location works indoors, as opposed to GPS. And it uses a lot less power than GPS location, or at least it SHOULD when working properly.
[Galaxy S I9000 General] existz:
Can you use OSMonitor or similar and save the dmesg log for me? Would like to see if samething is happening to u ....check a few post above, I've got a similar issue and think I've found a fix...for now..

Yea I've used about every modem there is..no change..also tried about every rom to date as well as kernels. I've tried flashing stock, problem still happeneds...as of UMTS only, its been way better ...still want to test some more before I give my final say if it truley helps or not...ill post tonite

Sent from my Captivate

Sent from my Captivate
[Galaxy S I9000 General] existz:
From what I've found, its not that HSPA itself is eating the battery but for some reason its switching from UMTS/HSPA constantly, which is what's eating the battery...if you can use OSMonitor and goto messages and save the dmesg log for me to verify, look at my post, its up a few or a page back, I posted some of my log and u can see it switching for the 10min time period I posted...of course make sure you enable hspa for this..

Sent from my Captivate
[Galaxy S I9000 General] Travel_Mate:
It's switching constantly because the network signal is week, few years back this was the case between 3G and 2G networks (it's still the case actually). At least in my contry there is still a huge difference in HSPA, 3G and 2G network coverage.

p.s. I'll try to find tne log you are asking about, although I've no idea how, but reading is the key to all knowledge :-)
[Galaxy S I9000 General] existz:
Thats not the case for me, as I posted earlier, I have full 5 bar service, there is actually a tower 100 yards from my house... I actually work Tech for ATT and yes it is an ATT tower with the correct frequencies ...so I know its not a signal issue, I can watch in ServiceMode, theres never a weak signal when its switching

EDIT

Download OSMonitor and then goto the Messages tab with HSPA enabled, let it load and give it a few minutes to collect some info, give it maybe 15min or so, then press the menu button on your phone and export log...it will save it to /sdcard/
[Galaxy S I9000 General] Travel_Mate:
silly me, but i don't see my log useful :confused:

p.s. remove file extension
[Galaxy S I9000 General] Nismo:
Will do so, stay tuned.
[Galaxy S I9000 General] existz:
Well my goal was to see if yours was switching hspa/umts like mine was...ill go back and dig deeper into it but yea wasn't much useful info in it.. thanks though..

What im trying to see is, with other ppl that's having same issue, most battery drain is coming from using data, ie. when using browser or similar it drops 5-10% within minutes...if everyone whos having this issue even after eliminating any other possible cause, could post their dmesg log, to confirm it is the issue, then might be able to figure out whats causing it (even if you have great service)

Sent from my Captivate
[Galaxy S I9000 General] cyberkid2002:
just had a look at OSMonitor on mine and it switches between 3g and HSDPA - but only once every minute or so, not as quick as yours

***edit*** should also have added that I turned off HSDPA this morning and so far it's looking very, very good! Battery has been running for 11 hours and is currently at 65% with some moderate use (bit of music, surfing, texting, 10ish minute call, push email).
[Galaxy S I9000 General] Nismo:
I am not experianced with OSMonitor, where do you want me to look?
[Galaxy S I9000 General] existz:
Goto the messages tab, press menu then export log, name it whatever u want..it will save it to /sdcard/

Sent from my Captivate
[Galaxy S I9000 General] existz:
Same here, with hspa disabled been running about 14hrs...tested my discharge over nite, which was only 2% (over 8hrs), then been using heavily since 9am (3:30 now) and only at 71%

Sent from my Captivate
[Galaxy S I9000 General] Nismo:
Where do you want it? :)
[Galaxy S I9000 General] cyberkid2002:
surely thats gotta be it then... either the 3g/HSDPA is draining the battery or it's plain and simple HSDPA thats draining it. Shame we cant use HSDPA but cant say I have noticed the difference hugely!

What kind of life were you getting before hand? I was lucky if I got 12 hours of casual use.
[Galaxy S I9000 General] Nismo:
I noticed just an occational drain while driving to work for 2 hours, every 2 hours I see one big usage and a drop of -15%... so its not always doing what it should not do :)
[Galaxy S I9000 General] Travel_Mate:
Well, the only use of HSPA I can see is for wireless or usb tethering, for the rest 3G is fast enough.
[Galaxy S I9000 General] Travel_Mate:
Maybe it has smth to do with the hardware and the network. Mine is Galaxy S, stock JPP/JP7 and I am in Bulgaria (at the end of Europe :D)
[Galaxy S I9000 General] existz:
I was getting maybe 10hrs on a full charge and it would shut completley all the way down ...now im on almost 20hrs with 36% left

Sent from my Captivate
[Galaxy S I9000 General] techniq35:
Anyone also experiencing this battery drain issue? - http://code.google.com/p/android/issues/detail?id=11126

I've been having it for over a month after MANY different rom flashes.
[Galaxy S I9000 General] networkn:
What is "asleep" ? Do you mean when the screen turns off?
[Galaxy S I9000 General] networkn:
How do I verify this worked? I only had 3G to start with.
[Galaxy S I9000 General] cyberkid2002:
If you had only 3G already it is unlikely this will fix anything. To test, however, download the speedtest app and you should be getting around 350k download speeds instead of 1.8ish mb.
[Galaxy S I9000 General] webwude:
Look at the data indicator on top of the homescreen: if it shows "3G" all the time, it is 3G only, if you see "H" from time to time, the phone is still switching - you can also check the export log from OSMonitor...

Kind regards,

ww
[Galaxy S I9000 General] Nismo:
Log

Here my OSMonitor log of 2day and a screenshot as well. I am still not able to clarify the 2 "dents" in battery usage.

Ow yeah, one remark... OSMonitor eats battery power :)

Be aware that I use SuperPower.
[Galaxy S I9000 General] webwude:
It seems to me, that those "dents" as you call it are actually reboots or something quite similar (just a guess) - have a try and reboot your phone and look afterwards how your battery history looks like.

All the best,

Michael
[Galaxy S I9000 General] Nismo:
Ehm no, during a reboot there is no device activity.
[Galaxy S I9000 General] webwude:
I thought, you meant those gaps in battery usage - not device activity :confused:
[Galaxy S I9000 General] Nismo:
Lolz, I did... What I mean is that there is no device activity during reboot, you only see a battery dip. In my case you will see activity and a dip twice in the night. With Superpower on in night mode...
[Galaxy S I9000 General] Mparmpa-Nikos:
Hello guys,

I'm having an issue here also...

Darky's v8.0+hardcore 12H 256Hz after sdcard format and factory reset.3 battery cycles,inclunding reset battery stats and there is no more than 1:30' and battery droped from 99% to 94% and I'm not using the phone!!!

In normal use(browsing etc) I can't get more than 10 hours...

Using autokiller(100-120-140 the values i'm using right now) and juice defender seted to "aggresive"

Checking at "Settings"-->"Battery use"--> I see "Cell standby" over 40' while I'm not using it the last 1:30'

Any ideas/suggestions?:confused:
[Galaxy S I9000 General] Nismo:
Is'nt it just the battery

Gents,

Just a thougt,

Could it be just the standard Samsung battery that is poor? Did one of you test a battery that is not standard?

What I see reviewing the stats in Systempanel is that:

- The battery takes real long time to charge when using a car-charger >2,5 hours.

- The battery is almost never 100% charged even after 8h on 230AC.

- The battery discharges rapidly during usage.

In any case, what is "normal" with a smartphone? On my old Xperia X1 I could do about 2 to 3 day's on one charge, using the phone for listening to music and surfing the internet.

Now I can use my phone for 2 day's on one charge, using the phone a lot less.

WHAT IS THE BASELINE HERE?

We have some experiance with LiPo's here, it looks to me that the battery in the SGS is just a poor LiPo... Doe anybody have experiance with an other type of battery?
[Galaxy S I9000 General] basti107:
Battery only lasts 24h max.

I really think i can not solve my battery-problem.

i tried different flashing methods (heimdall, odin, kies with hack and zip-installation of roms).

calibrated my battery etc.

the maximum standby-time i can get is ~24h without using the phone and only telephone connection is active.

process 0 has the highest batt-usage. maybe thats the problem? pls help... :(