yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] danielo:
I'm using Tasker quite heavily and I have a lot of wakelocks cause by Tasker.
[BetterBatteryStats] xelra:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Try cleaning your USB port. Make sure the internal pin isn't bent and doesn't touch the enclosure.

Many people with defective USB ports have complained about battery drain and vbus_present wakelocks.

Tasker is a real poweruser tool. It causes exactly as many wakelocks as you set it to.

Go into settings and control its behavior.
[BetterBatteryStats] jp.esteban:
Apologies if this has already been addressed, but 1200+ pages of posts is very intimidating.

Will this app accurately track battery drain on a Samsung Galaxy Note II running stock everything? I just bought the phone 2 hours ago and installed some apps. I'd like to now track which of these apps might cause battery problems down the line. Thanks in advance!
[BetterBatteryStats] It_ler:
Yes, but without root, BBS can not show Network and Alarm stats.

So you can track your battery drain, but with root you have more informations to identify the unwanted battery drainers.
[BetterBatteryStats] lordgoata:
Plus many wakelocks are held while the device is already awake doing something else anyway. See the following for Tasker wakelock info:

https://github.com/asksven/BetterBatteryStats/issues/222
[BetterBatteryStats] kpavl01:
Hello guys. I would really appericate if someone could help me. I flashed a new rom, CM 10.1 MCM and latest Siyah v5 vsync kernel and it is great. Except one thing. Android system uses more battery than screen. Screen is on fo 2 h and uses 35% and Android System 50% of battery when i go to settings.

I let the phone over night and dumped a file but it is 98% deep sleep. When i used it for 12 hours my Android System wakelocks went crazy (I think), i rebooted 20 minutes ago and the wakelocks are already on 200 (started counting from 0).

Has anyone the same problem, or you know how to fix it?

Dumpfile: http://dl.dropbox.com/u/34820089/BetterBatteryStats-2013-02-04_224032606.txt

EDIT: added more pictures
[BetterBatteryStats] Stryder5:
No, I'm just using the regular stable version at the moment.

Does the beta help with the wakelocks?
[BetterBatteryStats] Karpfenhai:
Mate your dump is quite useless as it contains almost nothing ;)

We need a file which has your weird AOS inside, and if possible add a logcat (check debug also within bbs) since youre rooted, check also the BBS root options, thx!

PS: we dont need screens ;P
[BetterBatteryStats] kpavl01:
Should I post dump again after 4 h inactivity or? Forgot about the root options.

I checked everyting in Dumpfile option, in advanced i enabled Debug and Root features (Alarms and network stats). Is that it?
[BetterBatteryStats] itsLYNDZ:
here is my updated BBS. I know its not the newest BBS version, but I cant keep up...
[BetterBatteryStats] Casanoaa:
Sv: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Provide an idle log. Unplug and leave 4 hours without touch and dump a file. Enable Alarms and network in bbs app.
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Yes, that's exactly what it takes :)

If your problem occurs, hit save logcat within bbs and take a dump after a certain period as well.

Good luck!

Tapatalked from my Galaxy SII
[BetterBatteryStats] kpavl01:
I don't understand the if my problem occurs?

You mean if it persists? if there is still a problem I should use it and than hit save logcat and dump file?

I will dump file in around 3 hours. Thanks for your response.
[BetterBatteryStats] Osyx:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

He means if you notice a faster drain for some reason that you can relate to your problem.
[BetterBatteryStats] kpavl01:
Faster drain after dumping file? Faster drain before dumping file?

So, should I use it for few hours and than dump a file or the idle dump will be enough?

I'm not really good in this.
[BetterBatteryStats] Osyx:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

If it occurs after the dump, a logcat may provide better information then.

Idle dump will be enough.

No problem everyone have been starters or n00bs :)
[BetterBatteryStats] DanVilMar:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

I am on ICS 4.0.4

I think this is an easy one. BBS indicates '100% awake while screen OFF'

'leds wakelock' is the top kernel wakelock at 97%. The CPU stats is 100% at 1Ghz.

Does anybody know what is it and how could I fix it

Thanks for your help in advance.
[BetterBatteryStats] Osyx:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Sounds like you have bnl on and that they never turn off, have you tried to disable them?
[BetterBatteryStats] DanVilMar:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Hi, thanks for your note. bnl? I don't know what it is and how to disable it.

BTW, if I reboot my phone, everything goes back to normal (100% in deep sleep while screen off). It is just a matter of time that during the day BBS will show the "leds wakelock" issue again. From that point onwards, it won't go back to deep sleep until I turn off and on the phone again. Maybe it is relevant.
[BetterBatteryStats] kpavl01:
Here is my dump file : http://dl.dropbox.com/u/34820089/BetterBatteryStats-2013-02-05_181754881.txt . Can you comment it? What should I do now?
[BetterBatteryStats] Karpfenhai:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Your dump looks quite normal, nothing unusual inside.... sorry...therefore..post a logcat and another dump if the problem occurs / appears, right now it does not persist.

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] kpavl01:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Now android system is too low hahah. I still get many wakelocks with him (gsam battery) but it is very low on this screenshot right now.
[BetterBatteryStats] Vodzilla:
Guys please check my dumpfile. Your comments are appreciated. :)
[BetterBatteryStats] kozmo21:
Looks good. Line app is the only thing that is causing some wakelocks, but with only 2% lost in over 7 hours, I wouldn't worry about it. If you have problems later with bad battery, that is probably the cause... enjoy your phone!
[BetterBatteryStats] Vodzilla:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Thanks for the reply kozmo21. Got to be this efficient following the guides posted in this forum and with the aid of BBS. :thumbup:
[BetterBatteryStats] 3c:
What is mdm_hsic_pm0, seems like a kernel IC module, as if hardware related? It's been keeping your device awake for almost 6 hours, 1 hour left for other apps to keep it awake too ;(

Strange I have a S3, and had it for a while, and I get one of the best battery run time I've had compared to many other devices. Like 5 days of standby or 4 or 5 hours of screen-on.

What is this battery monitor? I have Battery Monitor Widget on my S3 and it consumes 2 seconds of CPU a day, far from those outrageous 49 minutes. If you use that app, just make sure you don't have it to record battery data every 10 seconds, that's a definitive and obvious battery killer ;) Default is set to 10 minutes and that's what I use.

I'd suggest uninstalling that app and see what remains. If it's not that battery monitor app causing issues, then looks like a kernel issue to me, maybe related to further hardware problems?
[BetterBatteryStats] elmexicanoalto:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Does anybody know what this wake lock does for Google Play Music? I have searched everywhere and can't find anything on it

com.google.android.music.leanback.auto_cache_alarm

Haven't used the app since unplugged and already have 9 wake ups. Battery drain seems normal just curious to know what the wake ups pertain to. Thank you.
[BetterBatteryStats] sabret00the:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

If you're using stable, then the issue is definitely on your end.
[BetterBatteryStats] gxg10:
Hello. I m new to xda-forums and to android. I have an S3 4.1.2. stock, which i am proud of, but i want to know more about the things that drain my battery so i can maximize it. I installed BetterBatery stats, but here comes the problem: i dont know how to generate and interprete the results. I m here for help and hope that in the future i will help severall noobs like me. A good day
[BetterBatteryStats] rizzotti91:
Hi guys, here my logcat and dump, can you look for it? :)

Thanks a lot for support :laugh:
[BetterBatteryStats] drksn:
Wakelock Notification

Is there an App or possibility to get informed (e.g. acustical signal), when a wakelock is active longer then a certain threshold? This would make controlling much more easier .. (Today i had a "AudioOut" Wakelock for about a hour; sometimes the mobiel lies some hours without touching but it would be nice, if wakelocks don't have to last the whole time till i control the awake-times manually)
[BetterBatteryStats] BleedingIris:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

What is

Android "endpoint" wake lock ? How to fix ?

I deleted gtalk and I'm getting this..

Any ideas ?

cm10 htc a310e k2.6 w/broken video recording
[BetterBatteryStats] Stile35:
Can you help me to improve battery life on Galaxy S3 XELLA ROM with following BBS results?
[BetterBatteryStats] Zam1000:
Sv: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Can someone please help me sort our what's draining my battery.

Link to the thread were I write first.

http://xdaforums.com/showthread.php?p=37661039

Sent from my GT-I9305.
[BetterBatteryStats] kpavl01:
I got 1500 Android System wakelocks when I used phone for 2 hours. That is crazy.

Should I use the phone and post dump and logcat or leave it again for 4 hours? The problem seems to be here when I am using the phone.
[BetterBatteryStats] Osyx:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Use the phone so that the problem occurs, then post logcat. (dump if you want to)
[BetterBatteryStats] Oto_Shan:
Can i disable android batter stats?
[BetterBatteryStats] It_ler:
Better attach your BBS dump file.

What I can see in your screenshots:

1. Disable all location service options in ROM and Google settings.

2. Optimize autostarts for Maps like described by Karpfenhai (link in post #3).

3. Disable/freeze eBay Mobile app, or at least disable all notifications/updates and ty to optimize its autostarts (similar to Maps).

4. Disable bluetooth, and only enable it when using it. Then disable it again.

Good luck !
[BetterBatteryStats] hahaboy:
thanks in advance, i tried to logout in friendcaster, but it seems still wakelock, and i see my wakelock list it's super long. how to off those app? it seems is system apps eg. mms, gtalk, .....etc
[BetterBatteryStats] nobnut:
No, the rest of your wakelocks are relatively short. Less than 5 minutes. Friendcaster is your biggest issue.
[BetterBatteryStats] francisdeek:
I suppose it'll be better to handle these unwanted apps and bloatwares if I'm rooted? I have titanium backup pro but it makes no use to me coz i'm not rooted.

Anyway, I'll report back probably by evening or so with 2 sets of log file, with and without data switched on. Nice day guys :)
[BetterBatteryStats] hahaboy:
2011/10/04|03:03:47 AM|-35mA|98%|4151mV|35.0ºC|2|2

2011/10/04|03:08:47 AM|-287mA|98%|4151mV|33.0ºC|0|0

2011/10/04|03:13:47 AM|-112mA|98%|4150mV|33.0ºC|0|0

2011/10/04|03:18:47 AM|-71mA|98%|4148mV|32.0ºC|0|0

2011/10/04|03:23:47 AM|-52mA|98%|4141mV|32.0ºC|0|0

2011/10/04|03:28:47 AM|-10mA|99%|4140mV|32.0ºC|0|0

2011/10/04|03:33:47 AM|39mA|99%|4143mV|31.0ºC|0|0

2011/10/04|03:38:47 AM|39mA|99%|4141mV|31.0ºC|0|0

2011/10/04|03:43:47 AM|39mA|99%|4138mV|31.0ºC|0|0

2011/10/04|03:48:47 AM|39mA|99%|4133mV|30.0ºC|0|0

2011/10/04|03:53:49 AM|-26mA|98%|4130mV|31.0ºC|0|0

2011/10/04|03:58:47 AM|-43mA|98%|4133mV|32.0ºC|0|0

2011/10/04|04:03:47 AM|-43mA|98%|4131mV|30.0ºC|0|0

2011/10/04|04:08:47 AM|-43mA|98%|4128mV|31.0ºC|0|0

2011/10/04|04:13:47 AM|-43mA|98%|4131mV|30.0ºC|0|0

2011/10/04|04:18:47 AM|-37mA|98%|4111mV|32.0ºC|0|0

2011/10/04|04:23:47 AM|-31mA|98%|4127mV|30.0ºC|0|0

2011/10/04|04:28:47 AM|-27mA|98%|4131mV|30.0ºC|0|0

2011/10/04|04:33:47 AM|-23mA|98%|4128mV|30.0ºC|0|0

2011/10/04|04:38:47 AM|-21mA|98%|4126mV|30.0ºC|0|0

2011/10/04|04:43:47 AM|-19mA|97%|4126mV|30.0ºC|0|0

2011/10/04|04:48:47 AM|-18mA|97%|4127mV|30.0ºC|0|0

2011/10/04|04:53:49 AM|-18mA|97%|4120mV|30.0ºC|0|0

2011/10/04|04:58:47 AM|-18mA|97%|4126mV|30.0ºC|0|0

2011/10/04|05:03:47 AM|-18mA|97%|4122mV|30.0ºC|0|0

2011/10/04|05:08:47 AM|-18mA|97%|4122mV|30.0ºC|0|0

2011/10/04|05:13:47 AM|-18mA|97%|4117mV|30.0ºC|0|0

2011/10/04|05:18:47 AM|-18mA|97%|4120mV|31.0ºC|0|0

2011/10/04|05:23:47 AM|-22mA|96%|4118mV|30.0ºC|0|0

2011/10/04|05:28:47 AM|-26mA|96%|4113mV|30.0ºC|0|0

2011/10/04|05:33:47 AM|-26mA|96%|4110mV|30.0ºC|0|0

2011/10/04|05:38:47 AM|-26mA|96%|4116mV|30.0ºC|0|0

2011/10/04|05:43:47 AM|-26mA|96%|4113mV|31.0ºC|0|0

2011/10/04|05:48:47 AM|-26mA|96%|4108mV|30.0ºC|0|0

2011/10/04|05:53:49 AM|-26mA|96%|4108mV|30.0ºC|0|0

2011/10/04|05:58:47 AM|-28mA|95%|4111mV|30.0ºC|0|0

2011/10/04|06:03:47 AM|-29mA|95%|4106mV|30.0ºC|0|0

2011/10/04|06:08:47 AM|-29mA|95%|4103mV|30.0ºC|0|0

2011/10/04|06:13:47 AM|-29mA|95%|4107mV|30.0ºC|0|0

2011/10/04|06:18:47 AM|-29mA|95%|4106mV|30.0ºC|0|0

2011/10/04|06:23:47 AM|-29mA|95%|4101mV|31.0ºC|0|0

2011/10/04|06:28:47 AM|-29mA|95%|4106mV|30.0ºC|0|0

2011/10/04|06:33:47 AM|-27mA|94%|4103mV|30.0ºC|0|0

and this if my battery usage history
[BetterBatteryStats] Panda_Face:
Nobnut how did you get the gtalk_async_conn to go away? Mine has actually stayed on even after freezing google talk
[BetterBatteryStats] nobnut:
No, unfortunately I didn't, I only reduced it. I believe it is an inherent part of 'background data' on Android (not just Gtalk). If you disable background data, it does go away but then you lose loads of functionality obviously.

It is required for the Android system to be able to sync data. It is just a shame that it causes partial wakelocks.

All you can do if you want it removed is to go through your app settings and lower the data sync intervals. What I have done is to actually turn some of them off, allowing me to sync manually when I want to.

It did have a dramatic effect on wpartial wakelocks as you can see from my previous screenshots.

---------- Post added at 07:55 AM ---------- Previous post was at 07:13 AM ----------

As promised, I've had a look at your BBS log and I agree, the partial wakelock list is very long.

As I mentioned yesterday, the biggest problem you have is with Friendcaster. I don't know if you have this problem but Friendcaster is notorious for facebook syncing problems. It logs itself out (especially when you have another facebook client installed on your device) and this might be causing your problems. If I was you I would remove Frendcaster and use a different client to sync Twitter/Facebook etc. What I would do is to remove any syncing at all and just check updates manually. But of course you may not want to do this.

The rest of your list is impressive. There is lots you can do to reduce its length. Basically you have lots and lots of cr@p installed on your phone :p

Here are a couple of examples... Zedge?.. why oh why do you need to be signed into Zedge? How often do you actually use it? A manual sync will be just as good for you. Speedtest?... how come that is causing wakelocks?

I suspect that you aren't exiting apps when you have finished with them. You MUST make sure you fully exit the app (normally by pressing the back button). Also if you are rooted, you can prevent apps from autostarting, allowing you to launch them you want to... not when they want to. To do this download Gemini App Manager from the Market (free).

One more thing to note, a single partial wakelock can prevent a significant amount of sleep. If you have one app (like Friendcaster) causing lots of wakelocks, you can resolve this problem easily. If you have lots of apps, each causing a few partial wakelocks, they are doing just as much harm when added together. But it is more work to go through each app and reduce its footprint.

You can see from my screenshots here that in a 5 hour 15 minute period, I only had 5 items causing me wake (there were no more items in the list). There is no black magic or Voodoo at play here. All I do is what I preach in this thread... follow the Golden Rules:

1/ Uninstall apps you don't want or need

2/ Prevent those apps starting if you don't want them to start automatically

3/ Check the settings/sync schedules for each and every app

4/ Don't set up a sync schedule when a manual sync will do the job

5/ Always use the back button to exit an app - never the home button unless you want it to run in the background

Good luck!
[BetterBatteryStats] suku_patel_22:
Battery drain on WIFI

When I am on WIFI my phone lost almost 12% of juice in 1 hr

When I am not using WIFI the battery percentage stays the same, 0% in 1 hr.

I have set the WIFI sleep policy to sleep when not connected.

what happens when we set it in this fashion?.

Please suggest.

I am using HTC Desire S on gingerbread 2.3.3, stock HTC Sense ROM with S-ON.

I have not rooted my phone.

Please help to check and suggest how I can reduce the drain.
[BetterBatteryStats] suku_patel_22:
Adding missing attachments
[BetterBatteryStats] nobnut:
Are you sure?

On all the Android devices I have there is no option for "sleep when not connected". There are just three choices:

1/ When screen turns off

2/ Never when plugged in

3/ Never

I don't understand what you are asking. The answer is obvious. Turn off WiFi when you are not using it.

As you are rooted, there are fewer options open to you.

EDIT: I just saw your screenshots. I still don't understand what you are worried about. WiFi has got nothing to do with your drain. Your battery drains when the screen is on. This is normal.

The only thing you can do is to improve sleep is to ditch Friendcaster. But even that is only causing 6 minutes of wake.
[BetterBatteryStats] suku_patel_22:
Wouldn't Android close the activity once the task is completed to free up the memory.

Why would using the home buttton create a wake-lock?

---------- Post added at 08:28 AM ---------- Previous post was at 08:25 AM ----------

Sorry, my mistake, i have set it to "Never when plugged in". how would the sleep work in this case?
[BetterBatteryStats] nobnut:
1/ No, not immediately (might take 15 minutes to kill... might take 15 hours... might never be killed E.g. Google Maps? Browser?)

2/ By using the home button the app stays active... it runs in the background... it therefore can cause wake.
[BetterBatteryStats] suku_patel_22:
thanks for clarifying
[BetterBatteryStats] nobnut:
In this case there is no sleep problem. Don't worry.

What this means is that when you have the phone plugged in, WiFi will be active (if you have it turned on).

BUT... when the phone is plugged in it will not sleep anyway ;) plus the battery will be charging and not draining.

So, no problem :)

EDIT: To clarify, when the phone is unplugged and you are not using WiFi... turn it off.
[BetterBatteryStats] suku_patel_22:
My worry is that, although I used my screen say for a few minutes, my battery dropped considerably, and phone was awake for 40% with 6% of screen on.

May be as I had just turned on WIFI, the syncs were happening and that caused the drain, I am taking another reading for an hour now and will post as soon as done.

Thanks for the help
[BetterBatteryStats] nobnut:
Have a look at this. I still don't think you have a problem.

You can see that the battery drops when the screen is on. There is also a point when WiFi is on but the screen is off. I have marked this as the third point in my list. The drain is ok here.

Honestly, relax, it looks ok to me. Yes, there is always more you can do, but at some point, you just need to sit back, stop worrying and enjoy your phone.

EDIT: As for the rate of drop when the screen is on. That probably has more to do with what you were doing. Just having the screen on will obviously use less battery than having the screen on and browsing the internet whilst listening to music etc.
[BetterBatteryStats] francisdeek:
Hi nobnut, I've put my phone to sleep for 4 hours after unplugged from charger. (first 2 hours with mobile data off and the consequent 2 hours with mobile data on)

Unfortunately i did not remember to take screenshots at the end of 2 hours, so i took screen shot of the current battery usage instead. Android OS seems to be using most of the battery and i wonder if that is even normal.

I've attached:

BBS log and battery history log with mobile data on

BBS log and battery history log with mobile data off

Screen shot of battery usage and graph

Please advise me on how i can reduce the wake locks and put my phone in a better sleep state. I can see that the wake locks increased substantially after enabling mobile data, and my phone was awake most of the time even when screen was off.

ps: phone is not rooted, samsung Galaxy S2 I9100G

Looking forward to your reply, thank you in advance!
[BetterBatteryStats] jonny68:
Been a while since ive been on this thread but i experienced bad battery drain last night, flashed a new ROM, charged to 100% and calibrated battery, had SetCPU set to Min 100 -Max 800 - Governor = SmartassV2, all Samsung bloatware frozen so left the phoen on standby, went to bed 12.03am, got up this morning just before 10am, checked the phone at 10.03am exactly 10 hours later and was dismayed to see the phone at 77% battery, previously id only lost about 1% an hour on standby, took a screenshot and see this "Android system backup" is the main culprit, i suspect that the SmartassV2 governor plus the Ad Away app which i had webserver set to enabled are the culprits but not 100% on that, Android OS was high too @ 38%, data was enabled throghout.

Running CheckRom V5 with latest Siyah kernel, most people are racing that battery life has gotten better with the 2.3.5 leaked update but so far ive not seen this yet.

screenshot below.

edit - also attached is logcat....
[BetterBatteryStats] xavihernandez:
BBS on MIUI

@chamonix

attached a logcat from me, if you have any idea why it does not work well, let me know.