yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Rob2222:
[QUOTE='[-Mac-]

There is something of strange in my network, when my phone (Galaxy S2) is in DCH state it marks H+ (HSPA+) and there is data exchange, but when it's in IDLE state it stays on H (HSPA) instead of 3G but no data exchange, is this cause of battery drain?

[/QUOTE]

No, this is causing battery savings. With this icon change you see when the phone is switching on the dedicated download channels and when the phone is switching off the dedicated download channels to save energy.

This is the desired behaviour and is fully normal.

[QUOTE='[-Mac-]

Are you saying that FD don't need carrier support?

[/QUOTE]

This is, where it becomes more complex, cause there are two different fast dormancy versions.

The old version (FD-old) is developed by the device manufacturers like HTC, Samsung, etc. With FD-old the phone just switched back blind to IDLE state after f.e. 5 seconds inactivity. This FD-old didn't need carrier support from my point of understanding. It saves some power but it has some "big" disadvantages. This fast switchings leads to signalling network congestions and to get new data the phone has switch up from IDLE to DCH, which needs 2.5 seconds before you are able to get data. This "lag" you can feel when clicking a link on a webpage.

AND, biggest problem, some carried networks had problems with phones that just switch back blind to IDLE after 5 seconds without coordinating it with the network. This was, cause the whole system wasn't designed for phones doing that. The device manufacturers just came to that idea to save some battery power. In this "incompatibility" situation, which is caused by FD-old and not by the network, the phones drained MUCH power and this lead to the "wrong" community thought, "Switch FD off to save power". Unless you did not have that incompatibility problem, this statement is wrong.

This problems got the providers to make a new, better working, more intelligent and network coordinated version of fast dormancy (FD-new). FD-new can take advantage of the PCH instead of IDLE as new idle state (this it not a must, to use PCH), which consumes a little more power than IDLE state, but you get back into DCH ("online") state in 0.5 seconds. And the signalling load in the carrier networks is much lower with FD-new than FD-old. And, with FD-new the state transitions are fully coordinated between device and network again.

So, now with this knowledge, I have a question... what means "Does the carrier support FD"? I really didn't know how to interprete the question.

Does it mean, that the network is "compatible" with FD-old?

Or does it mean the network uses fast switchback-timers?

Or does it mean the network uses PCH state instead of IDLE?

Or does it mean the network uses FD-new already?

I really don't know. And this is why I said, it is a little more complex than just "Does my carrier support it? yes/no?"

My personal suggestion: Don't touch FD-settings. Just if you have huge battery drain, you can switch FD off and see if it becomes better. If you see no clear "better" then, switch it back on.

But I think in 2012 the most networks have no problem with FD anymore.

BR

Rob
[BetterBatteryStats] moollar:
Update 2

Hi everyone, my battery usage got worse again last night - approx ~35% overnight! Looks like there are a lot of WiFi related wakelocks (from what I can tell). Can someone please have a look at my latest BBS dump?

One difference I did notice between my wife's phone and mine is the WiFi sleep policy. Mine was set to "Only when plugged in" and hers is set to "Never". I read in this helpful thread http://xdaforums.com/showthread.php?p=31352080 that you should set this to "Always". Is this right?

FYI, Llama is set to turn off sync and mobile data between 22.00-07.00 each night.

I've now switched the "Keep WiFi on during sleep" setting to Always and installed Better WiFi on/off. Does anyone have any other suggestions?

Am I going to have to root my phone to better track down the culprit(s)?

Thanks
[BetterBatteryStats] inspire85:
Guys i need some help here.. I'm having a few kernel wakelocks that is sucking my battery badly. I tried searching for them but not much information about them.

Basically they are

- battery-monitor (19.1%)

- alarm_rtc (13.5%)

- mdm_hsic_pm0 (8.8%)

These 3 wakelocks causes my phone to be awake almost half the time. My overnight drain was 30%. Please help me out here. Thanks.
[BetterBatteryStats] killian32:
It worked for me too
[BetterBatteryStats] TechXero:
Hey there,

I never knew there was a thread on here dedicated to BBS by the BBS author no less .. Awesome ! Ok, here's my issue, I got an HTC One X with Ice Cold Jelly v3.1 AOKP ROM with FAUX123's 11m Kernel, and as it is with almost 80% of HOX owners, am having a somewhat odd battery drain. Been trying for a week to fix it to no avail :(

I was on the Stock ROM kernel which was ncx's 10b2 ... 20%/hour or so ... That's at IDLE ... Normal usage goes from 100% to 75% within minutes ... That's why I decided to try "Other" ROMs from Sense to AOSP/AOKP not getting close to new JB+Sense crap as causing nothing but trouble due to new HBOOT ....

Also I disabled Maps with Startups app, uninstalled all GPS related apps like Streetview, Forsquare and others, then completely disabled Google Location services, set my Router's Beacon Interval to 500 instead of 100 but that killed my Wifi so it's back to 100, set brightness to manual n lowest. I cannot turn off Wifi as I use it 100% of the time ...

That said, I did exactly as you asked, Plugged/Unplugged n let phone idle for 3h+ while I slept ... Find attached my Dump File ... And please I beg you help me find a solution to this drain once and for all it's driving me BONKERS !!!!! I had to resort to my iCrap (iPhone 4) on my days out coz with that kind of a drain on my HOX it's unreliable ....

Thank you ever so much :*(
[BetterBatteryStats] luizlee86:
Can anyone analyse thig log please?

In 5:30 hours, lost 10% of battery in stand-by.

I have a 2000mAh battery.

Running JellyBam 20121021 with Siyah v5.0b2.

Thanks in advance!
[BetterBatteryStats] kavkatan:
1.2% per hour

i think the problem is solved

i switched kernel and modem as advised

now i only need to figure out what to do with exchange(any advice?)

https://www.dropbox.com/sh/u7609kakzkk6n3c/u2c6KbWb-e

thank you

jonathan

:cowboy:
[BetterBatteryStats] Karpfenhai:
Glad to hear at least someone is following my suggestions :D

What about k9 mail instead of exchange?

I'm experiencing great results with one account set to push and another to pull every 6 hours.

Good luck.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] chamonix:
As your phone is rooted you should enable the root features in advanced prefs. At a first glance I'd say most of your drain comes from maps collection a lot of location data, most probably related to Wifi being always on. My suggestions;

- check your Maps caching settings

- check your location settings

- do not leave Wifi always on

- post a new dumpfile once done the above and with root fratures enabled (Maps is not the only drainer and we can go from there once that is resolved)

Please also make sure to read the FAQ (first posts of this thread) to learn about other ways to configure maps / location settings
[BetterBatteryStats] chamonix:
Thanks for for flowers :good:

From that dumpfile I see two potentials:

- BMW is set to update very minutes (146 wakeups in 145 minutes): one wakeup per minute is far too often and causes a huge overhead

- you suffer from rx_wake kernel wakelocks caused by incoming Wifi traffic waking your phone. If you leave Wifi on in a controlled environment (you own the access point) you could try and go hunt for broadcast/multicast traffic (often upnp) and fix it. If you don't control your wifi env. you should tu rn wifi (completely) of when you don't need it. BetterWifiOnOff may possibly help you with that.

Once this was fixed please stop by again with a new dumpfile for the next round.
[BetterBatteryStats] chamonix:
The OP says that for a good reason: when starting tuning it is more convenient to do that in an environment as controlled as possible. Now we hunt causes for awake/wakeup and somethimes it is pretty hard to separate cause from symptom. By providing an idle dump we make sure that you interacting with the phone does not blur the figures and it makes the analysis more precise.

Of course once the big issues are resolved fine tuning can be done by interpreting mixed-mode-readings but as I said, not to start with.
[BetterBatteryStats] TechXero:
Hello sir,

BMW? What is that? And I do have access to my Router but where can I find that configuration? Got a TP-Link TL-WR841N... Coz as I mentioned if I set Beacon Interval to higher than 100 it breaks xD

Thanks ;)
[BetterBatteryStats] chamonix:
Changing the Wifi policy won't protect you against incoming traffic waking up your phone and I see qite a lot of wlan_rx_wake. Make sure to turn off Wifi completely and you will get rid of that. For a daily use BetterWifiOnOff may be of help foe that.

Unfortunately you are not rooted so there is no wa to tell f the alarmmanager activy caused by au.com.weatherzone.android.weatherzonefreeapp.Weatherzone also causes wakeups but that may be a hint. The battery-monitor overhead is cause by wakeups so that is sign that you suffer from something waking up your phone a lot. With root there is no way to definitely tell but the above may be a cause, facebook is known to be one.

Start by not leaving Wifi always on and check back with a new reading would be my suggesting
[BetterBatteryStats] It_ler:
Just a guess:

Battery Monitor Widget ?!
[BetterBatteryStats] TechXero:
@Chamonix

BMW? What is that? And I do have access to my Router but where can I find that configuration? Got a TP-Link TL-WR841N... Coz as I mentioned if I set Beacon Interval to higher than 100 it breaks xD

thanks .. Sorry for double post ..
[BetterBatteryStats] Karpfenhai:
Beacon interval set to 200 should not break anything..

Tapatalked from my Samsung GT9100
[BetterBatteryStats] TechXero:
Ok will try that.... Thanks
[BetterBatteryStats] chamonix:
BMW=Battery Monitor Widget, does active monitoring so freq is a sensitive setting
[BetterBatteryStats] TechXero:
Uninstalled that don't need it with BBS installed ;)
[BetterBatteryStats] seancojr:
Wow! Impressive list of frozen applications you have. How's the stability with those disabled? That's always been my main concern for tampering with system apps I'm unfamiliar with.
[BetterBatteryStats] Hilmesh:
For my S2 i have these apps frozen since long time and no issues at all. Completely stable. :)
[BetterBatteryStats] gigeaky:
hi guys i want to test my battery usage in "idle" state i mean in usual stand by so should i let it stay for a couple of hours with the usual connections (wifi sim inserted) like i normally use right?
[BetterBatteryStats] It_ler:
Right.

You can set a custom reference before and check the "Since custom ref." after a while.

Good luck !
[BetterBatteryStats] Khoral:
Hello people :)

First, I'd like to thank the author for the app. It's really great and helpful.

Now, if I'm posting here, it's also to ask for some help.

I tried to discover what drains battery in my phone, and it seems like I narrowed it down pretty much now. Only one thing stays bugging me, and as I can't find any solution on the internet, I'm asking for your kind help.

You'll find a dump as attachment. In it, you will see that I still have one partial wakelock counting for 98% of the total partial wakelocks time.

Its name is "SystemUpdateService", and it prevents my phone going into deep sleep (it stays at 200 MHz)

If it's already been talked about in this thread, I apologize. I tried the search engine with "SystemUpdateService" and found nothing useful to me.

Anyway, thanks for your help and time, much appreciated.
[BetterBatteryStats] bobdoblo:
How do i find out what kworker is?

I have lots of it showing up in different guises eg different number/letters after kworker/xxx never seen it before?
[BetterBatteryStats] Karpfenhai:
Hey there, this service appears only if you dismiss a recent update, a reboot should fix it. I recommend to freeze Samsung Ota crap completely.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] TechXero:
Hey

Thanks for everyone's help earlier today I got my HOX back to almost what it was! Only thing left is to figure out why it drains 1% per 1.5mins while in use? Like when idle it barely drains anything but as soon as I start using battery goes down at an alarming rate.... Like as am typing this I just lost 3% xD

Should I send a dump file during regular use or?

Please let me know!
[BetterBatteryStats] Dr.69:
Got it from droidforum:
[BetterBatteryStats] Khoral:
Thanks for your answer.

I tried a reboot, didn't work, I still get this crap.

How do I manage to remove the Samsung OTA please ?
[BetterBatteryStats] Karpfenhai:
Freezing these apps should help:

Especially this one:

regards.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] ferreinf:
Pay atention if u use samsung's tracker for your phone u need to let this apps run, try cerberus it's better, and less battery hungry.... :)

Sent from my Transformer TF101
[BetterBatteryStats] Anfa900:
Hi everyone, can someone help i dont understand much about this bbs so, and i wanna know if something is wrong with my stats.

Thanks in advance.
[BetterBatteryStats] jelle2503:
try read the OP and try again:D
[BetterBatteryStats] killian32:
I'm still getting secril_fd wakelock after disabling fast dormancy (throught *#9900#, I'm on a Galaxy S II and also throught GM Fast Dormancy Toggle). I thought that disabling FD those wakelock must disappear.

I've also blocked some app (like facebook) with DroidWall but still get wakelocks (related to data transfer ?) The only way to remove those is to uninstall app?

Screen was on for 10 mins but I have about 2 hr of awake.
[BetterBatteryStats] gigeaky:
fully charged it last night, didn't touch it all night long :victory: and this is the result. i see that it is wlan_rx on top and maybe some could help me out with this one would be great. Also can you guys spot any drainer and help me with it?

Thanks in advance!
[BetterBatteryStats] moollar:
Update 3

Thanks for your response. :)

Turning off WiFi definitely helped. Massive difference in my latest BBS dump (attached). I feel like I'm treating symptoms though, not the cause. I may have to root to get more info?

As for last night, I was going to use BetterWifiOnOff at first, but found that it would not turn my wifi off unless I changed the setting to when screen on instead of when unlocked. I also noticed that when I turned my screen back on, the Wifi and/or H+/3G icons were "frozen" (i.e. they seemed stuck, indicating either constant or no traffic when this was not the case). Often the H+/3G icon would not disappear when the Wifi took over. Sometimes turning the screen off and then on again fixed this, but not always. It worked usually only if I turned the screen back on straight away (before the wifi was turned back off again). I turned off BetterWifiOnOff and tried to do the exact same thing using Llama. It worked the same way as BetterWifiOnOff (only Wifi was turned off straight away - no delay after screen was turned off), but also had the same problem with the icons. Weird.

So, tonight, I'm going to try again with these programs not turning off Wifi, but have the Wifi sleep policy set to "Never".

I've also seen Karpfenhai mention cleaning your network. Is this what you are referring to when you say that changing the policy can't protect against incoming traffic? I guess there might be something broadcasting on my home network if this is the case. If so, do you have any suggestions for tracking this down? The reason I wanted to try with the policy set to Never is because that is what my wife has set on her phone and her battery level has been doing ok overnight.
[BetterBatteryStats] TechXero:
Ok I know today is Sunday but my question earlier hasn't been answered yet so here's another! Yesterday I got 18h overall with 6h15 screen on but today same settings no change barely 1h screen on so far n 5h overall n am already down to 67%! Am gonna generate yet another Dump file only this time during regular usage to see who the culprit is during that time coz as am typing this I just lost 3 %...

Be back in a couple hours!
[BetterBatteryStats] issy_i:
Okay guys i really need some help. i have a wakelock "PowerManagerService" and cant get rid of it. I did a clean install with all the wipes and formats. when i check in partical wakelocks is says "ConnectivityService"

everything is off like gps/wifi/data.. i even removed my battery for like 10 min but still no luck. everything was fine before, i havent installed any other new apps or change something else within the settings
[BetterBatteryStats] danielo:
HELP needed with analyzing BBS log

Hi,

can anybody help me to figure out what is the bigest battery drainer, please? Over the night I lost 13% in 6 hours even if I have turned of wifi,data,autosync...

Thanks in advance.
[BetterBatteryStats] chamonix:
This is definitely better, congrats!

Of course you are healing symtoms, the cause are dirty networks and filters that triggers awake of your phone from the IP stack. I wrote BetterWifiOnOff because I feel that all these causes can not be healed as you don't control every access point.

If you have questions or suggestions about BetterWifiOnOff there is a specific thread here at xda.
[BetterBatteryStats] Khoral:
These don't seem to be on my phone. I think (but not certain at 100%) that I unchecked them while installing my ROM (Omega v31 for the S3).

I think I found a solution tho (at least, I don't have it since yesterday anymore).

I used Autorun Manager, and looked to the Google Framework Service, and unchecked anything with the text "SystemUpdateService" in it.

In case it would help anybody :)
[BetterBatteryStats] killian32:
Any hint?
[BetterBatteryStats] 08freaky:
Just wanted to say thanks to the writer of this program. Thanks to this program I managed to find my problem.

The problem was that my galaxy s3 wouldn't go to sleep sometimes. It turned out to be lightflow keeping my cpu at 200mhz and it had tons of alarms in the alarm manager.

I went from 3% per hour to 0.5% per hour.
[BetterBatteryStats] issy_i:
Here are 2 pics please help

this is from yesterday

and this one from today after reflashed my modem
[BetterBatteryStats] Karpfenhai:
Can't find the dump..

Tapatalked from my Samsung GT9100

---------- Post added at 12:04 AM ---------- Previous post was at 12:00 AM ----------

Location services plus tasker are your main problems, furthermore modem and kernel, if you want to save Energy and don't use dual ROM, you should resign siyah kernel.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] issy_i:
Sorry i dont have it now, i will charge my fone now and then post dump tomorrow:good:
[BetterBatteryStats] moollar:
Update 4

Thank you for this fantastic program. :D

After changing the WiFi sleep policy to Never and not using BetterWifiOnOff or Llama to control the Wifi, I was able to produce results similar to my wife's phone, which is still pretty good (see attached BBS dump).

After this latest dump, I've now decided to uninstall the Weatherzone widget that I had running to see what difference this makes. Either way, my battery drain is much better now in sleep than it was before, despite not turning WiFi off completely (at least, overnight when I have Sync and mobile data turned off by Llama, which is when I'm taking the readings).
[BetterBatteryStats] haarsh:
Hi,

I am new in terms of using BBS. I have it installed and recently finished charging my vibe. later I let the phone lie down. But, I have some calls since I haven't put it on offline mode. So, If I want to take a dump how is it done. The phone wasn't idle all the time. Will it be a problem ? OR how can I take a successful dump. Can I keep the phone IDLE at anytime after charging for 1-4hrs.

Thnx
[BetterBatteryStats] gigeaky:
Well you can leave it over night to make sure you aren't disturbed and you can leave connections on so you can see if wlan or anything else is causing drainage

Sent from my Slim (ICS) SGS2 using the microwave oven
[BetterBatteryStats] killa_byte:
Can someone help? My battery life is draining quicker than before and I'm not sure why? i'm running Resurrection Remix ICS 2.6.1, Kernel - 3.0.32-CM-g60af3e5

here is the dump file

http://db.tt/MPgUTpt2

http://db.tt/YEIk0Atn
[BetterBatteryStats] Karpfenhai:
Please post an idle dump, read the OP and Post 3 how to do so, thx!

From what i can see your wlan might be a culprit.
[BetterBatteryStats] kevindd992002:
Does this work with JB?
[BetterBatteryStats] drahmed86:
sure

---------- Post added at 04:45 PM ---------- Previous post was at 04:42 PM ----------

am using jellybean 4.1.1 note 2 and i have aproblem with a kernel wakelock called battery monitor,,,, what's it about???
[BetterBatteryStats] luizlee86:
Just doing what you said, I'm already seeing a great improvement!

When I be able to just leave the phone for a couple hours, I'll generate another log file!

Thanks a lot! :laugh:
[BetterBatteryStats] killa_byte:
i dont really understand the OP or Post 3, does idle dump mean after taking my phone off charge, not touching it for 4 hours and then making a dump file?
[BetterBatteryStats] issy_i:
View attachment BetterBatteryStats-2012-10-29_175716563.txt

I hope you can help me
[BetterBatteryStats] Karpfenhai:
Yes Sir, exactly ;)

---------- Post added at 06:46 PM ---------- Previous post was at 06:44 PM ----------

Lol, thats perfect man, you didnt loose a single percent ;)

Take a longer reading (Overnight) and post a dump then ;)
[BetterBatteryStats] umermajeed:
Deep sleep has been messed up recently on my device. Anyone care to take a look at the logs?
[BetterBatteryStats] xerigen:
Ever since I upgraded my Sprint Galaxy S III to the official JellyBean, my phone has not gone in to deep sleep at all (0%). msm_otg is wreaking havoc. Dump attached.
[BetterBatteryStats] nfribeiro:
Thank you for this awesome program.
[BetterBatteryStats] chantoine:
This is not an idle dump...
[BetterBatteryStats] Karpfenhai:
Thx Chantoine .... New dump, dont touch the phone before taking it..

Since this is a kernel caused wakelock i would ask your kernel dev for a clue, it seems the USB Highspeed driver goes wild. If youre not connected to an USB device.. it could be an app, but i would point to the kernel.. wrong library embedded?

This driver implements Session Request Protocol (SRP) and Host negotiation
Protocol (HNP) described in On-The-Go (OTG) Supplement to the USB 2.0
Specification. It also provides support for Accessory Charger Adapter (ACA)
defined in the Battery Charging Specification 1.1.

These protocols provide a means for USB host devices to intelligently manage
power on VBUS and USB peripheral devices to become the host when paired with
another OTG device.

Try another kernel..
[BetterBatteryStats] issy_i:
Im sorry here is a new one, i havent touched my fone for like 6 hours now and I'm wondering why my "AlarmManager is so high? and i always get that "ServiceManager" and "ConnectivityService"I didnt have these wakelocks before

View attachment BetterBatteryStats-2012-10-29_230229959.txt

View attachment BetterBatteryStats-2012-10-29_230249404.txt
[BetterBatteryStats] Karpfenhai:
Your dump looks perfectly fine, there its nothing to worry about!

You could disable GPS and google backup to obtain more, but a deep sleep rate above 95% is really outstanding.

enjoy your smartphone! :thumbup:

Tapatalked from my Samsung GT9100
[BetterBatteryStats] issy_i:
Yup but the thing is i havent touched my phone and still a 5% battery drain in like 6 hours :( my GPS is off, and please tell me why is my AlarmManager so high while the fone is standby?

But i will make another BBS log tommorow and this time i will let my fone alone for like 10 hours, thanx for the help :good:
[BetterBatteryStats] ddc87:
Hi all!

So, my problem is that the phone (almost) never reaches deep idle.

Here's the dump. Wi-Fi, Bluetooth, GPS, 3G are all off...