yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] jeremysherriff:
Your cellular reception is crap, these wakelocks all stem from dropped data connections and reconnections.

If you can, drop back to 2g/gprs when you are not using data actively.

Also look into changing modems/basebands, a different kernel won't help but a different radio might.

---------- Post added at 12:59 PM ---------- Previous post was at 12:55 PM ----------

I was thinking about this, the logic is simple (if cust ref exists, display, otherwise use default stat type) and the explaination should be OK: Please choose a default statistic type to display. When you set a custom reference, then that will be displayed instead.

You'll need a "clear/delete custom reference" option.

And voting fucntion: Use facebook ;)
[BetterBatteryStats] lhooipg:
Dear Sir,

In BetterBatteryStats, under Other and Since unplugged, I got:

1) "No or unknown signal"

2) "No Data Connection"

has been going on since the start of BetterBatteryStats and my phone can't go to deep sleep 100% or 99%

What does this mean? Is this draining any battery?

Thank you.
[BetterBatteryStats] jeremysherriff:
The wifi sleep policy doesn't seem to work consistently - I notice mine never turns off (Galaxy Nexus, 4.0.4 IMM76D & 76I). But my other phone (Sony Ericsson Xperia Ray, 4.0.3) turns the wifi on and off with the screen just fine.

On 4.0.2, the Nexus would work fine.
[BetterBatteryStats] gaui:
I can't see anything wrong. You get 9h/91% deep sleep and 21m awake and 18 screen on. I think you're ok.

How is your battery life?
[BetterBatteryStats] jeremysherriff:
+1 to some of this request - recording battery % (and mV?) levels at the "unplug" event and when setting a cust ref (charged is obviously 100%, but you could record actual anyway, I know that was a source of potential problems a few weeks ago) and then also recording the same value/values at the time of the dump.

That would help add some context for some of the dump files - people that have thousands of kernel wakelocks may not actually be losing much battery (my wifes phone, for instance - thousands of sony "fastdormancymanager" wakelocks but she only loses 3% in 8 hours of idle).
[BetterBatteryStats] lhooipg:
My battery life is ok but just that its draining quite fast and just curious why this 2

1) "No or unknown signal"

2) "No Data Connection"

is occupying 100% when I off my WiFi & Data during sleeping...
[BetterBatteryStats] bsoplinger:
I have a problem with the widget. Since I've only been using it a week I thought I'd try all 3 widgets and decide which I liked best. As you can see, value doesn't seem to be the correct thing to display. Transformer 101 runs ICS 4.0.3

Sent from my Transformer TF101 using Xparent Purple Tapatalk 2
[BetterBatteryStats] steve austin:
high drain after deep sleep

I have switched to a new kernel for my Sensation (anthtax) and i am happy to report that at the initial unplugging of the phone I get great standby time. For example, the stats that I am posting today, I got 4 + hours on standby and remained @ 100%. I also recalibrated my battery with an app. Now, instead of very high mA readings, like i got before, I am usually under 10 while unplugged (which is what I had expected from the start).

BBS has helped me tremendously. However, I have one lingering issue. It seems like as soon as I touch the phone to perform a function it never returns to the standby state where the battery sips at a low clip again. It goes into an accelerated decline.

Attached are 2 images and 4 bbs history dumps. 2 dumps are from when I unplugged the phone @ 11:47 pm - 4. I got zero drain. 2 dumps from around 7 am. (I woke the phone up to check mail and check texts for my experiment around 4). 2 screenshots from battery monitor widget pro. You can see that from 11:41 - 4:13 I was @ 100% an very low mA use. From 4:30 - 7 am - while in standby again - the battery drops to 95%?!? This is where the confusion comes in. Is there anything in my bbs dumps that explain where the drop off is coming from? Once I figure out why it does not go back to deep sleep again I will feel better a little better. Thanks in advance.
[BetterBatteryStats] jeremysherriff:
Posta complete dump file, we'll take a look.
[BetterBatteryStats] itandy:
Can anyone help to take a look at my dump file? I previously have excellent battery life with my phone until recently. It used to consume only about 1% when idle. But now it takes 3-4% when idle. But sometimes after I put it into the charger for a while, it can restore back to the 1% consumption behavior.

Any comment is highly appreciated.
[BetterBatteryStats] lhooipg:
here you go...hope you can help....
[BetterBatteryStats] chamonix:
Good idea, I just will have to look into the api: https://github.com/asksven/BetterBatteryStats/issues/169
[BetterBatteryStats] chamonix:
The 'no or unknown signal' just tells us that the phone can not report connectivity properly. As this feature is experimental there is nothing to worry about.

You deep sleep is about 91%, you need to look into wake/sleep/screen on and into the wakelocks to find the cause.
[BetterBatteryStats] chamonix:
It looks like the widgets don't have any data to display. What reference have you set for the widgets? Does bbs show data for that reference selected?
[BetterBatteryStats] chamonix:
Your phone is running pretty well with over 90% of deep sleep. From this run the awake - screen on time was 13 minutes, most of it cause by mobidia (awake and wakeup every 5 minutes) and facebook
[BetterBatteryStats] lhooipg:
Hi chamonix,

Thanks a lot for the help...now will need to figure it out how to disable the very 5 minutes wakeup specially for FB....

TQ....
[BetterBatteryStats] Karpfenhai:
Just dont use FB, use 3rd party app instead, many users are reporting good things about friendcaster.
[BetterBatteryStats] lhooipg:
thanks for the suggestions, will take a look at this app later....
[BetterBatteryStats] mzaur:
My i777 is running AOKP and Siyah kernel.. since flashing the kernel, have weird behavior where BBS resets everytime I reboot the phone (both unplugged and charged).
[BetterBatteryStats] killian32:
Can someone help me to reduce battery drain of my phone ?

Here is the dump of BBS
[BetterBatteryStats] KeesStolk:
I like friendcaster, but it's a third party app and when friends have third party app disabled, you will not see them or get messages and so on from them.

Making this great app kind of useless in my opinion.

Try the free version before you buy...
[BetterBatteryStats] KennyLegend:
How do u disable third party app?
[BetterBatteryStats] KeesStolk:
Here is the "problem" why i don't use Friendcaster any more:

http://friendcaster.uservoice.com/f...7-not-everything-is-showing-up-in-my-newsfeed

Sorry Chamonix for this offtopic.
[BetterBatteryStats] dimebagdan65:
I fixed your post lol

j/k

:thumbup::D:beer:
[BetterBatteryStats] chamonix:
The 7am reading clearly shows a high activity and 30% of awake time. There are multiple partial wakelocks that you certainly want to take care of in a second step (starting with JD) but the biggest awake is mediascanner that kept your phone awake for 23 minutes in two runs. Now it isn't clear to me what causes the mediascanner to run for so long:

- a faulty SD / partition

- a music player forcing the scan of a large music collection (or a gallery forcing the same); I see you have doubletwist so it may be good to start there

Once you have that under control there are plenty of other potentials but the big picture will lokk different so we should go from there
[BetterBatteryStats] chamonix:
What do you mean with "resets". Can you provide a logcat?
[BetterBatteryStats] chamonix:
Task is causing a lot of overhead: do you use location based profiles

Get rid of JD

Turn wifi off when you don't use it

Once taken those actions please repost a dumpfile
[BetterBatteryStats] bsoplinger:
I was using the since charged and the bbs app itself shows the data. Interestingly I rotated my tablet to portrait orientation today, something I almost never do normally, and when the screen redrew everything the data showed up. And still was showing when I rotated back to landscape.

Its almost as if the widget isn't updating. I'm on ICS 4.0.3 using Apex launcher of my transformer. I know that when you rotate the device Android actually destroys and recreates everything which fits south my idea that updating doesn't happen.

Sent from my PG41200 using Xparent Purple Tapatalk 2
[BetterBatteryStats] chamonix:
That looks like a very promising tip. I will frab my transformer this weekend and try to reproduce: https://github.com/asksven/BetterBatteryStats/issues/170
[BetterBatteryStats] jeremysherriff:
Lol I love it

Except, so far, only one person I know uses G+ and he's not what I'd call a "friend", just a guy I used to work with. But at least yes I have a logon to be able to vote, if I *had* to use G+ ;)

---------- Post added at 08:38 AM ---------- Previous post was at 08:33 AM ----------

Yeah agreed, I'm still using FriendCaster but finding these specific "issues" to have a slightly different effect - it has (negatively) changed the FaceBook experience so much I find I use FB less and less as a result - battery life has never looked so good :D
[BetterBatteryStats] chronophase1:
Doesn't seem like I have any massive wakelocks. But I'm still trying to figure out why my battery loses so much while idling. The phone wakeups seem to be my issue as of right now. Any ideas?
[BetterBatteryStats] mahercs:
Ok, so I don't know if this is normal or not, but I am constantly getting alerts from Watchdog that the suspend process is eating through my cpu above my set limit (30%) and I have to believe it's resulting in battery drain. I have attached 4 BBS reports that I took immediately after the alert occured. Can someone please review them and let me know if I have an "app gone wild" that I can terminate? I can obviously whitelist this process if it's normal, but I just need to understand why it's happening so frequently. If you need a better dump with no activity, I can do that too. Just let me know.
[BetterBatteryStats] jeremysherriff:
Seems a bit of a bug here - your dump covers 5h 31m but you have over 7h of deep sleep time. I'm going to suggest that the rest of the figures can't be relied on.

Reboot with the phone plugged in, then unplug the charger while the screen is on. You should see an SU notification that BBS has been granted superuser access (as it detects the charger unplug event and does some magic stuff) - then let your phone idle for 2h or more. Take a dump file, using the "since unplugged" view. Check the dump file contents before you post it, if you have similar weird issues then @chamonix will need to try to reproduce it..
[BetterBatteryStats] chronophase1:
Yeah. I think it may be because I got the file after I charged it. I can give it another whirl. Thanks.
[BetterBatteryStats] gaui:
Hey guys, can you see what's wrong?
[BetterBatteryStats] jeremysherriff:
OK, comments based mainly on "BetterBatteryStats-2012-05-08_083657834.txt", as it has a low screen-on time so most stuff is background process.

I don't know Watchdog so am guessing at stuff, based on the dump file.

I guess you've noticed that "suspend" desn't show up anywhere in the logs. So i am guessing but I believe this is going to similar to a syncloop or other suspend wakelocks we've seen, which are kind of like stalled data connections that are waiting for data channels to be established - like wifi connecting after waking from sleep, or switching from wifi to 3g (or back to wifi). The other concept would be an awake that is now waiting for the processor to ramp up.

I think the reason "suspend" doesn't show in the log is that it gets "converted" (?) to a named wakelock once it manages to do the work it wants. There's also the possibility that it is the "deleted_wake_locks" you can see in the dump files.

So, some questions;

are you using an aggressive cpu governor, under-volting, or using a hot-plug kernel, something that would account for waiting for the hardware to ramp up before some process can start working?

Are you using a really aggressive min cpu clock speed?

Does your wifi go to sleep? the log indicates no, but then this is not 100% reliably logged.

I'd recommend making a normal BBS dump file, one that covers an idle period of about 2h since you unplug from the charger (rather than one as a response to a Watchdog alert). Maybe the deleted locks will show better in that situation.

Given the random nature you describe, i'm going to gues that it is more to do with stalled/reestablishing data connections than anything else.

HTH..

---------- Post added at 12:55 PM ---------- Previous post was at 12:43 PM ----------

It's a bit of a guess, because it's over 24h of dump (so includes all your daily usage, huge screen-on time) and many of the wakelocks have been converted into "deleted_wake_locks", but...

It looks to me like a data connection was attempted, and the crap cell reception caused the wake to continue ather than end. I can't see any specific app, so the app itslef may have timed out but left some sort of kernel lock in place? The "processes" part of the BBS may have had something, it might have been foreground rather than background.

The "umts_ipc0" kernel wakelock is a cellular/3g data connection, which backs up my stalled data theory, as does the "gprs-data-stall" alarm.

In terms of screen-on time, 2.75 hours seems huge to me - I don't think I have ever got more than 1.5h.

A shorter (2-4h) dump file across an idle period (less than 5m screen-on time) would help, but I guess this isn't a "normal" scenario.

On another note - letting your Li-Ion or Li-Polymer battery go to zero regularly will f@ck it quickly and completely.
[BetterBatteryStats] mahercs:
Thanks for the feedback...

are you using an aggressive cpu governor, under-volting, or using a hot-plug kernel, something that would account for waiting for the hardware to ramp up before some process can start working? No I am not

Are you using a really aggressive min cpu clock speed? No

Does your wifi go to sleep? the log indicates no, but then this is not 100% reliably logged. I have it set to never sleep when I am at home and connected

Watchdog is a CPU monitoring app that can tell me what's doing what at any given time. It will alert me to any processes or apps that exceed the limit I set. I took these dumps right after the alerts thinking maybe it would be evident, but apparently that's not the case.

Also, I rarely am not connected to some network. I have good 4G coverage at home (in the rare case I am out of wifi range) and great reception at work. No idea why I would have the stalled data connections. I've also read/heard that the stock kernel I am on (2.6.35) has a known bug that only affect some users, so once I get to ICS, I am hoping it will just go away.

In any case, I will post a fresh, non-interrupted dump tomorrow and hope you can find out what's happening.
[BetterBatteryStats] gaui:
Thanks a lot mate for the answer. :) As for the cellular/3g connection, I flashed KPA modem (was LPQ), hope I get better results. But I will post another dump when phone is idle for some amount of time. ;)

Thanks again! :)
[BetterBatteryStats] chronophase1:
I think my main concern are the data stalls, which I've seen posted in this thread before, but there doesn't seem to be any solution. The phone properly sleeps and my awake and screen on bars are pretty much dead even. I'm starting to think its my battery or hardware(how does this even happen?).
[BetterBatteryStats] jeremysherriff:
Repeatedly letting the phone drain to 0% and/or leaving it on the charger for hours after it is charged, can both lead to reduced battery life. As can overheating.

My biggest concern with your dump file was the mismatch between the dump file time and the amount of deep sleep - it can't sleep for longer than the file time covers! So there is some maths issue somewhere in BBS.

You're partially right about the data stalls having no solution, two things that come to mind are: a) identifying which app has the problem - it might be a poorly coded app, or it might have poor back-end servers, and b) improving coverage by dropping back to 2g in known areas of poor 3g (I do this, my work has poor 3g coverage).
[BetterBatteryStats] panooos:
Not having particular problems with my battery drainage, at least i think so. Lasting one day with medium to heavy usage (no games though) . Noticed that (Bluetooth on) though on general stats. I had not blouetooth on...Is it normal to be there?
[BetterBatteryStats] Karpfenhai:
2 mins additional wakelocks in 4 hours with bluetooth enabled is pretty good, your dump looks quite perfect ;)

For my understanding you should not have lost more than 5% Battery during this time.

If Bluetooth is idle but powered on the chip may suck some power, about how much drain do we talk?

So general recommendations from my side, search the HTC Thread for a baseband known as battery saving, disable bluetooth if not in use (Llama can do this automatically for you). Maybe undervolting is an option for you too, but in deep sleep it has almost no measurable effect anyway, its only usefull for the time you use your phone.

Good luck!
[BetterBatteryStats] shingo86:
Need some advice on ways to further improve on battery life. Seems phone was awake for ard 30mins during a 6h idle period. A little more info. Battery was charged to 100% n left to idle. 3g on throughout.

http://pastebin.com/G6cPC7qm
[BetterBatteryStats] panooos:
I actually had 1% loss during that time. As i said i have no particular battery drain problems. I just found strange the (Bluetooth on) thingie, since Bluetooth was turned off during these 4 hours, and thought i could ask. Tyvm :D
[BetterBatteryStats] marek.jasovsky:
Cell Standby vs Phone idle.

Hi.

after installing last IceColdSandwich I experience some battery drain, where during the night, 8 hours I lost some 30% of my battery power. further log will follow, as soon as I can prepare it, but I have also one general question.

What is the exact relationship of Cell Standby vs Phone Idle?

in ROM battery stats, Cell Standby is currently at 22% and Phone Idle always 1-2% lower. Screen has actually 55% and Android System only 2%. is it always a rule, that these 2 values are that close? (can synchronizing being turned on with no WiFi / no Data connection be a cause to such drain? I would generally expect, that during 8 hrs sleep battery looses only few percent.

Thanks a lot, Marek
[BetterBatteryStats] gaui:
Here's my new dump (charged and left off charger over night)
[BetterBatteryStats] mahercs:
Alright, sir. Here's a fresh dump to review. I did see suspend appear under the "other" drop down, and it's a long red line. Chamonix may not have captured it in the log, but BBS does report it. Odd.
[BetterBatteryStats] mzaur:
I mean that every time I reboot phone the BBS resets all information and says that phone was just Unplugged.

---------- Post added at 12:53 PM ---------- Previous post was at 12:33 PM ----------

I went back to a previous build of AOKP (this one had other problems as well) and I am getting same issue. I used this previous build for a while before and had no issues with BBS. I am trying previous versions to see...Just installed 1.8.0 RC3... same problem. 1.7.1.. same thing. Damn it, it definitely used to work on 1.7.1.

Wtf? I'm on a fresh wipe and install of AOKP with a version of BBS

which worked fine.. Gah..

Having same problem with Badass Battery Monitor, so it's not a BBS issue.

Here is logcat. Let me know if it's helpful or if you need anything else. I am not sure if I ran it long enough though http://pastebin.com/wNSsjfhq

I just wiped and flash a totally different ROM (TouchWiz based) and having same issue. I'm stumped
[BetterBatteryStats] lsv-1:
I'm having the same problem here with hydrogenics :mad: but I think it happens when I install gapps, so I cannot blame the ROM itself, need to investigate further.
[BetterBatteryStats] lsv-1:
I decided to ask to the experts, here are my dumps, could someone pls tell me what is causing more battery consumption , thank you.

http://pastebin.com/J577SXxu

Sent from my GT-I9100
[BetterBatteryStats] mzaur:
Can you remove that wall of text and paste instead to pastebin.com
[BetterBatteryStats] lsv-1:
Done, sorry about that, thanks.
[BetterBatteryStats] gaui:
I have CM9 (ICS 4.0.4) and XXKPA radio but in BBS log I get this:

What is it?
[BetterBatteryStats] jeremysherriff:
It's just the value of the "fingerprint" variable in /system/build.prop.

The devs put that info there in each rom version.

---------- Post added at 01:01 PM ---------- Previous post was at 12:57 PM ----------

I might be wrong, but I'm pretty sure that is "working as desired". BBS resets its time markers during startup, because the OS clears some of its markers during boot - like alarms. There's no point BBS trying to represent its data back past a boot event, if some of the reference information doesn't start from the same point.

@Chamonix, feel free to correct me ;)
[BetterBatteryStats] NET1028:
File

Hi guys, what can you tell me about my stats,? i will appreciated your opinions

thank you
[BetterBatteryStats] mzaur:
Omg are you serious? I was freaking out because I thought my phone was messed up! LOL
[BetterBatteryStats] jeremysherriff:
Well, your phone is certainly doing something ;)

Since 7 h 1 m 11 s
...
Other Usage
===========
Awake (): 1 h 2 m 48 s (3768 s) Ratio: 14.9%
Screen On (): 18 m 34 s (1114 s) Ratio: 4.4%

First thing: update BBS version to 1.8.1. There's some extra data that it captures (cell signal strength).

Second: I'd question whether you're getting value by having both Viber and Whatsapp. If they're saving you money, fine, but they both do require a good data connection to be active all the time, and if your data connectivity is poor then they (or any other sync/push app) can misbehave. You can see that something has had problems connecting to the cloud here:

Alarms (requires root)
======================
com.android.phone (): Wakeups: 69
Alarms: 66, Intent: com.android.internal.telephony.gprs-data-stall
Alarms: 3, Intent: com.android.internal.telephony.gprs-reconnect.0

I think that the last line in the Whatsapp part of the Alarms section ("Alarms: 6, Intent: com.whatsapp.MessageService.RECONNECT") means that your data connection failed completely and was re-established 6 times over the 7 hours of the dump file.

Overall, there are no clear culprits here that I can see (Whatsapp is always problematic for me though) so I would have to point at poor mobile data coverage, probably as a result of poor 3g cell coverage.

HTH..
[BetterBatteryStats] lsv-1:
Any help pls, need an expert here...
[BetterBatteryStats] jeremysherriff:
This is good:

Since 3 h 35 m 50 s
..
Deep Sleep (): 3 h 14 m 20 s (11660 s) Ratio: 89.6%
Awake (): 21 m 29 s (1289 s) Ratio: 10.0%
Screen On (): 15 m 49 s (949 s) Ratio: 7.3%
No Data Connection (): 7 s (7 s) Ratio: 0.1%
No or Unknown Signal (): 7 s (7 s) Ratio: 0.1%

Barely 6 minutes of unexplained awake time. Any idea how you got no signal/mobile data connection for 7s?

It's all looking pretty good - considering you have several email accounts set up. Did you lose a lot of battery, or are you just checking to see if things are all OK?

---------- Post added at 01:57 PM ---------- Previous post was at 01:55 PM ----------

Maybe you missed it..: http://xdaforums.com/showpost.php?p=25899943&postcount=4958

---------- Post added at 01:58 PM ---------- Previous post was at 01:57 PM ----------

Does anyone know how to stop the forum mashing the various replies together?

:mad: :confused:
[BetterBatteryStats] lsv-1:
Thank you very much for taking the time to analyze my data, I will uninstall whatsapp and install the latest bbs app! Cheers!