yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] dmarden:
No cpu states in BBS for me either (JB/4.1.1).

CPU Spy is ok.

That file:

350000 98682

700000 47178

920000 8121

1200000 12327

1350000 0

1520000 0

1650000 0
[BetterBatteryStats] bervin:
https://www.dropbox.com/s/xv2efwfedoh93eu/BetterBatteryStats-2012-07-29_050144297.txt

Can someone please take a look.and help me specifically with my alarms.. thanks
[BetterBatteryStats] salleq:
You should post a log with only idle information, according to the log you've been using the phone for 3 hours.
[BetterBatteryStats] Miche1asso:
Yeah, my phone/kernel doesn't support it either. I checked in /proc/net and I could find only this:

sh-3.2# pwd
/proc/net
sh-3.2# cd stat
sh-3.2# ls
activity arp_cache ip_conntrack ndisc_cache nf_conntrack rt_cache
sh-3.2# ls -l
total 0
-r--r--r-- 1 0 0 0 Jul 29 08:54 activity
-r--r--r-- 1 0 0 0 Jul 29 08:54 arp_cache
-r--r--r-- 1 0 0 0 Jul 29 08:54 ip_conntrack
-r--r--r-- 1 0 0 0 Jul 29 08:54 ndisc_cache
-r--r--r-- 1 0 0 0 Jul 29 08:54 nf_conntrack
-r--r--r-- 1 0 0 0 Jul 29 08:54 rt_cache

Any chance the "Network" menu could be disabled/removed when the reading reports an error? Or maybe when selected report an error message explaining why it isn't supported. It took me few days to find this explanation.

Also since this last update the application is non deterministic. I just checked the kernel wakelocks after 7h running and they didn't show up. The partial wakelocks were there, tho. The CPU states sometime they show, sometime they don't. It's hard to give a precise bug report because it really changes all time.
[BetterBatteryStats] bervin:
Roger that sir. Will do that tomorrow
[BetterBatteryStats] Recallza:
Hey I have a question, I upgraded from omega 9 to omega 10 and I reloaded better battery stats and when I check CPU stats it just shows 1 khz

See attached pic img.tapatalk.com/c4cf2cf0-35a5-fd4a.jpg
[BetterBatteryStats] chamonix:
Does "since unplugged" show kernel wakelocks? if not you need to plug/unplug your phone to create a proper reference first, then both kernel wakelocks and cpu states should work
[BetterBatteryStats] Recallza:
Ah that would explain it thanks again for answering me
[BetterBatteryStats] chamonix:
That is correct. Are you certain that you have a valid reference (since unplugged)? If changing to kernel wakelocks tells you that there is no reference yet then please plug/unplug and both kernel wakelocks and CPU states should work
[BetterBatteryStats] greystoke:
Could you have a look at my dump? I'm losing about 10% an hour without doing anything with my phone...

As you can see, my phone is awake for a long time...

I wonder how I can get rid of the wakelocks for Gtalk (I never used that) and the location-service?

Kaitenmail makes a looot of wakelocks too, even after I changed all mail-accounts but one from push to a 6hours-poll.

Another thing is the Kernel Wakelock called "Data5" - i hve no idea what that is :-\

Best regards,

Oliver
[BetterBatteryStats] bervin:
http://db.tt/0lJzTPH8

Guys, don't mind helping me take a look and helping me where possible? Thanks!
[BetterBatteryStats] salleq:
You could change how often your accounts sync. Not much else you can make better. The log looks rather good! How much battery was lost during that time? The newest version of BBS writes that to the log also.
[BetterBatteryStats] bervin:
The thing is I have nothing set to auto sync. So what is causing that? Also,what is the gtalk_reconnect alarm I'm getting so much of?
[BetterBatteryStats] salleq:
about syncloopwakelock: https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/SyncLoopWakeLock

gtalk_reconnect is google talk reconnecting, it happens more when you have a bad signal.You could try another radio.
[BetterBatteryStats] killian32:
Don't know if this is the right forum to post this issue. I'm using tasker to set a custom ref (after the boot) for BBS. The task is executed but custom ref isn't set. Any suggestion ?
[BetterBatteryStats] chamonix:
This is something I am aware of and working on.
[BetterBatteryStats] killian32:
Thanks for your reply. If you need a tester I'm available.
[BetterBatteryStats] :
Updated the dump file. Thought it had a reference set, sorry. Could someone take a look, please? :)
[BetterBatteryStats] Karpfenhai:
It looks not too bad, i would say your drain is network (Data transfer) related.

Did you actually use Ebay during this period?

If no, freeze all autostarts from this app by using Gemini or Autostarts.

Its a known data hungry draining (ever running) app.

Second one K9, maybe poll every 30 mins would be good for you instead of push?

The rest looks pretty good, if it still drains to much for your feelings, try to get an undervolted kernel and maybe another modem (Baseband) driver.

Search your devices Forum for this.

Good luck!
[BetterBatteryStats] sewe:
Screen off gives me weird statistics sometimes

Skickat från min GT-I9300 via Tapatalk 2
[BetterBatteryStats] chamonix:
What exactly is weird in your eyes?
[BetterBatteryStats] sewe:
Don't you think it's weird that the phone had been lying still with screen off for about 10min and screen off says the screen had been on for about 7 min?

Skickat från min GT-I9300 via Tapatalk 2
[BetterBatteryStats] chamonix:
Well it depends. If you took the screenshot right after turning the phone on again it would be, it you used your phone for 7 minutes after turning it on that would make sense. As you didn't give any context in your first post I can not see anything on the screenshot except the figures themselves and there is nothing wrong with them
[BetterBatteryStats] sewe:
Ok i see,i took it right after i turn the screen on

Here's another one,i have been using the phone,turn the screen on/ off several times yet it says this

Skickat från min GT-I9300 via Tapatalk 2
[BetterBatteryStats] Spiralzz:
Chamonix, have you looked into the BBS-keeps-asking-for-root-permission issue? Is there a workaround for it or will you released another update?

Cheers :)
[BetterBatteryStats] Karpfenhai:
It has been answered, just read the thread!

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Spiralzz:
Got it! Will install superuser 3.1.3 to see it :D
[BetterBatteryStats] meaxx88:
Could someone please check this bbs log? My battery life is terrible, so I was hoping someone could see the cause of the problem. Thanks in advance
[BetterBatteryStats] Karpfenhai:
Sorry, but this dump is useless, please upgrade to the most recent version and read the OP for a how-to how to produce a proper dump.

Thx.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] haloeight:
Weirdly this morning I am showing 61% deleted_wake_locks. Haven't gotten this one before - searching here for more info but any quick resolution would be appreciated.
[BetterBatteryStats] truewt:
Hi everyone, am not sure how to interprete some data but how is it possible that deep sleep is 109% while awake is 100% since unplugged?
[BetterBatteryStats] rwelsh09:
I took a quick look at it and I saw this:

""vbus_present" (): 5 h 34 m 18 s (20058 s) Cnt:(c/wc/ec)1/0/0 76,4%"

That means your phone thinks it is being charged and won't allow it self to go into deep sleep.

You either need to only unplug the USB while the screen is on and/or restart the phone after charging it.

This has happened to me and that worked for me.
[BetterBatteryStats] chamonix:
I'd be happy to if you could post the dumpfile
[BetterBatteryStats] dmarden:
Sorry for the delayed response. I'm trying, but unsuccessfully so far, to figure why sometimes the information is there and sometimes it isn't.

Yes, I am sure about having a proper reference/etc. Sometimes the info just isn't there until I reboot, just cannot figure out what triggers it not working.
[BetterBatteryStats] :
Thanks for quick reply. Didn't started it since reboot, so definitely will try this!

Does it help to set up 30 mins poll for 5 accounts by having one account still on push? Need it for one account. :x

Thanks in advance
[BetterBatteryStats] Karpfenhai:
Of course! I've done the same, 2 on poll one on push, causes around 30 mins overhead per day.

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Karpfenhai:
To mammarf, don't use siyah, use phenomenal (5.5) replace lp3 modem with ki4, sign out all location based service, freeze all autostarts from maps.

....and there will be light...

In short, read the thread!! Its all written!

Good luck! :D

Tapatalked from my Samsung GT9100
[BetterBatteryStats] Tungstwenty:
deleted_wake_locks are typically result of having WiFi turned on for a while and later turning it off.

The driver is unloaded, deletes the KWLs it was holding, and those "old" stats are collected with that name for everything that no longer exists so you can see what happened before they were deleted and stopped their activity.

You can find the explanation on the BBS KnowledgeBase.
[BetterBatteryStats] chronophase1:
I understand where all of my alarms and wakelocks came from except dialer. Any ideas on what would cause this?

What's weird is the phone is sleeping normally apparently.
[BetterBatteryStats] hyperbolic:
Hi,

I had stock 2.3.5 with ninpho kernel after cleaning all the bloatware, barley had wakelocks.

Now I moved to RR 2.6.1 Siyah kernel and I have wakelocks I don't know which app I should freeze with TB.

Here is the dump file

Thank you in advance.
[BetterBatteryStats] Tungstwenty:
Hi Sven,

Has anyone already suggested including the functionality of monitoring the ongoing battery level, possibly correlated with the activities going on during those periods?

I was thinking of My Battery Drain Analyzer and how useful it might be to have that sort of visualization mixed with the BBS rich info.

Integrating this progress metering (in particular %/h for each battery tick) would obviously make BBS "better" :D; but the possibility to click on each of the steps and see what happened in that period vs the previous one could also be useful.

The overhead of having this would be greater, of course, but judging by some of the files I had seen when checking the lost refs I'd say about 10K should be enough for each ref, no? And if they're kept in individual files per tick if would make the housekeeping not needing to load the entire data at once just to drop the aging data.

OR ... this could be the motivation you need so start keeping all history in an sqlite DB :laugh:
[BetterBatteryStats] chamonix:
That would be a combination of multiple features already planned:

- first we would need 187 or an extension of it to be able to see data "from/to" and not only "since"

- the we would need something like a scheduler to save references at fixed times

- then we would need something like a management of all those intervals

- and finally we need a neat vizualization

Of course all that needs to happen without too negative impact on the battery. As you know BBS is passive and I am very careful about active monitoring as that tends to impact the environment we are analysing

I created issue #223 for that
[BetterBatteryStats] eNemy-:
Guys, can you please take a look at my dumpfile and tell me if anything is wrong?

I am using Devil kernel.
[BetterBatteryStats] chamonix:
Release 1.9.1

I did an exercise of timeboxing (how many issues can I close and test in 1 hour) and 1.9.1 is the result.

Besides the fixes (see post #2) I have added some more logging to the reference handling. I still would like to hunt the problem some users seem to have with "since unplugged" disaperaring after some time. So please if you encounter this situation provide a new logcat. I got a few already and with the info I gained from there I extended the logging.

I will let 1.9.1 up on xda only for one day and depending on your feedback I will release (timeboxing means less time for tests and I don't want to take chances)

Have fun testing!
[BetterBatteryStats] chamonix:
40 minutes awake in 44 hours, there is not much to say. The only thing weird I see in this reading are quite some wakeups from the stock calendar. Did you have a recurring alert? The stock calendar is known to be sub-optimal when it comes to alerts and reminders and you may want to try an alternative like e.g. business cal

Escept that little thing: enjoy your phone!
[BetterBatteryStats] chamonix:
You dumpfile is incomplete, probably because you didn't plug/unplug after booting or after installing 1.9. This means my answer is incomplete too as I can't look at the kernel wakelocks.

Nevertheless: the biggest awake/wakeup problem you have is exchange (com.android.exchange.Exchange)
[BetterBatteryStats] chamonix:
This dumpfile is useless. Please follow the instructions from the first posts about providing an idle dump
[BetterBatteryStats] eNemy-:
Yes i have a recurring alert but when i use Semaphore instead of Devil, i get like 2 times battery time. But it has other issues.

I have attached another dumpfile that i post 2-3 pages back.

In 5 hours, normally it drains %5 on deep sleep, but with Devil it drains double. Is that normal?
[BetterBatteryStats] chamonix:
For the record: yes I have spend a whole afternoon on that, It is NOT a BBS issue but an issue with different ROMs based on CM10
[BetterBatteryStats] chamonix:
Please provide a logcat together with some details about when you did what. Based on what you say there is no change for me to reproduce. Also an interesting info: does the BBS service run or is there a chance that I got killed by an agressive memory management? (I may need to offer a foreground service if it's the case)
[BetterBatteryStats] haloeight:
Thanks for clarifying. I saw the wiki link after I posted that but appreciate the input. I guess installing sven's new WiFi utility pushed the previous wlan_rx wakelocks I was getting into this category.

Biggest one I'm getting now is sdio_al at around 10%. Uninstalled Samba filesharing as it was throwing a weird message about stopping even though I had not started it, thinking maybe it was causing the SD routine. Doesn't seem to be it so far.
[BetterBatteryStats] Karpfenhai:
@Sven, looks pretty promising, nothing to complain so far, did you improve the event_xxxx handling? It shoes more different values now (maybe just my imagination)..

I never had the "since" issue but i did a reboot too, maybe you should recommend a reboot after upgrading to 1.9.x ?

Regarding the wrong-stats-are-showing issue, some users may not fully understand the difference between opening the app via "icon" vs. widget, therefore see the pics guys:

View attachment 1231961

View attachment 1231962

Hmmm, can't upload pics by tapatalk, will try browser instead..

...Done...

Tapatalked from my Samsung GT9100
[BetterBatteryStats] sewe:
Thanks for answering

Don´t have a logcat for you right now with this problem.

Should i just dump it when I see the problem?

I think you should make it foreground to be sure that it does not shut down, after all, we want it to always be running, sgs3 fills its memory pretty fast and open some memory hungry apps will eventually fill it up so something must be shut down. Is there anything negative with foreground service?
[BetterBatteryStats] nobnut:
At the risk of repeating myself, read the thread. All the information you need is there.

Sent from me to you using stuff
[BetterBatteryStats] chamonix:
glad to hear that you are progressing. No GoSMS does not neet the messaging app to be there / active so I would try freezing it
[BetterBatteryStats] jonny68:
So your usage for the 3 days you say you get are in this thread somewhere right sound ill have a look,that's what im looking to see first and foremost.
[BetterBatteryStats] nobnut:
The thread isn't too long, happy reading and learning :)

Sent from me to you using stuff
[BetterBatteryStats] chamonix:
Release 0.8.4

My internet connection is back so I uploaded 0.8.4, hopefully a better fix for issues #20-22. If feedback is positive it goes to the market tomorrow and we can start working on howto/online help.

Enjoy
[BetterBatteryStats] chamonix:
OT: Who except me read every single post of Pulser's VR threads? ;)
[BetterBatteryStats] nobnut:
Me

Sent from me to you using stuff
[BetterBatteryStats] nobnut:
It's fixed my graph display and the custom ref warning works.

Thank you.

Sent from me to you using stuff
[BetterBatteryStats] jonny68:
Just spend the last hour or so reading 43 pages :eek: some very useful information alright fair play Nobnut you always seem to be on hand to offer assistance to people, so anyway here is a screenshot of my wakelocks,does anything immediately spring to mind that i need to address?

Just for the record i am still open to the suggestion of freezing and testing battery life minus Juice Defender Ultimate.
[BetterBatteryStats] nobnut:
Hey Jonny,

I have to go out now. But I will give you a proper reply tomorrow with whatever I can suggest. Hopefully other people will also.

It does sound like you are getting good battery life already... it is easy to become paranoid about it. Just remember to enjoy your phone also! :)

Have a good evening, until tomorrow.

EDIT: The partial wakelocks and processes you recorded appear to be showing for only a short period. How long had you had BBS installed when you captured those screens?

Maybe run the phone normally for a couple of hours and then post your screens.

Anyway, I've got a beautiful girl waiting for me now. Gotta go, be back tomorrow!

Sent from me to you using stuff
[BetterBatteryStats] ithehappy:
The naming is weird. BetterBatteryStats! It should be Better Battery Stats.

Couldn't find it on Market as I searched it with spaces.

Regards.
[BetterBatteryStats] jonny68:
OK cheers Nobnut i shall be back online properly on Monday i have a rare weekend out drinking/getting wasted with my mates,when you have a 2 year old son you don't tend to get out much:D

cheers
[BetterBatteryStats] peterbonge:
#21: Now the graphs are looking like they should if I set the height to 8.

#22: Seems to work like it should.

I found another bug: If I enable or disable "Hide graph bars" the diaply doesn't refresh. I have to scroll up&down a little or use the refresh option.
[BetterBatteryStats] RampageRR:
Whoops, wrong thread. Pls disregard.
[BetterBatteryStats] zenosteam:
very useful apk thanks keep the good work
[BetterBatteryStats] LondonGemini:
Morning,

I had a look through the thread as suggested and i still havent found a solutoion to my battery drain issue.

I have atached this mornings screen shots and a sysdump file. Can anyone please help

thanks
[BetterBatteryStats] ebliss:
hi, might be another bug in 0.8.4. after choosing menu -> custom reference, if I were to press either the menu or back key, I get a prompt about losing the custom reference. having it for the back key is a feature. having it on the menu key is a :-)
[BetterBatteryStats] nobnut:
Looking at your screenshots, it is hard to say what is going on with your device. If you could also post a battery usage graph, it could help get us started.

Looking at your statusbar icons, I can say that you have way too much monitoring and battery 'saving' rubbish going on. There really is no need for it. If you think about the fact that every system process or service you have running is using battery, then less is more. Juice Defender simply turns stuff off, you can do this by yourself.

Anyway, screenshot 2 shows network-location-cell-update as causing 1,284 seperate wakes (but only 15 seconds of wake). That is nuts, one of your apps is going crazy polling for location updates.

Screenshot 5 gives a classic lesson with regards to the benefits of preventing apps' autostarting. Ebay? Do you need it running 24/7? If you stopped it autostarting then you could run it when you want and then stop it from running when you don't want - battery saving right there! (See my earlier posts in this thread about autostart permissions)

Screenshot 6 provides an example of installing uneccessary cr@p on the the phone. Do you really want or need the Go SMS emoji plugin? It is causing you wake and therefore battery drain. If you want it fine, if you don't... show it the door.

And Ladies and Gentleman!! We have a winner!! The award for top partial wakelock heavyweight champion of Jonny68's phone is... (cue drumroll)...

JUICE DEFENDER!!!111eleven111!!

Yes, screenshot eight shows your 'battery saving' app caused an impressive 9 minutes and 16 seconds worth of wake. It also woke your device an astonishing 2,596 times! I don't want to say "I told you so"... but I did :p

Anyway Jonny, if you can post your battery usage screen and your 'running services' list (which I bet is a million miles long). I will be able to help you further.

Also do your self a favour and ditch all of that system monitoring and battery saving cr@p. You will get at least 5 hours more from your battery I bet :eek:

LondonGemini,

Your BBS stats don't give a clear clue as to what is causing your wake. A couple more runs might shed more light on the problem.

What I would do, if I were you is after I noticed a period of wake, go into the 'running services' option in Settings > Applications > Running Services and see what is running. Something is not allowing the phone to sleep. You should see a pattern after a couple of tries.

You could also turn your wifi off if you don't need it when the phone's screen is off.

Confirmed.
[BetterBatteryStats] chamonix:
Thanks for testing and for the feedback. New bug (refresh after changing prefs) added, it will be resolved in the next iteration
[BetterBatteryStats] chamonix:
looks like I will release another fix sooner as planned. Thanks for letting me know.
[BetterBatteryStats] itsLYNDZ:
Does anyone get anything from this? Dropped about 30% while not using it.
[BetterBatteryStats] sewe:
com.facebook.katana (): Wakeups: 970

I´ve uninstalled facebook because it´s a batteryhog
[BetterBatteryStats] itsLYNDZ:
I wish there was a way to freeze it when not in use, without using TB.
[BetterBatteryStats] superbobup:
Try looking at Autostarts. I'm curious to see if disabling everything under Facebook would still let you use it (I'd test it but I'm FB less for a while :cool:)
[BetterBatteryStats] itsLYNDZ:
Its disabled in Autostarts, but once you open the app itself it will keep running in the background. Needs something to end it and freeze it and other apps until they are opened again.
[BetterBatteryStats] truewt:
Hi,

Here's a dumpfile (sorry noob at producing it, I ticked every item)
[BetterBatteryStats] sewe:
You have a lots of things going on but this is the worse

*backup* (Android System): 14 h 22 m 24 s (51744 s) Count:1039 93.0%

Uncheck google backup in settings - backup and reset
[BetterBatteryStats] superbobup:
Ah what a shame...you can always try Friend caster or Faster for Facebook. Or, I suppose you could do the freeze/defrost method of TiBU
[BetterBatteryStats] Tungstwenty:
Is this an Olympic record?

*backup* (Android System): 14 h 22 m 24 s (51744 s) Count:1039 93.0%

This is related to the Google cloud backup. I'm not sure if there's an underlying problem with it but if you have TB or another backup option, turn off the cloud service.
[BetterBatteryStats] truewt:
Hey thanks for the quick replies, what are the other processes going on that I should pay attention to?
[BetterBatteryStats] sewe:
You might wanna check out the settings for these apps and sync options

Battery Monitor Widget Pro

Plume for Twitter

Whatsapp

Enhanced Mail

Calender

Maps - are you using lattitude?

Check in menu Settings > Location services and disable all options. Enable GPS only when you need it.

ccc71.bmw.pro (): Wakeups: 198

com.levelup.touiteur (): Wakeups: 187

com.google.android.apps.maps (): Wakeups: 131

com.whatsapp (): Wakeups: 112

com.qs.enhancedemail (): Wakeups: 89

com.android.providers.calendar (): Wakeups: 86
[BetterBatteryStats] chronophase1:
Edit: Nevermind.
[BetterBatteryStats] chamonix:
Yes, logcat after the event occured, it will go back enough to have the history.

I will add an option (pref) for foreground service
[BetterBatteryStats] chamonix:
No I have made no change to BBS or to the Common lib. Glad it's better ;)

And thanks for the next FAQ candidate.
[BetterBatteryStats] chamonix:
Due to the very unbalanced picture of the profile (on cause for you device to be 100% awake) there is no way to tell. Once you have fixed Google backup retake an idle dump and post again