yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
No change to stable so it must be logging. Glad it has such an impact.
[BetterBatteryStats] chamonix:
Does it reproduce? If yes logcats with debug would be helpful.
[BetterBatteryStats] MetalG:
How do I get a Dump? i can only enable or disable dumps, but where are they :confused:
[BetterBatteryStats] chamonix:
That's a pretty good starting point: https://github.com/asksven/BetterBatteryStats/issues/359
[BetterBatteryStats] chamonix:
Please read the FAQ in post #3
[BetterBatteryStats] chamonix:
Well a background check would wake your phone up to perform so you should be aware of that when chosing the frequence. Except if you have bad network coverage (reconnects) going below 20 minutes would be conterproductive compared to IMAP as the default keep-alive for IMAP is around 24 minutes
[BetterBatteryStats] chamonix:
*overflow* is a sign that one stat counter was overrun. This may happen if you have not boote your phone since long or if some wakeup/wakelock is very frequent. The only way to see what is hidden behind *overflow* is to reboot and take a fresh reading.

Added that to the FAQ as I have got this question a few times now
[BetterBatteryStats] pi-xel:
Anyone? :)

I looked a bit further into it and my impression is that a large amount of my battery drainage comes from WiFi wakelocks. My current guess is that this is due to wireless networks where multicast is enabled. Will test this today evening in my home network where I can disable multicast. I guess those wakelocks affect a lot of people having JB on GT-i9100 (at least that's my impression from reading posts on the last pages).

I think that turning off WiFi during sleep is only a temp solution as some of us then have to pay extra money for mobile data if they wanna stay connected. I am currently looking into disabling multicast on my phone. Has anyone some experience how to do this?

Or am I on the wrong track altogether and do my battery problems have another source?

And regarding BBS: I've noticed that the times in minutes in CPU stats category add up to 100%, but not the percentages (see the log from my first post). Is this a bug?
[BetterBatteryStats] kpavl01:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

I am listening to music (with headphones) and i noticed a kernel wakelock named "sec_jack_det".

Is that ok?

In 30 minutes of playing music i get 4 minutes "sec_jack_det".
[BetterBatteryStats] HyperAbarth:
Hi all,

I've a problem with Battery Consumption.

I'm using NeatROM v.4.3 (LSD), Jeboo Kernel v.2.1 and BaseBand XXLS8.

(I always leave Wi-Fi and Data connection ON).

I made these tests, both for 10 Hours in StandBy:

- Connected to Wi-Fi LAN after 10h -50% battery

- Not Connected to Wi-Fi LAN after 10h -14% battery

Then when my SII is connected to a Wi-Fi Lan the consumption is "terrible"!

This morning 5h -19% battery, I attached the BBS Dump File.

I hope someone can help me ;)
[BetterBatteryStats] pi-xel:
Looks similar to my stats. Do you have multicast enabled on your WiFi router?
[BetterBatteryStats] Rob2222:
@Chamonix:

I was able to get some more unfiltered lines from the event mentioned.

However, BBS debug was not on at that time so I dont know, if it's helpful:

D/11:44:39.705 Globals (32368) Wakelock BBS_WAKELOCK_WHILE_SAVING_REF aquired
E/11:44:39.815 JavaBinder(32368) !!! FAILED BINDER TRANSACTION !!!
E/11:44:39.815 BatteryStatsProxy(32368) An exception occured in BatteryStatsProxy(). Message: null
E/11:44:39.815 StatsProvider(32368) An exception occured processing other. Message: null
E/11:44:39.820 StatsProvider(32368) Exception: com.asksven.android.common.privateapiproxies.BatteryInfoUnavailableException
E/11:44:39.820 StatsProvider(32368) at com.asksven.android.common.privateapiproxies.BatteryStatsProxy.getBatteryRealtime(BatteryStatsProxy.java:327)
E/11:44:39.820 StatsProvider(32368)

I keep on observing.

BR

Rob
[BetterBatteryStats] seanpr123:
Alright friends, I come to you for help.

Running latest AOKP for i9300, Fast Dormancy = Disabled, Facebook/Google+/Maps 'Greenified', WiFi disabled, Google Now disabled, no widgets, only thing syncing is Google Gmail/contacts/calendars.

So why am I still getting a 1.6%/hr drain overnight?!

What am I missing.

Thanks for any help you may provide!
[BetterBatteryStats] supermeerkat:
Xperia S staying awake!

Hello everyone!

I've been lurking these forums for a while and finally decided to join.

I got my Xperia S last week and I'm trying to find the source of my battery drain. For some reason it seems to stay awake (according to the battery chart) while the screen is off, even though there aren't many wake-ups in the alarm section.

I'll be forever grateful to anyone that manages to solve this, both me and the phone have been losing sleep over this!!
[BetterBatteryStats] seanpr123:
That dump file doesn't help much.

Needs to be longer than 1h15min (4+hrs at least), not to mention you only lost 2% in that window with 93.5% deep sleep which isn't that bad.

The only strange thing is your AlarmManager, do you have any actual alarms set by chance?
[BetterBatteryStats] HyperAbarth:
How can I check if Router is Multicasting?

I've a router at Work and one at Home... if you give me more information I'll try to check ;)

But I don't think the problem is the Multicasting Router because at Home I didn't touch the router configuration from I have installed the Router and also at work the Router configuration is stable; I had this "drain" only in last days... but I didn't understand if a App Upgrade made this drain.
[BetterBatteryStats] soraxd:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

so here's the thing. using Autostart Manager i disabled every startup Google maps has.

thennnn in Permission Manager i removed permissions for every location service of every 3rd party app i have.

my Google Now is off, latitude and all location update services are turned off. i only have a few apps at all in my phone, none are weather, or location based services..

HOW IS MAPS STILL FREAKIN SUCKING THE LIFE OUT OF ME FROM THE GRAVE??!! LOL

completely at a loss for what's causing this..

-sgs3 4.1.2
[BetterBatteryStats] Casanoaa:
Sv: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Use autostarts app and disable all maps entries. If you not use maps app disable it with titanium pro. Sign out of google talk and latitude in maps.

Disable locations services in rom / settings.
[BetterBatteryStats] supermeerkat:
Yeah, the dump's a bit short but I'll try making a longer one just now. Haven't got any alarms set, apart from one calendar reminder. I'm confused with the AlarmManager as well, it seems to be the source of the problem but nothing obvious appears in the Alarms section. I'm running the standard ICS (rooted) if that helps.
[BetterBatteryStats] Gaszton:
galaxy s2 drain more than 3% / hour

Hello,

i have a galaxy s2, less than 1 year old, ever since i have it, it was draining the battery too fast.

I use it very lightly, no bluetooth, no wifi, no synch.

In a night with only the cellular network enabled, it allways drains 3%/hour.

I bought 2 other batteries, same happens for those too.

I was searching this topic, but i didnot find a solution.

I did not see any suspicious in what the betterbatterystats shows.

Only thing that i became aware of is at the OTHER tab:

No Data Connection

No or Unknown Signal

these 2 are allways there with 100%

I would be very gratefull for any kind of help,

Gaszton
[BetterBatteryStats] flyingj:
Not seeing other stat types (screen off etc)

I am not seeing other stat types other than "Unplugged" I have tried other settings and am not seeing "since boot", "screen off, etc available.

What am I missing about this with the latest app update?

Thanks!
[BetterBatteryStats] Casanoaa:
Sv: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

You have to root your phone. So we can see your Alarms and network. And to disable entries and appsm
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Set Gmail to manual poll, check your weather apps for update interval settings.

Tapatalked from my Galaxy SII

---------- Post added at 06:05 PM ---------- Previous post was at 06:02 PM ----------

Does the drain disappear in flight mode?

Tapatalked from my Galaxy SII
[BetterBatteryStats] JakePNEFC:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Hi can someone take a look. Thanks. Phone app is causing a lot of Wakelocks. Especially when the phone is on but I don't even use the phone app. https://www.dropbox.com/s/ihjqtt4gqolhl56/BetterBatteryStats-2013-03-12_075741063.txt
[BetterBatteryStats] hvihavai:
And what is your problem because I can't find any... Maybe you haven't used the phone app, or the dialer and phonebook, but it runs in the background however. You'll have 5 % battery usage in 7 hours, do you want it to be 0% ???
[BetterBatteryStats] JakePNEFC:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

I agree the battery is great while turned off but the phone app gets like 300+ Wakelocks while on?
[BetterBatteryStats] pi-xel:
It should be somewhere in the configuration of your router, but it is dependent on your particular router whether that can be modified and where.

What you can do is to download an app called Shark for Root on your phone and to analyze traffic on your phone with a computer application called Wireshark (start Shark capture while connected to WiFi, stop it after a few minutes, copy log file to PC and open it with Wireshark). There you see all packets send to and from your phone. If there are lots of incoming multicast / broadcast packets, then multicast is enabled on your router.

One first indication for this problem could be that the WiFi icon on your phone almost constantly receives packets (down arrow, even when not sending anything (up arrow)), whereas on mobile data there is almost only reception when transmission (up and down arrow active at same time).
[BetterBatteryStats] seanpr123:
I don't have ANY weather apps, and it can't be Gmail as I've had much lower drain with that on before (and only 60sec wakelock).

Why doesn't BBS show the real problem here, my phone was awake for 25min but not seeing the cause. Very frustrating.

What causes com.android.phone wakeups?

multipdp & secril_fd-interface are usually related to fast dormancy right? Because I have tried that both ways and it's currently disabled (FastDormancy Toggle)...
[BetterBatteryStats] fndpena:
a LOT of facebook messenger wakeups after a update... Anyone else noticed?
[BetterBatteryStats] Shano56:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Don't use face book app!
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Remove the entries from your blacklist / divert to mailbox list and the issue will be gone.

Tapatalked from my Galaxy SII
[BetterBatteryStats] ilya404:
My battery seems to be draining more than it should. I have 3,7%/h while wifi is on, but there are not actually that many wakelocks...

Anyone an idea where that stems from? It shouldn't be all from wifi now should it? :confused:
[BetterBatteryStats] dwie:
Experiencing no battery drain overnight, but when I use it the battery goes down pretty fast (2h30m screen time on average). Anyone see any room for improvement? It is set to Boot to Current because I rebooted my phone after fully charging. Thanks in advance!
[BetterBatteryStats] fndpena:
Not facebook app (friendcaster here...), I'm talking about facebook messenger stand alone app. It was not like before.

Now this thing is waking up the phone everytime.

I think the latest update is the culprit...
[BetterBatteryStats] JakePNEFC:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

How? Don't understand sorry
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Use speedmod kernel...

Tapatalked from my Galaxy SII

---------- Post added at 01:22 AM ---------- Previous post was at 01:16 AM ----------

If you don't know what I'm talking about, you're probably not having this problem, sorry.

Phone app can go wild if you get blacklisted / redirected calls.

Does your ril match your baseband?

Some combos are bad, try another one.

Tapatalked from my Galaxy SII

---------- Post added at 01:27 AM ---------- Previous post was at 01:22 AM ----------

Wow that's really a lot..

How is your network coverage?

Was Wi-Fi turned on the whole time?

Does the drain stop in flight mode?

Tapatalked from my Galaxy SII
[BetterBatteryStats] JakePNEFC:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

The ril match. When I touch com.android.phone in BBS it says intent : com.android.internal.telephony.gprs-data-stall I wouldn't mind but it really is a lot of Wakelocks, I'm not just being picky. Hundreds :-\
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Somewhere in this thread is a good explanation about stall data, can't remember the quintessence.. think it was flapping between umts and gprs..

but not sure..

Tapatalked from my Galaxy SII
[BetterBatteryStats] kellman:
delete

delete
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Take a longer reading, your dump is way to short, enable root features in bbs, unplug, leave it idle for some hours.

13 min awake out of 14, there seems to be a lot of potential...

Tapatalked from my Galaxy SII
[BetterBatteryStats] miten_sheth:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Changed dtim.. changed channel.. still getting the wifi wakelocks.. please help..

https://www.dropbox.com/s/0ciw3nuunzfpr0h/BetterBatteryStats-2013-03-13_085127358.txt

Sent from my SGH-I777

ROM - ShoStock 3 v2.5.9

Kernel - AJK v1.46-S
[BetterBatteryStats] saleemakbani:
Can someone have a look

Can someone please have a look at the attached dump... the deep sleep is around 97% but still my battery drains a lot overnight...
[BetterBatteryStats] jr67:
BBS & Tasker

Chamonix, I have bug to report with version 1.12.0.2. When I try to save a log file with Tasker, BBS force closes. I've attached a catlog. I'm on CM 10.1 and running Tasker version 4.0b16 (a beta version). The previous version of BBS worked fine with this exact same setup (I haven't updated the rom or Tasker since the day before updating BBS). I can save a log file from within BBS I just can't do the same using Tasker. I already tried clearing dalvik cache and also uninstalling and reinstalling the app.

Please let me know of there is anything else you need. Thanks.
[BetterBatteryStats] supermeerkat:
Right, I've uploaded a longer dump file, can anyone interpret what's going on? my phone appears to enter deep sleep and doesn't seem to have anything obvious in the alarms or wake sections, but it seems to spend most of standby awake due to the AlarmManager...
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Wi-Fi is not your problem anymore.

There is a lot of gtalk related activity, try to figure the trigger for that (sync / online backup).

Good luck.

Tapatalked from my Galaxy SII
[BetterBatteryStats] and8res:
Hi

Here are my dumps
[BetterBatteryStats] miten_sheth:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Oh okayy.. will do it and provide one more dump.. thanks

Sent from my SGH-I777

ROM - ShoStock 3 v2.5.9

Kernel - AJK v1.46-S
[BetterBatteryStats] ilya404:
Yes Wifi was turned on the whole time, network coverage was solid (until the snow today :p); testing it in flight mode right now. Will report back in a few hours. Thanks =)
[BetterBatteryStats] drksn:
AW: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Anyone knows what this AlarmManager is from BBS?
[BetterBatteryStats] It_ler:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

It's the sum of your Alarms.

So look at your Alarms to find the real culprit(s).

Good luck.
[BetterBatteryStats] drksn:
AW: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

It seems it wasn't waking up my phone since everything else is fine
[BetterBatteryStats] Galaxicos:
Since I am using a JB rom, i don't get any stats, what could be the issue?
[BetterBatteryStats] miten_sheth:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

You need to provide an idle dump...

Leave the phone alone for 4 hours+ and post the dump..

Sent from my SGH-I777

ROM - ShoStock 3 v2.5.9

Kernel - AJK v1.46-S
[BetterBatteryStats] officiallyme:
AW: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

is it a known problem, that bbs does not work after a reboot with battery drop?

for some reason when i shutdown and reboot my phone i get a drop in battery of 30-40%. but only the first time i do. after that reboots do nothing to the battery percentage. and the drop doesn't seem to correspond to the real percentage as it works for ages afterwards.

but ince you get that drop, bbs will not show anything anymore. completely blank.
[BetterBatteryStats] nikant:
if someone who knows is kind enough to look at that..

I believe it's wear of the battery since tasker is recently installed..

also using Greenify..

anything else that pops out?
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Upgrade to the most recent version and don't bother to use the search, it works!

Tapatalked from my Galaxy SII

---------- Post added at 11:13 AM ---------- Previous post was at 11:10 AM ----------

Your dump looks quite good, but...

You should be able to achieve the same results without using a task killer, it's against the way Android is designed.

This tango thing causes some wakeups..

Nevertheless, well done :cool:

Tapatalked from my Galaxy SII

---------- Post added at 11:15 AM ---------- Previous post was at 11:13 AM ----------

No screenshots, just a dump please!

Decrease bmw's update rate.

Tapatalked from my Galaxy SII

---------- Post added at 11:16 AM ---------- Previous post was at 11:15 AM ----------

Attach a logcat but I think this is an unsupported state.

Tapatalked from my Galaxy SII

---------- Post added at 11:18 AM ---------- Previous post was at 11:16 AM ----------

Your phone "eats" your battery for no reason, check for another baseband or optimised Wi-Fi stack (kernel).

Tapatalked from my Galaxy SII
[BetterBatteryStats] saleemakbani:
Can you pls have a look at my bbs dump also. much appreciated.

Please have a look at my bbs dump also much appreciated.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Your dump looks good, but in these days ( since cm10.1's later February 27.build) the overall battery consumption is to high, even in flight mode, we (myself too) have to wait until this its fixed.

Try to find someone within your devices cm10 thread who made a modded kernel with:

- Disabled Android Debug Logger / logcat

- Disabled Samsung debug

- Disabled various kernel debugging, statistics and tracing options

I personally think since the cm10 team was facing lots of SOD's they implemented a full debugging mode which probably leads to more drain then it should

Tapatalked from my Galaxy SII
[BetterBatteryStats] saleemakbani:
Thanks

Thanks.. btw am currently on Yank555.lu kernel.. guess i'll revert to Feb 26 build coz that had much better battery life..
[BetterBatteryStats] chamonix:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

I have no explanation about the drop on reboot, this may be related to your phone/battery.

Can you please post a logcat after starting bbs documenting the problem (please enable debugging in advanced settings)
[BetterBatteryStats] ilya404:
So i tested the battery in flightmode and the drain is still huge... 2,0%/h. The GpsLocationProvider seems to have kept my phone awake the whole time this time... what is that and why is it not off? GPS is turned off and Latitude, too.

Did not have that wakelock last time (without flightmode) though... -.-
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

aha, this seems like a bug to me.

Did you disable GPS by toggle or via system - settings?

Check the location settings, is GPS checked? Find the app which asks for GPS permissions, deny it, you need to get this sorted first.

Tapatalked from my Galaxy SII
[BetterBatteryStats] pi-xel:
Hello again!

Could someone please help me out? After my first stats (see below) I assumed that I have a WiFi problem, and indeed, when connecting my phone to a dedicated subnet (no other activity on that net except traffic coming from the phone itself), my battery drainage dropped to approx. 5%/h (whereas the stats, including WLAN_RX_WAKE and WLAN_WAKE, look exactly the same as in the stats below - weird enough). But still - I have a good deep sleep percentage, only three actors sporadically syncing (google, whatsapp, fancywidgets), good WiFi and mobile network quality and a drop of 5% per hour.

I am really out of ideas, please help :)
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Unfortunately your dump looks perfect...

So I assume it's the same problem all 4.2.2 users are facing right now..

Revert to a built earlier February 27. and report back

Tapatalked from my Galaxy SII
[BetterBatteryStats] KOkan3:
Re: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

Hey there!

Can someone tell me what is causing drain to my phone? Doesn't seem much but I think it is pretty much since I managed to get 0.3/h(even 0.1) in almost the same conditions.

I use Juice Defender so the wifi and data was off for most of the time. Also sync is off. Location detection is off.

And why does it say No data connection and No or unknown signal 100% off the time?

I posted a dump from when I got 0.0%/h and 1%/h with same LSD rom.

Could someone enlighten me please?

Thanks you very much!

https://www.dropbox.com/s/fc49w4hz40arn7q/BetterBatteryStats-2013-02-20_070001640.txt

https://www.dropbox.com/s/123t1piz4baanuv/BetterBatteryStats-2013-03-13_040218380.txt
[BetterBatteryStats] ilya404:
Thanks for the quick answer! =) Do you have a method to check which apps ask for GPS permissions? Just installed LBE Privacy Guard but i am not sure if it will show me which tools will ask, rather just block it.

Nevertheless i checked the Location settings and GPS was not checked (off) so would apps ask for GPS when there is none?

Testing battery now again with LBE active protection on (Flightmode + GPS off) to see if something changed...
[BetterBatteryStats] pi-xel:
Thanks for your response. Will try to revert over weekend and see whether I get any improvement on an earlier rom with same settings. But still, I think that there are users out there who have a similar setup (AOKP/CM based 4.2.2 rom, Dori kernel) and who have battery consumptions one order of magnitude lower than I have.

Would someone who has such setup and who experiences no battery problems be so kind to post a BBS dump and screens of Android battery log, alongside with exact configuration (STweaks profile (do a backup of your current profile, profile can be found in /data/.siyah), other tweakers, task killers installed, mobile network carrier, FD enabled?, ...), so that we can try to figure out where the problem lies. Reading the post on the last pages, I think that there are pretty many users out there who experience the same and would appreciate a deeper analysis of the problem.

Thank you very much in advance :)
[BetterBatteryStats] officiallyme:
AW: [APP][2.1+][12 Mar. - V1.12.0.2] BetterBatteryStats

when posting thr logcat, should i wipe the log first, then reboot and create the logcat?

because i have rebooted a bunch of times since the screenshot and am currently charging my battery.

so i would need to know how best to create the logcat for you to see what is important and what isn't