yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] pblasi:
Hi!

Here is my dump file. If anyone could take a look at it and give me some advice about how to reduce wakelocks or whatever I would really appreciate it. I get about 6% per hour draining (screen off, 2G data connection, autosync off) and I don't know if it's normal. Thanks in advance.

Device: Samsung Galaxy S2 i9100

Rom: Wanamlite 12.6 (UHLPY) + JBstyleReloaded Mods
[BetterBatteryStats] Karpfenhai:
Your main problem is background data transfer, probably in a bad coverage area?

Background sync plus dirty wifi network are your main concerns.

For both of you, the drain cannot only be explained by your awake times,i would suggest to switch the kernel and the baseband, my recommendation, phenomenal and ki4, good luck!

@hilmesh,i look forward to your latest results with ki4. :)

Tapatalked from my Samsung GT9100
[BetterBatteryStats] GalaxyGusta:
Guys can you please see what is causing my wake locks I have a lot of wlan_rx_wake wake lock

Here is the dump file

http://db.tt/u9vMenL2

Thank you
[BetterBatteryStats] Markox89:
I think I've found a bug in latest version. When you unplug your device every reference is resetted. This make useless any other reference than since unplugged. Sorry if this has already been posted.
[BetterBatteryStats] Karpfenhai:
Hey there,

Clean your network

Bring down sync activity

Change your baseband

Provide an idle! dump

In that order ;)

Regards

Tapatalked from my Samsung GT9100
[BetterBatteryStats] otakuedgar:
Hi guys, any advice on my device please? I've quoted my previous message.

Thanks :)
[BetterBatteryStats] GalaxyGusta:
:)

Well what do you mean by cleaning my network?

And for sync I I actually schedule sync with tasker for every hour

And what is an idle dump?

Thank you!
[BetterBatteryStats] xelra:
Cleaning network means getting rid of multicast in your network. It is complicated and most users are not up to it. On Android we use Shark and WireShark on a PC.

An idle dump is a dump that you make after charging the phone, unplugging it and leaving it idle for several hours.
[BetterBatteryStats] GalaxyGusta:
Well u have downloaded shark for root is that it?

I clicked on start but I have no idea what it is doing

And I will do the idle dump just how much do I need to leave it idle?
[BetterBatteryStats] Karpfenhai:
4 simple measures:

1. Set your device to static IP, tell the router the Mac Adress of your device and assign this ip to it. This will narrow down DHCP Overhead

2. Increase Beacon interval from 40ms (Standard) to somewhat between 150 and 200 ms, (the more the better).

3. Disable (freeze) Wfi sharing and Wifi Sharing manager on your device.

4. Try to find and set a wifi channel which is unusual and has less traffic on it.

Another method, install a kernel / patch which has blocked broadcast receiver.
[BetterBatteryStats] Hilmesh:
Hey Karpfenhai, Sorry but cannot give results for KI4. My phone keeps hanging on boot whenever i try installing the KI4 modem. I am on 4.0.4. I don't know what the problem is. Right now i am BVLPE with Geroxx 0.31 Intensive.

One thing though i tried installing KI4 RIL + Modem??? Maybe that could be the problem??? My tests with BVLPE will be done probably by tomorrow and then i will try only KI4 modem and come back.
[BetterBatteryStats] PassieWater:
Hi guys...

Newbee Q:

Wich combinations should i tick to see what programms are draining the battery the most ???

Hope the Q is clear

greetz

EDIT: the battery is draining 10 % per hour !!!
[BetterBatteryStats] iamafrk:
Greetings from Germany,

I recently upgraded to Resurrection Remix 3.08 JB (previous version Resurrection Remix 3.03 JB) and noticed a significant drop in battery life. I used to get a solid 2 to 3 hours of screen time previously, but after the upgrade its less than an hour sometimes. Worst thing is the battery drains from around 50% to dead flat overnight (8 hours). Attached is log of BBS. Can someone please tell me whats eating my battery.

Cheers
[BetterBatteryStats] Karpfenhai:
???? Just post a dump and read the FAQ, Hint, Partial Wakelocks are User Apps, Kernel WL System related.

And the Winner is Google Chrome! :P

Please update to the most recent Version (Post 2) produce an idle Dump (Explained in Post 3) and start reading / searching the Thread.

Good luck! ;)
[BetterBatteryStats] iamafrk:
Weird, because I don't have chrome installed.
[BetterBatteryStats] ii7Stryker:
l2_hsic ??

Search revealed no results regarding this kernel wakelock?

And one more thing, how are raw stats different from normal stats ?
[BetterBatteryStats] Karpfenhai:
Damned, i was afraid so .. Was only a quick shot, okay then it might me tough to find, one of your apps prevents your phone from deepsleep, you have to find it ;( Maybe an app which can access the gyroscope or the proximity sensor, chrome was often the reason (Tilt scrolling in dev. options), hope u will find it.

Layer 2 High Speed Inter Chip

android_kernel_samsung_smdk4210/drivers/misc/modem_if/modem_link_device_hsic.c

HSIC is a part of the hardware tying CPU to RIL (Radio Interface Layer) and other hardware. HSIC is a variation on USB.

More information about hsic can be obtained here --> http://www.synopsys.com/dw/dwtb.php?a=hsic_usb2_device

So, the question is, did you transfer files / data via USB during the period??

Again, only an idle dump can show the whole picture..

Regards ;)
[BetterBatteryStats] Rob2222:
@Karpfenhai:

I don't think that L2_HSIC is related to USB data transfer (only?).

From my understanding HSIC is the successor bus system to I2C used for chip to chip interconnect bus systems (via USB protocol).

This means, that if you see l2_hsic wakelocks, it is not a must, that you used your phones usb data connector. It can be that this is just chip to chip communication in the phone itself.

I have around 10 minutes l2_hsic wakelocks on my S3 over the night, when online via 3G mode.

USB is not connected anytime over night.

BR

Rob
[BetterBatteryStats] Karpfenhai:
Youre right, its the data link layer which can also be triggered by the Modem or Bluetooth, so l2 Hsic is, (as known) related to data traffic too, maybe some special traffic can raise the value, like small tiny packages instead of larger ones?

So the layer has to address a larger amount and therefore the value increases?

Just a blind guess, no clue whether im right or wrong..
[BetterBatteryStats] gollyzila:
Karpfenhai, can you take a look please?
[BetterBatteryStats] GalaxyGusta:
Well here is my idle dump

http://db.tt/s4jVwPik

It's the most idle I can give you today because I need to charge it tonight cuz I need my phone tomorrow

IV changed the modem looks like wlan_rx_wakelock is showing less now but tell my what you think
[BetterBatteryStats] Dark_Avenger:
I have HD2 running Gingerbread 2.3.5. Why "Network" page is always empty? "Root features" is enabled. "Alarms" is OK.
[BetterBatteryStats] tigerphil:
Thanks for the input :) i am already on ki4 but will give the kernel a try as soon as i can get some spare time to download it. As for my wifi, that decided to switch itself on during the night while i was asleep, at the moment i'm completely disconnected from the net due to a recent move so it was probably trying to find an open network
[BetterBatteryStats] GalaxyGusta:
Oh you right I will do that and give you another dump

Thank you a lot man I see you help here to a lot of people!
[BetterBatteryStats] Karpfenhai:
I think you may have downloaded a corrupt file, try this one.

RIL must not necessarily match, only in case of problems.
[BetterBatteryStats] Hilmesh:
Yup maybe you are right. I have downloaded from your link and will flash the same and go for the test. Will put the test results of BVLPE soon. Thanks
[BetterBatteryStats] Karpfenhai:
This dump looks quite perfect! a flat line and almost no awake, there is only one thing that puzzles me :

Event Log Service (Google Services): 3 h 15 m 42 s (11742 s) Count:13 32.3%

Why dont you grant root to BBS for the alarms?

Congrats, enjoy your phone!
[BetterBatteryStats] hristopelov:
I have, dont know why isnt showing, i did for the alarms and the network, will check again why isnt showing.

So alarms partial wakeups can be totaly cleared?
[BetterBatteryStats] GalaxyGusta:
Here is another idle dump

http://db.tt/TBgcla5O

This time newest version looks a lot batter and I changed the modem even though the wake lock still accruing it is only one minute wake lock for 2 hours of up time

Thank you for helping me through that
[BetterBatteryStats] Karpfenhai:
Sol what, this dump looks quite good too... The 5 mins overhead are caused by your wlan and backup, not sure about audio_out, maybe this was caused by yourself.

Enjoy your phone!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] ManUtd07:
I posted a dump file a few days back because I wasn't sure what was causing my battery drain. A few people mentioned either an active wallpaper or Google Talk. Neither of which I use so I found that surprising. Created another dump file today. Maybe I just think I shouldn't be dropping as much battery as I do but it went from full 100% to 60% in the span of 7 hours. I have used it twice for a combined 15 minutes to play Angry Birds and the new Pigs game (haha, sad I know). Wondering if there is anything else sticking out here? I don't get great cell service so it could be an issue of looking for service. Also, is time or count more important? Thanks for all the help guys/gals.
[BetterBatteryStats] hristopelov:
Any idia what causes thet "Event Log Services" i dont see anyone else having numbers like mine, its a Google sercive, but i wonder what triggers it? could it be that i have frozen some of the Googles features in TB like Books Music etc...

Or it could be because im using a radio from a diferend ROM?

Is bugging me, isnt taking battery but gota find out what is triggering it as other users dont have it in there dump files...
[BetterBatteryStats] chamonix:
Do you mean every as in "all". I can't reproduce. Can you please provide instructions and a logcat?
[BetterBatteryStats] vis80k:
not sure if this is normal. just wanted to share and get feedback.

one thing that bothers me is the "com.android.internal.telephony.gprs-data-stall" waking up the phone with alarm manager too often.

am on Nexus S with 9/29 RasbeanJelly based on JRO03R AOSP. whichever kernel, it didn't seem to matter. I forgot how it was from other roms though..

I had google now active as well as location history from google map settings.
[BetterBatteryStats] wadokai:
Hey guys can one of you please help me out? I've attached my file.

I'm having this wakelock called "back up" and at first i thought it might be from the "back up and reset" menu, but everything there is unchecked.

I'm running Sgs 3 i747m, ics rom

Hope you can help me out! thank you!
[BetterBatteryStats] Hilmesh:
Okiz. My Tests with BVLPE is done. Please see below Results and comparison with my earlier tests with LP6 (http://xdaforums.com/showpost.php?p=32485869&postcount=9212). Now i am on to KI4 :) and will post results soon.

Brightness is set to Auto

Screen Mode is Dynamic

Skype running in background (Active only when 3G is ON)

IM+ Pro with 3 accounts running in Background (Active only when 3G is ON)

XDA is used as and when 3G is connected

Gmail Syncing with 4 Email accounts ((Active only when 3G is ON)

Occasional checking of Google play for updates or new apps

Receiving text messages and sending occasional messages (maybe 5/6)

Calls & 3G can be determined from BBS stats

Game Played – Pool Break Pro

Video-songs Playback for my Son.

Minimal amount of browsing

Tests with LP6 Modem and Phenom 6.1 Medium

Total Awake Time – 4h 1m 39s

Total Screen On time – 3h 41m 42s

Phone Usage – 41m 40s

Good / Medium / Poor Signal – 8m 24s

Battery Loss – 97% and total Standby – 2d 1h 16m 55s

Tests with BVLPE Modem and Geroxx 0.31 Intensive

Total Awake Time – 3h 42m 5s

Total Screen On time – 3h 12m 57s

Phone Usage – 1h 5m 40s

Good / Medium / Poor Signal – 17m 36s

Battery Loss – 97% and total Standby – 2d 2h 10m 58s

Snapshots - http://s881.beta.photobucket.com/user/hilmesh/library/Battery with BVLPE

One thing I noticed is the Good / medium / Poor signal stats come on only when we switch on 3G. Then also they do not represent the complete time you are on 3G just some sort of average. But then maybe I wrong in this assumption maybe someone can shed more light on this.

There was another mention regarding the screen filter app. Karpfenhai can you suggest which % setting is best as I would like to test it after I finish KI4.

Cheers :)
[BetterBatteryStats] akshay7394:
Hey, curious about something. Ran a search, didn't get results, and I really can't read ALL 465 pages :P

I ran BetterBatteryStats for a few days, but noticed something: It keeps recurring the signal as "low or unknown"? Even though I've been at a location where my signal bars are 5/5 throughout the day?

I'm running a Sony Ericsson Live with Walkman, on AOKP jellybean. if it helps.
[BetterBatteryStats] akshay7394:
It isn't letting me edit my previous post, so I'm just adding a screenshot of what I mean here:
[BetterBatteryStats] Karpfenhai:
Sure, it depends, but 64 - 67 for "normal" indoor areas should fit good.

At night (really dark environment) you can easily go below 50.

Less than 40 is imho to much....

Hope you will squeeze another hour this way!

@kevindd what its written here \/ ¿

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Markox89:
Yes, I meant all, sorry :)

The instructions are easy, I turn on my phone, default reference is since boot, everything is ok. If I, even briefly, charge the phone when unplugged references are resetted to the the moment I unplugged the phone. Logs in the afternoon ;)
[BetterBatteryStats] gollyzila:
Just in case my phone gets wiped when I flash a ROM or other things.

I already unchecked Google Cloud Backup in Settings. I don't know why there is still a wakelock.

I'll remove my battery for short while and upload another dump this weekend.

There's only 1 or 2 kernels for the Photon and I'm using the stable version. It's not a popular phone :(

I have no external SD card inserted. Perhaps a 1 second wakelock to check if an SD card is inserted?

I disabled every location setting except GPS. We'll see how it affects my dump this weekend.

I had already followed your autostarts instructions before this dump. This wakelock was probably caused by the combination of Google Now and Google's Location Services being enabled.

I use calendar and Google Now's voice search a lot. I'll see if I can get away with not freezing these.

What would you recommend instead of uploading my backup to Box?

Thanks. I'll try to post another dump this weekend.
[BetterBatteryStats] hristopelov:
lol new record, thats on HSPA+ cant wait for T-Mo to deploy LTE later next year...
[BetterBatteryStats] Karpfenhai:
Normally the mountpoint sdcard / emmc is not affected by a wipe, otherwise you would loose your personal stuff everytime like photos, ringtones, music.

A wipe does only affect /system /data /cache.

No Clue, you need to figure this by yourself.

Nope, its the internal memory mountes to /emmc (i guess)

We will see.. Google now causes some trouble, maybe disabling it is enough.

Good luck!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] kevindd992002:
What do you you mean?
[BetterBatteryStats] pblasi:
Well, here is a new idle dump file, now with Fast dormancy enabled (2G data, autosync off). Seems "secril-fd-interface" is lower now (5,1%). However, I get 5,6% per hour battery draining (testing 2,5 hours idle). This means 17-18 hours total battery life in idle state, without using the phone. Is this value "normal"? I don't see any ohter big % wakelocks or alarms... Any opinions will be appreciated. Thanks!
[BetterBatteryStats] Karpfenhai:
Your dump looks good so far, the overhead is caused only by network traffic, no big deal, but the drain is unexplainable...

So i strongly recommend to switch the kernel and the modem...or the ROM...

Give phenomenal a shot, check hilmeshs results!

@Kevin, you don't really get it? :p

I have a Samsung galaxy S2, as written in my signature...

Tapatalked from my Samsung GT9100
[BetterBatteryStats] pblasi:
Thanks for your answer. I'm already with Phenomenal Medium. I tried lots of kernels, also some modems and stock-based roms, and none of them seems to reduce this drain... I'm starting to think it's a hardware problem since I suspect my battery drains even when phone is powered off... I'll check it tonight. If that is true, I guess I'm facing a major problem, right?
[BetterBatteryStats] Markox89:
Sorry man, I really love your working, also bought the app on the Play Store, totally not kidding you...but since this morning I can't reproduce that situation :confused:

Maybe it's because I've open BBS before the plug-unplug thing for saving the logcat. I promise, if this will re-happen I'll save and post a log :)
[BetterBatteryStats] marco.fuce:
kernel wakelock

How can I solve my kernel wakelocks???? I have too much held awake time! tnx

View attachment BetterBatteryStats-2012-10-10_192220733.txt
[BetterBatteryStats] Karpfenhai:
You can solve all your problems by following the rules ;)

If you read post 3 you will find a brief instruction how to produce a valid idle dump.

regards ;D
[BetterBatteryStats] marco.fuce:
.. I ve just read it...the only solution is to turn off wifi when not used? I always used to let it on, such as data connection. Any alternative??
[BetterBatteryStats] Szczepanik:
Better WiFi on/off

Cheers

Tom
[BetterBatteryStats] hristopelov:
Karp, just to let you know, as you are helping everyone arrownd with your expertise, about the "Event Log Service" i was getting with hours on my dumps, using the radio that belongs to the ROM seems to fixed it, after i tried Gemini and Titanium fixes (i tried defrosting some of the Google apps i had frosen, and tried enabling auto start on the apps i had stopped it, and it didnt help) i Odined back to stock, and w the same setting and programs frozen and autostart disabled on the same programs it seems to fixed it.

I dont have it at all, might do one final idle dump tonight and post SS.
[BetterBatteryStats] brbbX:
Can somebody have a look at my dump file?

I want to know if there is room for improvements.. When I'm at home, with good wifi, I'm getting ~2% batt loss per hour.. When I'm at work, with mobile data, I get like 3-4% / hour..

Here is the link to the dump file:

https://dl.dropbox.com/u/10021261/BetterBatteryStats-2012-10-10_175347820.txt

Thank you
[BetterBatteryStats] Karpfenhai:
Did you take the dump while charging?

Looks pretty weird to me.

Tapatalked from my Samsung GT9100

---------- Post added at 12:46 AM ---------- Previous post was at 12:43 AM ----------

Since it showed up for hours and you're total awake was way less, it must be some kind of false positive..

Maybe a logcat would show Sven the reason.. But if you solved it, lets forget about it .. :)

Hope your are satisfied with your battery life now!

Regards.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] hristopelov:
It still showed up, but after 4-5 hours with use it shows like 20 min. or so...

my idle battery was good anyways, 4% drop in 8 hours of screen off while i slept, but this "Event Log Service" was running for like 3+ hours...

realy want to get to the bottom of it whaf causes it, not to improve my battery, its already exelent, but to figure out what is it... so you think is some kind of error? like if the Android system tries to opem Maps lets say but i have disabled the auto? and then it runs to register that error?

i might need to go to complete stock for a day with all the Bloatware and auto enabled to see if itll show up the same way...
[BetterBatteryStats] kmilof:
hey, quick question.

The NetworkStats Wakelock is bugging me, in the ss says that's has been awake for 30 min, currently is un 1 hr and 10 mins, and really i dont know what is it. i've been triying to chase for possible rogue apps, but nothing.

hope anyone can give me a hint.

I9100-

chameleon v 1.3

phenomenal 6.1 medium.

normal battery.

ty :)
[BetterBatteryStats] #illidan:
I had this wakelock & it bugged me for months. Noone could help me with it until it figured it out. It's some weird Google Maps wakelock or a system location wakelock. What you need to do is to have a look under Running Services>Google Services & stop the google location service process that is running. This isn't a permanent solution as it will keep opening up again & again for some reason so you need to keep doing it again & again. Maybe freeze the Maps & network location service app (in the /system/app folder) or try a full wipe to see if it's a permanent solution.
[BetterBatteryStats] r2go:
Who can look at my dump file?

http://db.tt/BOwI77Xp

I already changed Wi-Fi into only when connected. So that will help. But the other things in the list.

Verstuurd van mijn GT-I9300 met Tapatalk
[BetterBatteryStats] chamonix:
Wifi was on all the time in this reading, causing all the overhead visible in the kernel wakelocks. Turn Wifi off, take another reading and we'll go from there.
[BetterBatteryStats] chamonix:
Yes, there is quite some overhead cause by leaving Wifi on all the time. This is a known issue with most setups and is not related to the phone but to the access point(s) causing wakeups / overhead
[BetterBatteryStats] r2go:
Will do. Do I have to turn it all off or like I normally have it? I have the middle option..turn on when connected (translated from Dutch)

Verstuurd van mijn GT-I9300 met Tapatalk
[BetterBatteryStats] esseti:
Hello.

First: great app, very userful.

Second: i'm facing a wired battery consumation. I charged the phone before going to sleep and i checked it back once i woke up ( a bit later beacues i forget to take the dumps and screenshots :laugh:)

So:

as you can see here i've the phone "awake" regulary even when i'm sleeping. I didn't move the phone at all but the network signal seems to change quite frequently. is it normal?

https://www.dropbox.com/s/m2o2kd9qo55llt2/2012-10-11 10.11.28.png

then here there's the screenshot of the BatteryDump. i've this process that is part of the maps which keeps doing smt. what's that?

https://www.dropbox.com/s/uu97p7znzdjnw31/2012-10-11 10.16.38.png

last, the dump file: https://www.dropbox.com/s/dtbkd88rsj364h6/BetterBatteryStats-2012-10-11_101232672.txt

any idea why i've this wired behaviour?
[BetterBatteryStats] chamonix:
If you mean the Wifi policies my experience is that this doesn't work and will still cause wakeups. My tip is to turn Wifi off completely. You may want to try BetterWifiOnOff (a tool I wrote for exactly that purpose) to handle Wifi automatically for you. You can find it here on xda and it's free.
[BetterBatteryStats] chamonix:
Maps is you main problem (scanner service), a few others lke bln are also causing wakeups. Facebook is also a known drainercausing you trouble. Your reading does not show Wifi being enabled so I suggest that you check your caching settings in map and make sure that caching is not enabled for 3G.
[BetterBatteryStats] esseti:
well.

maps is set on wifi only. I don't understand what maps wants from me :), idea?

fb i removed the notification and auto stuff. but seems to be alive anyway.

for the bln i used it for sms and calls , is it normal that behaviour?
[BetterBatteryStats] AllSeeyinEye:
The mobile fb website has the same functionality as the app and as an extra benefit the website is way faster than the app!

Sent from my GT-I9100
[BetterBatteryStats] pblasi:
Hi! I'm quite worried. My battery drains 6% per hour when idle and I tried everything: reduced wakelocks, changed kernel, modem, rom, everything. The important thing here is that battery drains even when the phone is powered off. I can lose 20% in one night with the phone completely off. I switched battery, but same results. I left battery out of the phone for one night and, in that case, there's no drain (only 1-2%). So... It's a hardware issue, isn't it? Anyone has ever know about this issue? Any solutions? My phone is about 1 year old and has some scratches... Don't know if warranty will still be valid... Thanks!
[BetterBatteryStats] esseti:
truly true. let's try this out.