yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Casanoaa:
I dont have time to answer what you should do because i am at a lesson. But this is your culprits.:

====================

Network (requires root)

======================

10070 (Wifi) (com.google.android.youtube.YouTube): 108.0 MBytes 41.3%

10022 (Wifi) (org.blackmart.market.Blackmart): 63.0 MBytes 24.1%

10071 (Wifi) (com.opera.browser.Opera): 39.0 MBytes 14.9%

10076 (Wifi) (com.facebook.katana.Facebook): 14.0 MBytes 5.6%

10084 (Wifi) (com.quoord.tapatalkxdapre.activity.xda premium): 12.0 MBytes 4.9%

10068 (Wifi) (com.google.earth.Earth): 9.0 MBytes 3.7%

10087 (Wifi) (com.skype.raider.Skype): 4.0 MBytes 1.8%

10009 (Wifi) (com.google.android.apps.plus.Google+): 3.0 MBytes 1.2%

10086 (Wifi) (net.zedge.android.Zedge): 1.0 MBytes 0.6%

10055 (Wifi) (com.android.vending.Google Play Store): 1.0 MBytes 0.6%

10072 (Wifi) (com.copy.Copy): 1.0 MBytes 0.4%

0 (Wifi) (0): 838.0 KBytes 0.3%

10004 (Wifi) (com.maildroid.pro.MailDroid): 499.0 KBytes 0.2%

10078 (Wifi) (org.mobilism.android.Mobilism Market): 306.0 KBytes 0.1%

10075 (Wifi) (ro.aspinei.hotnewsro.Stiri din Romania): 247.0 KBytes 0.1%

10041 (Wifi) (com.whatsapp.WhatsApp): 238.0 KBytes 0.1%

10097 (Wifi) (com.soundcloud.android.SoundCloud): 226.0 KBytes 0.1%
[BetterBatteryStats] It_ler:
Please provide an idle dump next time - doing nothing / screen off all the time.

Then it's way easier to find the unwanted drainers.

I see the following (partial) wakelocks:

AudioOut_2 (1013): Something was playing audio/sounds.

realtimechat (com.google.android.apps.plus.Google+): If you don't need it, disable/freeze Google+.

com.skype.s (com.skype.raider.Skype): If you don't need it, freeze/uninstall it, or use xda version of Skype with "Exit" function. Or try to greenify it.

sendinactive (com.whatsapp.WhatsApp): If you don't need it, freeze/uninstall it. Or greenify it.

AlarmClock (com.moblynx.clockjbplus.Clock JB+): Disable alarms or use another clock/alarm app.

BtOppObexClient (com.android.bluetooth.Bluetooth Share): Disable bluetooth.

GpsLocationProvider (Android System): Check that all location service options are disabled (in ROM and Google settings).

Good luck !

EDIT:

And Casanoa listed your biggest network/internet culprits.

As you had wifi running for more than 2 hours, many apps connected to the internet and exchanged some data.

So maybe it's a good idea to minimize wifi running time (with enabling Auto-wifi option in STweaks app).
[BetterBatteryStats] danielo:
Too much BBS wakelocks

Hello,

I need some help with wakelocks caused by BBS. I'm surprised why there is so much wakelocks caused by BBS and why they cosumes soo much time. From the log file I see this:

AlarmManager (com.asksven.betterbatterystats.BetterBatteryStats): 1 h 19 m 37 s (4777 s) Count:69 5.5%

Anybody have an idea? See also attached complete BBS log and if you have any suggestions how to improve please let me know. Thanks.
[BetterBatteryStats] It_ler:
I'm just copying myself now:

Please provide an idle dump next time - doing nothing / screen off all the time.

Then it's way easier to find the unwanted drainers.

I see the following (main) culprits:

Tasker: It prevents the phone from going into deepsleep and wakes it up from deep sleep sometimes. So try to disable it just to see its influence to your battery life.

wifi running for more than 1 hour: Many apps connected to the internet and exchanged some data. So maybe it's a good idea to minimize wifi running time (with enabling Auto-wifi option in STweaks app).

bluetooth running for more than 1 hours: Disable it. Only enable when you need it, then disable it again.

I'm not sure about your current settings in BBS app.

Check its watchdog settings ... maybe try with UNTICKED watchdog option. Can't check my settings ATM, as I'm currently running a battery test.

Good luck !
[BetterBatteryStats] danielo:
Thanks for the suggestions. I know that it is better to provide idle dump and my was from the 24h of lite usage.

In general I'm using tasker for turning wifi and bluetooth on/off based on cells location (at home cell the wifi is turned on and in the car I using BT hands free) soo this I can hardly cut off. So maybe there is something else causing additional battery drain and wakelocks.

I will try to provide clean dump this night and probably something will pop up what is causing additional drain.

Thanks anyway.
[BetterBatteryStats] sabret00the:
Hey, if it wouldn't be any bother, can someone check out mine, somehow managed 30% battery drain overnight. And when the phone is on, I'm losing oodles of battery.

I've got Autostarts killing a bunch of stuff and have followed most optimisation advice from this thread.

I'm running CyanogenMod on my HTC One X with the stock kernel.
[BetterBatteryStats] chamonix:
No it's not whatsapp, unfortunately it's a mystery where that comes from (thanks again google for not releasing sources).
[BetterBatteryStats] edpo1976:
Many thanks for your support, Chamonix.

I've tested different firmwares (2.3.4 orange/2.3.4 Samsung Original/2.3.5), and it's always the same with my signal. What do you mean with "radio version"?.

On the other hand, i've disabled fast dormancy from menu code, and i haven't notice any difference. When you say i could try, do you mean it is better to leave it on?. Anyway, i usually connect to internet by wifi.

For me, this problem with RILJ is very strange, because it appears randomly and it is very difficult to predict. In addition, the only solution that seems to work is reboot the phone, it is very annoying. Last time, the wakelock appears after disable airplane mode. Could this be a clue?

Anyway, without your fantastic app it would be impossible to me to detect the cause of the battery drain.

Apologies for these too many question, i don't know much of these topics.

Thanks again.
[BetterBatteryStats] xyrovice:
Event Log Services & Alarm Manager: The death of me

Heyo Chamonix,

First off- thanks a million for putting together such a useful app.

I'm experiencing what seems to be some intense wakelocks from Event Log Services and Alarm Manager, ELS being the most substantial, with Alarm Manager coming in as a close second. The remaining wakelocks I have don't seem to worry me much, for what it's worth.

I'm attaching my BBS log(?) and my alarmdump.txt, and would be greatly, GREATLY appreciative if you or somebody else could give me some insight as to how I might improve my wakelocks.

Thanks again and in advance for your time and effort.

BetterBatteryStats.txt:

Alarmdump.txt:
[BetterBatteryStats] tboooe:
Thank you for this. I was able to do a dumpsys alarm and it looks like Quick Agenda and System Info Widget.

By the way, how do I output my alarm to a text file? I tried dumpsys alarm >> alarm.txt but I get the following alarm "can't create alarm.txt: Read-only file system."
[BetterBatteryStats] zicovsky:
try giving the terminal root privileges by typing: su

that worked for me.
[BetterBatteryStats] backhead92:
Try above, or do something like:

/sdcard/alarm.txt

This will put in your sdcard folder instead of somewhere where you need root privileges
[BetterBatteryStats] phatboypat:
Anyone have an idea what UID 10144 is?

I am showing it in Spare Parts as running for 22m 30s, making it my highest wakelock.

In BBS my highest reporter of wakelocks is Managewakelock: partial UID
[BetterBatteryStats] snailmale:
Hello, thank you so much for the help!

In the past day I switched over to siyah 2.1.1, smartassv2 and undervolted.

I have turned off contact syncing for whatsapp, removed the traffic widget and beautiful widgets from my homescreen.

jp.naver.line.android is the application Line, similar to whatsapp. I may consider turning that off.

I have also turned off background location services to reduce the drain from gmaps.

However, now I'm getting wakelocks from RILJ (dialer) and gtalk. May I know how to get a dump from RILJ?
[BetterBatteryStats] apkapkapk:
Thanks a lot chamonix! I think I'll go try Siyah Kernel and see how it turns out. Also, how do I check the kernel wakelocks?

Again, thanks for this great app!
[BetterBatteryStats] polzovotel:
Ok, what I did is to freeze all Samsung related bloatware + maps application.

Now my awake time is only slightly more that screen time. And I have more than doubled the battery life.
[BetterBatteryStats] chamonix:
If turning off FD doesn't help you should leave it on as, when it works i.e. is supported by your carrier it saves battery.

You should try to find another version of the radio/modem to flash to your phone. But as radio depends on o many parameters you should make sure you have a copy of the version you are using currently to be able to flash back if another version is worse.

And please don't apologize for asking... this is a forum and people ask and discuss topics all the time. When it's with the goal of learning stuff it's the purpose :)
[BetterBatteryStats] chamonix:
That's because you are in a directory where you can't write. Do

dumpsys alarm >> /sdcard/alarm.txt

and you should be fine
[BetterBatteryStats] chamonix:
Could you please provide the full context by attaching a dump from BBS. With only an ID it's a little hard to put a coherent answer together
[BetterBatteryStats] chamonix:
AFAIK there is no way to dump RIL info but you could use logcat -b radio to get logs
[BetterBatteryStats] tboooe:
If its not one thing its another!

So I took care of my AlarmManager wakelock by deleting System Manager Widget and Quick Agenda. Now my wakelocks are caused by:

Checkin Service (Google Services) - no I do not use Latitude or have any other app that is using location so I have no idea what is causing this.

RILJ - no idea why

*network-location-cell-update* (Google Services) - is this related to Checkin Service?
[BetterBatteryStats] chamonix:
The kernel wakelock you mention is hardware related. You could do some reading here:

http://www.google.com/cse?q=kgsl-3d...SO-8859-1#gsc.tab=0&gsc.q=kgsl-3d0&gsc.page=1

What I see from your wakelocks is a huge amount of Alarms. Check this to drill down on that: https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/AlarmManager
[BetterBatteryStats] edpo1976:
Ok, thanks for your support, Chamonix.

I will try to learn about these two issues. Is possible to run commands on the phone, or you have to use PC?.

Anyway, i will be happy with my battery life with a day and a half of use, with good use. I'm now testing another battery cycle, increasing the use.

On the other hand, i would like to support and to thank your extraordinary work buying the app on Market. Do i have to uninstall the xda version before the installation of the purchased one?. Is the same version?.

Regards.

PD: Sorry for the off toppic but, are you from Chamonix?. We spent our christmas time three years ago there and it is a wonderful place!
[BetterBatteryStats] nobnut:
You can run many/most commands using an emulator (E.g. Terminal Emulator) from your phone.

Note to everyone:

Don't forget to either click Chamonix's 'Thanks' button or even better, buy BBS from the Market to show your support. I've seen lots of people install the free version of BBS, ask a question and have it answered well by Chamonix, without them even saying thank you. That's just rude.

Help him to help you :)
[BetterBatteryStats] edpo1976:
Many thanks, and i'm agree with you, nobnut. It is amazing your work and your support. I'm absolutelly decided to purchase the app. Do i have to uninstall this XDA version?.

Regards
[BetterBatteryStats] mezo91:
Can anyone tell me whats keeping my phone awake ?

It is annoying me alot.
[BetterBatteryStats] officiallyme:
anybody else have "audio out 2" as the number one partial wakelock in bbs?

just wondering why and what it actually is?

i have my phone on mute (not even vibrate), no headphones plugged in either. nothing.
[BetterBatteryStats] It_ler:
Some users with high AudioOut_2 wakelock aso have Viber installed.

And they found out, that disabling/freezing it lead to significantly lower AudioOut_2 wakelock.

I read that changing the "Use system sounds" option in Viber can have influence to this wakelock.

So, if you have Viber installed, check it.

P.S.:

I also once had issues with high AudioOut_2 wakelock. But in my case it were old audio files/drivers used by a custom Skype app. So the cause of this wakelock can be different ... but has alway to do with the phone's audio/sound in a way.
[BetterBatteryStats] officiallyme:
no viber installed.

only the dsp manager that came with rootbox
[BetterBatteryStats] OnAir783:
It's a known bug on some tegra 3 phones (LG 4XHD, Nexus 7, HTC One X). It's something with the baseband_xmm_power but there is no solution which really helps
[BetterBatteryStats] sabret00the:
Thanks, anything else in my dump look off?
[BetterBatteryStats] teemo:
36 minutes of mediascanner!
[BetterBatteryStats] bsoplinger:
The media scanner can be picky about files depending on which version of Android and additionally by changes made by manufacturers. It will eat up cpu if it's crashing on one of your files and then restarting and crashing ad nauseam. You can disable the scan with .nomedia files in the usual media storage directories. Once you have your battery usage down to a reasonable amount you can remove the nomedia files and try to find the bad media files. Tackle one problem at a time.

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[BetterBatteryStats] sabret00the:
Cheers guys!
[BetterBatteryStats] Casanoaa:
Look at my suggestions in post 3 in this thread about gsf.

Next time

Enable alarms and network in bbs appm

Provide an idle log. Unplug and leave phone 4 hours and dump a file.
[BetterBatteryStats] MafiaManV:
What can be done about event log service?

Sent from Sony Xperia™ Z
[BetterBatteryStats] aarriiaann:
Can anyone tell me whats wrong with my phone?

I have Samsung Galaxy S3 i9300 with CyanogenMod 10.1 latest nightly

My battery drain 10% during night with data/wifi off and i dont use 3G
[BetterBatteryStats] Karpfenhai:
No dump, no support, but there is not much overhead, I suspect Wi-Fi..

Tapatalked from my Galaxy SII
[BetterBatteryStats] aarriiaann:
Wifi is off during night and battery drain 10%
[BetterBatteryStats] GermainZ:
Post an idle dump. Read the OP for more info. :)
[BetterBatteryStats] Karpfenhai:
Im sorry so the first part is the night, my bad, but still valid, no dump... no support ;)

Does the drain persist in flightmode?
[BetterBatteryStats] Vodzilla:
Is the "set custom ref." still working as in previous versions? I can't seem to make it work with this latest version. Thanks. :)
[BetterBatteryStats] aarriiaann:
I haven't tested in flightmode. I will do that tonight.

Sorry for dump file i forgot to upload it
[BetterBatteryStats] Karpfenhai:
You're welcome, if the drain stops in flightmode we can elude the battery as culprit, post a dump after your idle period, do a plug / unplug action right before going into flight mode.

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] SavanTorian:
this comes up with XXEMD3 , bevore 1.13.4 worked rock solid...

maybe fill this in in the manifest.xml to fix the problem?

icannot add BBS in supersu 1.30 too.

^^ haha nice joke, i'm unable to open your app anymore ;)

thx alot :)

<manifest>
<uses-permission android:name="android.permission.SET_DEBUG_APP"></uses-permission>
</manifest>
[BetterBatteryStats] Casanoaa:
Look at my suggestions in post 3 in this thread about gsf.
[BetterBatteryStats] MafiaManV:
a no

Yeah , i've done some of that , but can't do all , because Autostarts is not compatible with Xperia's, So i've done this things trought rom toolbox and advance freeze.. " " denying loginservice, subscribed feeds receiver, systemupdateservicereceiver,gtalkdiagnostics,datam essagereceiver,xmppendpointreceiver,sendxmmreceive r." ,"

I just cannot find the "login service" . When i disable Event log service and event log receiver, than i get "event log handoff" IN BBS which runs all the time... I can stop that with freezing/defrosting GSF but that's not a solution as it will eventually return.. You have any other advice maybe .:confused: . Can you take a look at GSF in rom toolbox ? For not i have disabled...

"DataMessageReceiver

GTalkDiagnosticsBroadcast Receiver

MigrateToAccountManagerBroadcast receiver

SendXmppReceiver

ServiceAutoStarter

SubscibedFeedsBroadcast Receiver

XmppEndopoint Receiver

StatsUpload service

Talk provider

"

What more to disable to reduce event log ?

[MENTION=309187]edit[/MENTION], in last 7h i had 20 more counts but only with 1s run time. In the meantime i updated to latest google play 4.1.10 as i read 4.1.6 was buggy. Maybe this helped, but I'll have to wait a bit more as this wakelocks mostly occurs during nighttime.. ?
[BetterBatteryStats] Casanoaa:
Buddy I have no where written that you should touch eventlog receiver. It should be enabled.
[BetterBatteryStats] Casanoaa:
For you i installed rom toolbox app and just point to gsf.

It look like this:
[BetterBatteryStats] Casanoaa:
Full size
[BetterBatteryStats] goughymachine:
So I've tried a few things. I've turned off all my facebook syncs. But I have friendcaster as a phone account to sync contacts with it set to do that once a day. But when I setup a friendcaster account (within settings of android) it seems to install my facebook account too! That didn't happen on my galaxy tab7 running cm10.1, but whenever I tried to install a Friendcaster account on my S3 it installed Facebook ones too. I've also frozen gmail and samsung email and install k9 - I have 4 gmail accounts set to sync every 2 hours. I haven't uninstalled beautiful widgets, but I removed the widget and the live wallpaper of theirs I use and set up the samsung weather widget and a normal wallpaper. I froze samsung push service.

I've left tasker running as I know I will most certainly have it going.

Bugger me if this wasn't a bad result, I think worse than my others! From 100%, unplugged, and untouched for 4 hours.
[BetterBatteryStats] Casanoaa:
Uninstall *overflow* (1013): 3 h 39 m 42 s (13182 s) Count:7 90.1%

Greenify friendcaster/facebook..
[BetterBatteryStats] goughymachine:
But what is *overflow*? I thought it was a process? If I search here, will I find what greenify means?
[BetterBatteryStats] MafiaManV:
bi

Yes, i know. I was just asking if you know how to deal with it :)

Thanks, but i don't have access to that section, this kind of stuff doesn't work on sony's

My bad for not clearing what i want... If you could write down stuff you have listed as disabled under "advance freeze" of gsf..

Thanks

also, while you are here.. :) Just to make sure i got this one right.

msm_hsic_host is kernel related thing about 2g/3g network and there is nothing we can do about it? (unless changing the kernel...)

Sent from Sony Xperia™ Z
[BetterBatteryStats] GermainZ:
OP:
[BetterBatteryStats] Karpfenhai:
I'm pretty sure it's the mediaserver process, did you listened to music?

Or viber installed? It's Samsung specific for sure.

Check also the process tab of bbs and ensure its ticket to be provided in the dump as well.

Try to use a clean ref. (Since unplugged) next time, I'm a bit confused about your current refs, the creation time looks weird to me.

Good luck.

Ps: k9 shows signs of active push, check the settings, it seems you use pull and push at the same time, not sure whether this is intended or not..

Tapatalked from my Galaxy SII
[BetterBatteryStats] GermainZ:
Read the post just above yours. :)
[BetterBatteryStats] deepmob:
Hi there

This my partial wake lock

Can someone help me to protect my bat drain.

http://db.tt/Xr6flvAy
[BetterBatteryStats] Karpfenhai:
You're rooted and you're on a stock Rom, I recommend to try a speedmod based kernel.

Next time tick root features within bbs and provide your alerts.

There is almost no overhead on your dump, I think you also have the Wi-Fi drain bug..

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] GermainZ:
Provide an idle dump, read the OP for info.
[BetterBatteryStats] Rapture Veteran:
do any of these screen shots look out of place? Reason is I ask is because 2 hours off the charger and im down to 80%, which isnt the case on TW roms. I always battle the slim rom and look I like with AOSP and the fact I can never get the battery to actually last long enough for my liking, eventually driving me back to TW roms.

I'm on LiquidSmooth, im running Ktoonez kernal (not his most recent, but the one previous to that)

Gov: ktoonservative sched: row

its downloaded settings from another user.
[BetterBatteryStats] deepmob:
Sorry to ask dump question what is OP

Thanks
[BetterBatteryStats] SKaustin:
OP means Original Post, also known as the first post in this topic. If you check the first post you will find the directions you need to follow so you can post the log exactly the way they need it.
[BetterBatteryStats] post-mortem:
Greenify is another app. He means you should install Greenify, then add the problematic apps to Greenify's list.

XDA Thread

Play Store
[BetterBatteryStats] Casanoaa:
Most of the mdm_hsic is caused by network traffic and little of it is unkown.
[BetterBatteryStats] aarriiaann:
I tried with flightmode but same drain again.
[BetterBatteryStats] Karpfenhai:
Ohh oh, that's a bad sign, as you can see in your dump the device sleeps very well... the awakes are caused by Facebook.. but you shouldn't have lost more than 1-2 % with this result...

So if you are not using a cheap Chinese battery it might be an battery/hardware issue.. your phone is quite new, if it wasn't frozen or overheated... Try another battery if possible.. or a factory reset, don't forget to backup.

Good luck.

Tapatalked from my Galaxy SII
[BetterBatteryStats] aarriiaann:
I have this phone for 6 months i never had problems until i installed CyanogenMod 10.1.

My battery is Korean is original one that came with phone.

Do you think i should remove CyanogenMod and Install Jelly Bean again?
[BetterBatteryStats] brbbX:
I'm trying to optimize my battery life, I saved an almost 7 hour idle dump file, without touching the phone.

From what I can see, "multipdp" and "secril_fd-interface" are the culprits.

I keep gmail sync on, along with push notifications from whatsapp+, and I understand that they may be causing a part of this, but I was wondering if it would be possible to optimize it further without having to turn off gmail push and whatsapp?

I have fast dormancy off.

Here is my dump file:

https://dl.dropboxusercontent.com/u/10021261/BetterBatteryStats-2013-05-31_070151879.txt

Thank you!
[BetterBatteryStats] luckino69:
Hi guys,

I have a problem with my tablet Samsung galaxy tab 10.1 (P7510).

Never goes into deep sleep! Enclose two dumpfile, one of 4 hours and one of 12 hours.

Could you help me understand why no one ever goes in deep sleep?

I have a custom rom 4.0.4 Toldo and the kernel a1 version 1.9

thanks
[BetterBatteryStats] HatRiGt:
excellant work !!! it luks awesome :good:
[BetterBatteryStats] zebidybob:
Try turning wifi off
[BetterBatteryStats] WastedJoker:
http://i.minus.com/ikEXq6nNrhYd0.png

BBS reports no data/unknown signal connection all the time even though I'm using data fine.

Besides that, my battery life during idle is shocking - is it simply because wifi is always on?

Also, I keep getting error message "Selected to and from references could not be loaded. Please refresh".
[BetterBatteryStats] Karpfenhai:
I'm pretty sure it's not related to cyanogen, but to be sure go for stock and do a full wipe.

Tapatalked from my Galaxy SII
[BetterBatteryStats] luckino69:
I tried as you said to turn off the wireless, the situation has not changed!

attached the dumpfile.
[BetterBatteryStats] poo706:
I was always pretty content with my battery life, got a good 2 days out of a battery with light-ish use, and I always had wifi turned on 24-7. Just for giggles, I tried Better Wifi On Off to only turn my wifi on when the screen is on. Holy crap, I couldn't believe the difference! I've only lost 11% in the last 19.5 hours. Very easy to disable with a widget in case you do want wifi to stay on with the screen off. Check it out.

[poo]
[BetterBatteryStats] aarriiaann:
I already did a full wipe several time but no results.

I think im gonna get Jelly Bean back and then maybe i can find what is related to.