yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] jeremysherriff:
kworkers are kernel worker threads. These are generally not an issue unless something goes wrong, and even then you'd never know what it was unless there was some other (more descriptive) wakelock as well. A reboot fixes them, and if they go wrong often, check logcat output, change kernels, or approach your kernel dev.

In regards to the dump file, nothing much is wrong:

Other Usage
===========
Awake (): 5 m 21 s (321 s) Ratio: 4,7%
Screen On (): 52 s (52 s) Ratio: 0,8%

So we're not going to get much more than what you have. The main possibility would be with Facebook. I'm not sure what all the FB (com.facebook.katana) wakes are, do you have a Facebook widget on your homescreen? If so, remove it. Also, consider switching Facebook clients, uninstall the one you have and use something like Friendcaster. It has a lot more configuration options so you can really turn down the frequency of (or stop) the wakes.

Now that BMW isn't waking your phone constantly, I'd be interested in seeing how your battery life is. Take a day or two, do a full charge and see how things go. There's very little in this dump file that gives me concern.
[BetterBatteryStats] Hk.Tang:
Guys, look at my screenshot .. something wrong ?

Deep sleep 97% , 9hours .. 80% drop till 66% .. :mad:

ROM : Remix ics 1.7 AOKP 4.0.4

Kernel : Dorimanx kernel 1.4

Freq range : 200-1500mhz (default by extweak)

Extweak : Battery profile (conservative/sio default by dorimanx)
[BetterBatteryStats] jeremysherriff:
You have some weird sh*t going on, why are some of your screenshots showing 3G and some showing H on the cell connection?

Can you post a dump file of "since unplugged" which covers some time (2h is enough, 4 is better) of your phone completely idle? So.. charge for a bit, unplug it, leave it alone, then take the BBS "dump to file" and post it up.

I suspect you have cell reception issues although your screen shot does not support that ;) We should find the answer in a proper BBS log file.
[BetterBatteryStats] g3ckospy:
Please help me analyze

Chamonix,

Please help me analyze.

Thanks,
[BetterBatteryStats] jeremysherriff:
Hi, your log file isn't complete. Can you please plug and then unplug the charger, and leave your phone idle for a while (3-4 hours) before taking another dump file. Check your dump file before posting it, they should not have this:

Kernel Wakelocks
================
No reference since unplugged set yet (): (0 s) Cnt:(c/wc/ec)1/1/1 100.0%
======================
Alarms (requires root)
======================
No reference since unplugged set yet (): Wakeups: 0
[BetterBatteryStats] chamonix:
Your main cause of wakeup is indeed K9 (see alarms) but the main cause of awake is data traffic (svnet). Now that could be linked to K9 but also to backup (1000+ wakelocks) and there is some potential there. If you do an offline backup with e.g. Titanium you may want to turn your cloud back off. All in all K9 push is and will stay a problem.

Your remark about drain when screen is on: I believe brightness is the main value your can work with.
[BetterBatteryStats] chamonix:
Sorry but I don't have a crystal ball. Please post a dumpfile. Except that you have been using your phone for a while during the time shown I can't tell anything from those screenies
[BetterBatteryStats] chamonix:
Unfortunately there is no reference for kernel wakelocks and alarms so some important data is missing. Please repost a dumpfile after having made sure that all data "since unplugged" is present
[BetterBatteryStats] Hk.Tang:
Just b from work .. 66% drop again to 48% .. Deep sleep bout 96% .. :mad:

BTW, jeremysherriff n chamonix .. here is my bbs log

EDITED : It's Since charged log .. Do you wan a since unplugged log ? As jeremysherriff said

'' Can you post a dump file of "since unplugged" which covers some time (2h is enough, 4 is better) of your phone completely idle? So.. charge for a bit, unplug it, leave it alone, then take the BBS "dump to file" and post it up. ''

EDITED : tomorrow I will post the since unplugged log ..
[BetterBatteryStats] sohebq:
Connectivityservice (android system) under partial wakelocks. What does it refers to?
[BetterBatteryStats] rzat:
Hi all,

would be greatfull if someone could point me in right direction.

im on latest bezeke ICS aokp rom with syiah rc6 kernel

something is keeping my phone awake - for 30min awake i got 5min screen on - not sure whats keeping it awake.

Heres bbs log from just before i went to sleep i used custom ref point and dump a file when awake.

many thanks in advance

btw it doesn't look like kernel related, tryied quite a few.also g.maps and g talk frozen via TB

http://dl.dropbox.com/u/10405889/BetterBatteryStats-2012-04-29_082530936.txt
[BetterBatteryStats] precision07:
Issue resolved

At last my phone battery draining issue resolved after so many troubleshooting on the software issue, the samsung service center fixed it by changing the circuit board, they claim that the circuit board malfunction, not sure how true is it but after came back from the service center the phone just last 4~5days. Thanks Karpfenhai for the earlier attention.
[BetterBatteryStats] suku_patel_22:
Maybe chamonix missed this :)
[BetterBatteryStats] stofke:
Hello,

can somebody look at my dumpfile? I have a lot af awak time on my cpu.

And some process that i don't know what it is.

Thx in advance.
[BetterBatteryStats] riskaa:
Chamonix, did you get the backup from this line:

*backup* (Android System): 2 s (2 s) Count:1052 0.0%

I don't understand how it can be a 1052 count, but 0.0%...could you explain that to me.

I do set my titanium to back up every couple of days, but maybe i should not have it automatically backup to Dropbox...i could to that manually.

Thanks for your comments.

Also, i usually have my screen brightness set to dim even when it is on...which is why i'm so surprised by the quick battery drain.

Anyway, i'll keep investigating.

Love love love your app! It has resolved a lot of battery issues!
[BetterBatteryStats] chamonix:
No I didn't and spent half day trying to reproduce that. What I found:

- boot deletes all references as designed (/data/data/com.asksven.betterbatterystats/files are set to a null serialized object)

- saving a custom ref updates the corresponding file as does unplugging

Unfortunately in my case saving a custom ref always shows proper data as long as I'n not connected to USB. I'm witholding 1.8 because of that doubt and I would be happy if you could tell me what steps are required to reproduce.
[BetterBatteryStats] jeremysherriff:
*backup* in this scenario is Google's backup to cloud system, not Titanium's.
[BetterBatteryStats] suku_patel_22:
I am trying too reproduce, well let you know if I can.

It happened to me after a nandroid restore the first time, well try to replicate it will also try a reboot

Sorry mate unable to reproduce myself

Edit:

Tried every damn thing

After a reboot

Flash another room, do nandroid restore

Nothing can reproduce the same bug

Seems could be a one-off thingy..

let's lay it to rest here

Swyped from my Desire S waiting for Kernel 3, WAKE UP HTC

Sorry for the swypos....
[BetterBatteryStats] g3ckospy:
Hi,

@jeremy or chamonix, kindly have a look at my dump file.

Thanks,
[BetterBatteryStats] jeremysherriff:
How did battery life go over this time? The dump looks OK-ish but a lot of wakes and alarms that look to me like you have had bad data connections. I'd normally associate this with poor 3g data, but some of your wifi counters there might mean that you have been flipping on and off wifi - either manually, or by having the wifi sleep policy set.

Anyway, that might not be an issue - if your battery life was acceptable, then it is "working as designed" - the data connection stalls and then reconnects. If the reason is known (wifi going to sleep, poor cell reception, passing in and out of wifi coverage zones) then it should be fine.
[BetterBatteryStats] g3ckospy:
thanks, so i don't have to freeze or delete any apps? from the wakelocks? im happy actually with my battery life going through a day. it might be because of the poor 3g data that is why im having a huge drain. with regards to the wifi, i haven't use any wifi since most of the wifi signals around my area. i just opened it to check if its working.. :)
[BetterBatteryStats] jeremysherriff:
If you know you have poor 3g data coverage, then yeah that is the majority of the issue and nothing will help much. Make sure to have things set to sync on a schedule rather than push mode, which will limit the amount of time the device spends retrying connections. Maybe even set it to 2g. I do - I have to while I'm at work, or my battery is flat before 5pm :mad: You can always flip to 3g when you need interactive data like web browsing, but I see little need for "fast" data for email and other "background" data transactions.
[BetterBatteryStats] chamonix:
Thanks for taking the time to re-test and for the feedback. 1.8 is packaged and after a few regression tests I will be releasing later today. There are no functional changes to the latest RC, I have just cleaned up the release notes and rewritten the inline how-to, taken new screenies of the widgets. I will of course release the latest version here as well and update posts #1 and #2
[BetterBatteryStats] Hk.Tang:
chamonix , jeremysherriff .. It's my bbs log bout since unplugged & screenshot of today ..

BTW , today feel betterbit , deep sleep 6hours drop 9% ..

no data no wifi , all apps closed ..

Check it out what's problem .. anyway thanks ..
[BetterBatteryStats] jeremysherriff:
Hi, this is not a very useful test -- you turned everything off! There is no way to know what the problem is, if you have disabled everything that can cause a problem!

For your next dump file & test, leave your phone is its normal state - so if you normally have email sync on, leave it on. And all other normal apps.
[BetterBatteryStats] Hk.Tang:
Okies fren , will try it soon and post it
[BetterBatteryStats] riskaa:
Ok..Jeremysheriff and Chamonix...what I think i'm hearing is that I should turn my google cloud backup off, and use Titanium instead (which I'm already using).

Still have a question from the previous post though....was that backup line of over 1000 counts the one you were referring to Chamonix? Could you explain to me why it would show 0.0% when it had those many counts. What am i not understanding?

Thanks so much
[BetterBatteryStats] tycruickshank:
I let.my phone sit overnight and it lost about 7 percent and I was wondering if anybody could take a look at the dump file. Alarm manager seems to account for.the vast majority of it.
[BetterBatteryStats] mrrogers1:
I didn't look at the dump file BUT just wanted to say, if your "overnight" is 7-8hr, you have nothing to worry about, that type of drain is great. :)

Sent from my Evo3D with XDA Premium App (but I still know how to search)
[BetterBatteryStats] tycruickshank:
Thanks so much for the quick response. That's good to hear that that amount of drain is good. I've tried letting it sit overnight with airplane mode on and it will lose maybe one percent so I was wondering if the battery drain here is attributable to the radio working away. Periodically every few hours it seemed to wake up. I'll post a screenshot but maybe this is just normal.
[BetterBatteryStats] tycruickshank:
Sorry took that with the screen filter on.
[BetterBatteryStats] mrrogers1:
Uh, yeah, you are good man. I wish mine looked like that but I'm not worried, 1% per hour is excellent. If power is truly at a premium, then go airplane mode but that looks great.

Maybe it's must me... :p
[BetterBatteryStats] chamonix:
From your sig I assume we talk about 4.0.x.

http://grepcode.com/file/repository.../com/android/server/ConnectivityService.java/

ConnectivityService is responsible for managing your network connection, aka. apn. A wakelocks named ConnectivityService is held when transitions between networks are processed.
[BetterBatteryStats] chamonix:
Turn off wifi when you are not using it and you should get rid of the biggest overhead caused my gsf/maps. Mail is your next problem with 90 wakelocks in 5 hours, means one wakelock every 4 minutes. That is far too high.
[BetterBatteryStats] chamonix:
The total waklock time was 2 seconds but backup caused 1052 wakeups. Considering the overhead of waking up and getting back to sleep it's a huge potential.

*backup* is not related to Titanium but is Android's internal backup (Google cloud service). If you do Titanium anyway you may want to turn it off.
[BetterBatteryStats] chamonix:
Well if you leave your phone in airplane mode it's not likely to do anything and that is what the dump confirms. Except *backup* causing a few wakeups what is weird as there was no data connection there is nothing to say
[BetterBatteryStats] mahercs:
I am concerned with the number of wakelocks I am seeing and the suspend process setting off an alert on Watchdog almost daily. This is my second RAZR MAXX and I am seeing the same results. Any help with the analysis would be greatly appreciated in trying to pin down the app causing this.
[BetterBatteryStats] chamonix:
com.toktumi.line2 wakes up your phone every 5 minutes
[BetterBatteryStats] chamonix:
Release 1.8

1.8 is up and rolling out on google play in a few.

Thank you for all the testing guys!
[BetterBatteryStats] mahercs:
Not sure if this is a bug, but clicking the new small 1x1 doesn't do anything. Is it supposed to open the app?:confused:
[BetterBatteryStats] m4rio18:
hello

Can somebody look at my log. I've problem with my battery. Something block deep sleep mode :/

what is power manager service??
[BetterBatteryStats] gaui:
Finally, thank you so much! You rock!:D
[BetterBatteryStats] chamonix:
com.sec.spp.push.Samsung Push Service is keeping your phone awake.

About your question: have you clicked on the little earth right to the wakelock?
[BetterBatteryStats] chamonix:
The default behavior is "refresh on tap" but it can be changed in prefs
[BetterBatteryStats] m4rio18:
thanks for reply

I read about this service (power manager service)

So "Samsung Push Service" drain my battery?

I've seen this service before and it seemed that there was no effect in discharge battery.
[BetterBatteryStats] chamonix:
This app has kept your phone awake for 4 hours... I guess there is nothing more to say
[BetterBatteryStats] gaui:
Phone On (): 43 s (43 s) Ratio: 0.0%

Awake (): 5 h 26 m 29 s (19589 s) Ratio: 17.4%

Screen On (): 2 h 12 m 2 s (7922 s) Ratio: 7.0%

:mad::mad::mad:
[BetterBatteryStats] bh77a:
To chamonix and all of the helpers, great work!

I would kindly like to ask for help with an issue I am experiencing. The amount of time consumed by wakelocks exceeds the difference between time awake and time with screen on. In many cases in the past, my wakelocks exceeded hours of time even though I was getting really good battery use.

Here's my setup:

BBS 1.8 RC8

Motorola Electrify (aka Photon 4G)

2.3.5

Root, otherwise stock

My BBS export is attached. Any insights anyone can provide would be appreciated!
[BetterBatteryStats] jeremysherriff:
That's a cool story, but completely not useful...
[BetterBatteryStats] gaui:
Hehehe sorry man, but after 1 day unplugged I updated BBS and then dumped to a file, but the "Alarms" and "Kernel wakelocks" were empty so this had to do. I'll bring a dump next time. :p
[BetterBatteryStats] jeremysherriff:
weird, I don't know why it does that, I've only ever had it if I did something like a fresh install. Did it maybe reboot (crash) after you'd unplugged, perhaps?
[BetterBatteryStats] gaui:
Nope, nothing. Just silky smooth update.
[BetterBatteryStats] lordgoata:
Mine was the same, until I plugged it in to charge, as soon as I took it off charge, it started working as expected again.
[BetterBatteryStats] lordgoata:
@chamonix

Noticed a small issue in the dump file:

BetterBatteryStats version: 1.8.0.0

Creation Date: 2012-05-01 08:33:17

Statistic Type: (3) Since Unplugged

Since 1 h 20 m 49 s

VERSION.RELEASE: 4.0.4

BRAND: Samsung

DEVICE: GT-I9100

MANUFACTURER: samsung

MODEL: GT-I9100

RADIO: unknown

BOOTLOADER: unknown

FINGERPRINT: Android/GT-I9100/GT-I9100:4.0.4/IMM76D/901:user/release-keys

HARDWARE: smdk4210

ID: IMM76D

TAGS: release-keys

USER: ar

PRODUCT: GT-I9100

RADIO: I9100BULP6

Rooted: true

RADIO is listed twice, once unknown and once correctly. Not sure if that was an error or intentional, but thought I'd mention it.
[BetterBatteryStats] m4x0r:
since the new update yesterday the red status bars are away... (gingerbread)

does anyone got the same problem?
[BetterBatteryStats] chamonix:
I'm not sure to get what you mean. Could you please post a screenshot?
[BetterBatteryStats] gaui:
Yep same here... both red and blue
[BetterBatteryStats] m4x0r:
u know what i mean? :-D

Gesendet von meinem GT-I9100 mit Tapatalk 2
[BetterBatteryStats] bh77a:
Here's another file that shows an even bigger discrepancy (for lack of better word). During this time (6 hours 55 minutes) my phone went from 99% to 94%.
[BetterBatteryStats] rzat:
thanks for replay,

will try with wifi tonight, but what can i do to reduce mail wakelocks?? I va got two push accounts, exchange and gmial.

exchange syncs mails,contacts and callendar

gmail only emails no other syncs there

much appreciate your help
[BetterBatteryStats] chamonix:
Got it. For whatever reason I still have to analyse the default bar height is not processed properly.

As a workaround go to prefs, make sure "hide graph bars" is unchecked, go to "Advances preferences" - "Height for graph bars" an select a value (10 should be the default but it isn't).

As soon as I have found the reason I will release a fix.
[BetterBatteryStats] Xxxdevilxxx:
Hi,

Sorry of this has been already answered in this thread, couldnt read through all 400+ pages, what does No Data Connection & No or Unknown Signal signify? because i have them at 100% throughout the complete discharge period :/

Appreciate the help. Also if somebody wud be nice enugh to look at my wakelock log and guide me as to what might be the problem for the afore mentioned issues or any app that is messing with the time. Should i post the log here?
[BetterBatteryStats] gaui:
IMO 4 is perfect :)
[BetterBatteryStats] xelra:
You probably have been connected to wifi the whole time.
[BetterBatteryStats] Xxxdevilxxx:
No..coz i checked the graph which clearly shows that the phone is awake while wifi is off...and i implicitly turn wi-fi off after i have used it. (to conserve battery of-course )
[BetterBatteryStats] chamonix:
Ok now this is weird. I have got hands on a GB phone and have been testing and testing that.... the preferences as set to 10 by default and with a fresh install the bars show up properly.

Can anyone reproduce and send me the the file

shared_prefs/com.asksven.betterb
atterystats_preferences.xml

from

/data/data/com.asksven.betterbatterystats

?
[BetterBatteryStats] chamonix:
No need. It seems that not all ROMs deliver valid data (that's why it says "experimental" in the release notes)
[BetterBatteryStats] chamonix:
thanks, issue added: #162
[BetterBatteryStats] jeremysherriff:
@chamonix, a suggestion for the next version? In the 2x1 and 2x2 widgets, could you restrict the data to 3 significant numbers only? The lines wrap if the font size is bigger than defaults.

What I mean is, once the number reaches "days" don't bother showing the seconds counter:

1d 14h 34m = fine

1d 14h 34m 8s = wraps line

IMHO, the seconds become irrelevant for that line, once we are talking about days.

Your thoughts?
[BetterBatteryStats] Napalm Candy:
what is *overflow*?

I have drain battery problem. In the BetterBatteryStats show a lot of use of *overflow*, but what's this?
[BetterBatteryStats] BRKotucs:
Would you be kind to check this for me please. Thank you!
[BetterBatteryStats] gaui:
You have a lot of stuff going on.

Try to remove/freeze WidgetLocker, I found it to be very drainy. Also Beautiful Widgets. Also get rid of this beweather app/widget you have.

Remove Facebook app, it is a culprit. Use FriendCaster instead.

Try to set WiFi sleep policy so that it sleeps when screen is off.

The best way to find a culprit is to remove/freeze suspicious apps that might have sync/cpuload and see if it fixes the problem. Also use "Alarms" in BBS dump to guide you
[BetterBatteryStats] BRKotucs:
Thanks for your help!! I'm gonna for what you're suggestions and will upload another dump tomorrow, maybe you can help me check it again.

Thank you!!
[BetterBatteryStats] omniwolf:
deep sleep in widget

Hi, thankyou very much for this app, i have the paid version from the market and love it.

I did a search and couldn't find any reports about this..

i have started using the 2x1 widget, very cool! however, my deep sleep number is always at 0. all the other values fill out and appear correct, except deep sleep (and i'm definitely getting deep sleep). How can i help you debug this? I have an SGS2, running ICS (LP8).

thanks!
[BetterBatteryStats] Hk.Tang:
chamonix , jeremysherrif

chamonix , jeremysherrif .. please check out my dump file .. see what's wrong on my phone ..

Same case again , 94% deep sleep .. 9hours sleep 35% drop till 16% :mad:

Here is my dump file of since unplugged
[BetterBatteryStats] gaui:
30m awake of 11 hours is goooood!

But my first guess would be gprs-data-stall drain, because ConnectivityService has 741 wake-ups along with gprs-data-stall alarms 100+ counts..

People say gprs-data-stall occurs because of a bad signal, but I think this is a bug in Android base. This has been happening to me on AOSP/AOKP/Sammy and with different kernels and modems. Still haven't found a solution. :(

Maybe I should try to change carrier. :D
[BetterBatteryStats] chamonix:
https://github.com/asksven/BetterBatteryStats/issues/163

Very good idea:
[BetterBatteryStats] chamonix:
Please try a shorter sample time after a reboot. I can only imagine your phone being on for a long time, leading android to report "overflow". After a reboot this should be done, hopefully giving you the right answer
[BetterBatteryStats] chamonix:
You have been listening music for a few hours in that reading, making it hard to read. Friendcaster has been notifying you a large number of times, waking up your phone again and again.

I suggest taking another reading leaving your phone alone for a few hours after unplug
[BetterBatteryStats] chamonix:
There can be multiple reasons for that:

- wakelocks can overlap, leading to sums being bigger that the awake time.

- wakelocks were help while your screen was on

- your kernel is reporting wrong data (if the discrepancy is on kernel wakelocks)

- your userland (batteryinfo service) is reporting wrong data

Do you know if the sources for your rom are available by Motorola? I could have a look
[BetterBatteryStats] mahercs:
I'm not sure I agree with this advice. I'll admit I didn't look at the dump, but I use Widget Locker and Beautiful Widgets and neither puts any stress on my battery,and never have. If BW is set to refresh in very short intervals, that's different, but why do you really need a constantly refreshing weather app?

I don't use beweather or the Facebook app, so can't speak to those, but I have wifi set to always on when connected, which is only at home, and again, no crazy battery drain. In fact, wifi uses less battery than 3G or 4G.