yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
OK I have been doing lots of non-android stuff lately (.NET / SHarepoint / Office365) but somehow I got fed up yesterday and started doing fun stuff again. Testing now and will publish 1.16B1 in a few days.
[BetterBatteryStats] antofka:
Nexus 7 2012 3G battery drain

Please help me if you can see problem in my BBS dump.

My Nexus 7 3G looses 5.7%/h during deep sleep... And I can't find reason in dump myself...

Flashed to stock, rooted, installed BBS, disabled wireless, 3G, everything I could and still 5.7%/h. :crying:

Thanking you,

Anton
[BetterBatteryStats] Aldo6:
I have had this problem in both my Xperia Z1 4.3 and my mom's Moto G 4.4.2, this problem is typical mainly when I just fresh installed BetterBatteryStats. Consider doing this in the following order:

1. Check that you have the latest version of BBS (currently 1.15).

2. Open BBS, go to Advanced and enable Root Features.

3. Make sure you grant Root Access (double check on SuperSU or whatever root app you're using).

4. Remember that you will get a black screen as long as you're charging your phone.

5. After you have disconnected your charger/usb cable, wait at list 5 minutes (with the screen turned off) for the stats to update.

6. Open BBS again, if you're still seeing a black screen, hit the Refresh button. Press it 5, 10, 20 times until it shows up (this is what does the trick for me most of the times).

7. If the stats still won't be displayed, you always have the option to |Reboot/Wipe Cache and Dalvik/Clear BBS Data| and try again.

8. I haven't had the need to install it as a System App, so don't do that unless none of what I suggested works.

I hope this works!
[BetterBatteryStats] chayjinn:
nope, seems like mmc1_detect still highest wakelock and doesnt let my phone into deep sleep.

so sudden, suspend_backoff wakelock came out, any clue how to fix this ?

besides that, i found out that mmc1_detect wakelock is there when i am connected to wifi, but when i am on 3g/4g usually mmc1_detect wakelock wont be there.
[BetterBatteryStats] xavihernandez:
Well, it seems that I don't get mail when setting connection refresh to one hour. I had received a mail at 2.36pm (I have checked on web interface) and I was obliged to force manual sync at 3.02pm.

Note that manual sync took more than 30s to apply.

I don't get it. I don't know why it has to take so much time to check for new mail. Note that I'm ont good covered 4G network.

May a logcat helps you ? Or you may have no idea of what is going on for my device.

EDIT : I have set refresh connection to 36 minutes, and I still not getting my email when they arrived. I have received one at 4.13pm, it got pushed to my mobile at 4.28pm only (15 minutes after Google server receives it)

EDIT2 : Post #26 https://code.google.com/p/k9mail/is...ilestone Owner Summary&groupby=&sort=&id=5707

This workaround works for me. Weird tho.
[BetterBatteryStats] Perseus:
34 minutes is a very little log duration. I still do not see that you had followed my suggestions.

Please use a different launcher. Kill Media Server (app by same name) if not playing a lot of music. Turn off Google Location Reporting and Location history. Reboot and then provide an overnight idle log.
[BetterBatteryStats] ixomon:
Running CM 11 (4.4.2), Phone is rooted, BBS installed as system app, it has su rights in supersu, still both services (BATTERY_STATS and DUMP) show in advanced tab, "not granted". I had to install as system app per hand, due to the function in the App is "falling" on my phone.

What might I have done wrong?

Sent from GT-I9505
[BetterBatteryStats] mdamaged:
Without a root install to see the alarms it might be difficult to say.
[BetterBatteryStats] winkot:
What about vbus_wake_lock? Is it normal?
[BetterBatteryStats] mdamaged:
It's a wakelock that's generated while the device is charging.
[BetterBatteryStats] winkot:
But device is not charging. Any ideas?
[BetterBatteryStats] mdamaged:
Bug? Try plugging it back into the charger, then unlock it, and unplug it from charger, that wakelock should not be there if it's a bug, else it can be caused by a faulty cable which makes the device think it's still being charged when it isn't.
[BetterBatteryStats] AshleyLiang:
Great job and good sharing

I'm now dealing with the problem of power consumption on my i9108, with Android OS constantly ranking NO.1 in the battery usage. I'm going to use this tool to see if any clue can be found. Thanks!
[BetterBatteryStats] R3KHYT:
Works great for me. Would be nice if several more wake locks were explained...

Gesendet von meinem SM-N9005 mit Tapatalk
[BetterBatteryStats] rufik:
Same here using CM11 nightly for HTC One XL (evita). Partial wakelocks are usually empty. See attached logs.
[BetterBatteryStats] winkot:
I did so. Nothing has changed

I use original cable. Any idea?
[BetterBatteryStats] xavihernandez:
Well it has worked for a while but I had to kill k9 again...

It may be due to my data drops...

May a logcat help you guys ?
[BetterBatteryStats] mdamaged:
I'm all out, sorry.
[BetterBatteryStats] Snake-Plissken:
Hi guys, I have a problem. I installed bbs and had trouble to get it to work. I also tried to install it as system app but that didn't change anything. Now I uninstalled it as system app inside bbs. But I still can't uninstall it in android. If I check in bbs it shows now again "install as system app"

I also did a restart but no change... how can I uninstall? If I delete the apk from data/app and it is still showing in launcher and if I click it, android tells me that bbs stopped working. Well of course it's gone ;) any tips for me?

Sent from my SM-N9005
[BetterBatteryStats] chamonix:
Please post a logcat of the 'fail' and I can try to fix it
[BetterBatteryStats] chamonix:
a logcat or it didn't happen
[BetterBatteryStats] chamonix:
maybe I won't be able to add that to b1 but alarm stats without root (assuming pre-kitkat) is in sight
[BetterBatteryStats] Snake-Plissken:
Logcat of what? That I can't uninstall?

Ok I was able to uninstall it and I installed it again. This helped before but now it stopped completely working.

Now I get

Selected from or to reference could not be loaded. Please refresh.

Even if I am plugged in it shows the same. Before it used to Sau that I am plugged in. Now I just get this message and nothing is working anymore...

The second drop down selector doesn't show anything anymore.

Sent from my SM-N9005
[BetterBatteryStats] Perseus:
0.1 % per hour in 7 hours is pretty good. If you wish, remove facebook and use their mobile website.
[BetterBatteryStats] winamp26:
I turn off wakeup , keep awake, auto start facebook app and other apps(i didnt need them) with trickster mod. :)

Sent from NEXUS³ via Tapatalk [CM 11-4.4.2]​
[BetterBatteryStats] mdamaged:
Hmm, his post shows that he gained 1% charge, it looks like a recalibration happened...so that would skew the numbers...
[BetterBatteryStats] jackennils:
Please, could someone take a look at this dump file?

Using a Galaxy S3 I'm loosing 30% battery over night. Having flight mode enabled everything is fine.

Thanks!
[BetterBatteryStats] ixomon:
If you want to delete bbs as system app manually you have to delete the file in system/app. Data/app is not enough.

Sent from GT-I9505
[BetterBatteryStats] fbf2201:
Your log is not useful.

Make an idle log.
[BetterBatteryStats] Lither:
I'm getting MediaScannerService wakelocks, how do I disable this?
[BetterBatteryStats] xavihernandez:
It shouldn't come next time. You may have wiped Multimedia Storage, or have added a microSD, or something like that making your device scan for media.
[BetterBatteryStats] Perseus:
I went based on the substraction of Voltage levels. He did discharge but prolly plugged in at some point.

Turn off or remove Location Service, Flashlight, Facebook, Google+ and Bluetooth/NFC (unless using). Reboot, leave the phone alone overnight and post that idle log.

There's an app called Kill Mediaserver. You may have to use it at each boot.
[BetterBatteryStats] Lither:
The Mediaserver Killer app doesn't permanently disable the MediaScannerService, I'll have to do it each boot?

In Autorun Manager app under Media Storage, there this receiver call com.android.providers.media.MediaScannerReceiver, by disabling this receiver, it will kill MediaScannerService at each boot without downloading the Mediaserver Killer app?

In BBS, it shows that MediaScannerService has been on for 30 secs
[BetterBatteryStats] Blue305:
Great and usefull app!! Thanx for your work!
[BetterBatteryStats] Perseus:
Some Roms allow for disable at Start. If you let it once to sort through your collection, it may come down.
[BetterBatteryStats] Serdil1034:
i9100 never goes to deep sleep (gps-lock)

Im not sure if this is the place for this, sorry if not. :)

I have read similar threads but non of the offered solutions worked for me. As you can see in the screenshots phone never goes to deep sleep. Minimum cpu usage is 200Mhz. There is no google maps or such gps using apps and location services is turned off. The phkne doesnt have any warrant and its been like this for a long time. I thought maybe xda community could help me figure out what causes it. Thanks to everyone in advance.
[BetterBatteryStats] xavihernandez:
Have you installed BatteryBetterStats on your device ?

If yes, follow OP instructions and post your log.

If not, then install BatteryBetterStats, and then follow OP instruction and post your log.

I'm pretty sure there will be lots of helpers :)
[BetterBatteryStats] The Mumbly:
Here is dumpfile. I rooted my phone few days ago, and uninstalled hangouts with titanium backup, but I still have some gtalk (hangouts) wakelocks.

Also I have phone wackeups (see attachment picture), is that normal?

Beside that, I know that viber drains my battery, but i need that app, anything else suspicious in this dump file?
[BetterBatteryStats] mr.ea:
Helped me to fix battery drain
[BetterBatteryStats] Serdil1034:
Sorry, i forgot to add the images. :)

The screenshots are from before several days when i left the phone locked for a while. I have just saved a dump but im not sure if it tells about the problem because ive been using the phone almost since unplugged. I'll take another dump under better circumstances later.
[BetterBatteryStats] xavihernandez:
Try to read that, apply, and get back here. Hope you reach to fix your issue.

http://xdaforums.com/showthread.php?t=1970238
[BetterBatteryStats] francwalter:
63200% awake while screen off

See screenshot:

I can read this sometimes in the info bar, it surely is a little bug.

But irritating.

If it was all the time awake, this should be 100%, but not more.

Fixable?

Seen on my Samsung Galaxy S2 with 4.1.2 and also with CM10.2

Frank
[BetterBatteryStats] Serdil1034:
Well, actually I had already seen that topic. I have neither Google Maps nor Google Now which were mentioned. I've now added everything installed about google.
[BetterBatteryStats] chamonix:
#446
[BetterBatteryStats] francwalter:
What #446?

You won't mean post #446 because this is not related:

http://xdaforums.com/showpost.php?p=16581098&postcount=446
[BetterBatteryStats] It_ler:
No, it's not a post no.

It's the bug no. https://github.com/asksven/BetterBatteryStats/issues/446

My tapatalk signature:

Phone:

SGS2 (GT-I9100)

ROM:

XWMS2 NeatROM Lite v5.6 (PDA: XWMS2 / PHONE: XXMS4 / CSC: MOTLS3)

Kernel:

Apolo v4.13

If you have any question about or any issue with your SGS2, just ask in the New members friendly Q&A thread.

Have a :eek: at my latest kernel test results.
[BetterBatteryStats] Perseus:
The Talk wakelocks are from Google Shared Services Framwork. Please disable or freeze that. Please reboot afterwards. You may get warnings from Google Play Store or Google Play Service. Ignore them.

It would be nice if you could enable Root Features of BBS. They are located under Settings > Advanced.

Based on what I do see, can you please turn off Google Location Reporting and its History ? Also please go to recovery and wipe Dalvik & Cache.
[BetterBatteryStats] The Mumbly:
I found only Google Services Framework, and not Google

Shared

Services Framework, is that same?

After I disable that will I have some problems with others google apps that I use? (example sync gmail, playstore...)

And if someone know answer to 2nd question about phone wakeups, is that normal?
[BetterBatteryStats] Perseus:
Yes Google Services Framework is the same. You may experience some issues of not being Signed in for Maps. I do not foresee issues with Gmail, pr Play store. You could always re-enable it once a week if needed.

By second question, if you are referring to phone not going bellow 200 MHZ ? Look under Others for Deep Sleep times.
[BetterBatteryStats] The Mumbly:
Thank you Perseus!

No, I mean why so many wakeups? Here's the picture: http://dl.xda-developers.com/attach.../7/9/0/3/9/Screenshot_2014-02-14-12-14-15.png

Why 97 wakeups over the night when phone supoused to be in deep sleep, I didn't use it. Is that OK?
[BetterBatteryStats] Perseus:
Can't see that attachment. Your previous screens do not show this.
[BetterBatteryStats] Usraek:
Hello, I was directed to post here in this thread.

After being frustrated with my battery life recently and trying pin down the problem I'm stumped. I've read everything I can. I've monitored, calibrated, leave all radios off, don't game, flashed roms, different kernels, checked for physical battery defects, wakelocks, etc and the works.

I'm not sure how I feel about non-genuine replacement batteries with questionable capacity... Though if they are likely to increase my performance, feel free to sway me. I'm also thinking of picking up the Zerolemon slim varieties next time I go to the USA. (Shipping costs to Canada are obscene)

I'm running a T-Mobile Galaxy S3 on Wind Mobile in Canada.

I'm attaching my dump file and screenshots from a full charge this morning. I am running PacMan AIO, and I have shots from a different Touchwiz based ROM in another thread, they were worse.

Please let me know if I've missed something and I'm stumped.

Cheers

(Original screen caps here: http://xdaforums.com/showthread.php?t=2640324 )
[BetterBatteryStats] Perseus:
You should enable the Root Features of BBS under settings. Without that you can only see half of the log. Also you should grab a log after letting the phone sit idle overnight.

Please remove Facebook and cLock app and then reboot. You do have signal issues so turn off Data and connect to WiFi when you leave overnight.
[BetterBatteryStats] Usraek:
Ah, my bad I thought I gave it root. It did ask for it!

So I'll attempt that, and admittedly the signal is quite poor for my service, but someone in the household has quite a bit better battery despite same service.

Thanks, I'll look into it further.
[BetterBatteryStats] Serdil1034:
The root features are already enabled. I loaded the updated screenshots of the current situation. I dont have tims right now but i will try those when i get back home. Thanks. :)
[BetterBatteryStats] Serdil1034:
I have wiped cache and dalvik cache from recovery but i can't see any "Google Location Reporting" or at least i don't know where it is or how to turn it off. I posted screenshots of everything starting with google that are under settings>applications earlier.
[BetterBatteryStats] Dr. Bunsen:
thanks for making this 2.1+

I got an super old mobile which I use as a second XD (I5700)
[BetterBatteryStats] xavihernandez:
Well look into Settings > Privacy > Location tab and see what is using Location.
[BetterBatteryStats] Usraek:
Well, here is my log after letting it sit all night. My battery didn't really do anything, knocked off a few percentage. I'll wondering why my screen time is so horrific? How can other people get 2h plus and my phone is screaming after less than an hour on minimum brightness.

Thanks again for the assistance!
[BetterBatteryStats] steffen-b:
Hi,

after an update to CM10.2.0-mint my battery drains by almost 8% per hour. My BBS export is attached. Is there something I can do?

Thanks a lot

steffen
[BetterBatteryStats] Perseus:
There should be an app called Google Settings on your phone. Look for location settings inside. Or you can also access from your Settings > Locations. Lastly check under settings for Google Maps.

In the Log Alarm tab is empty. That tells me, you either not turn on Root Features from the BBS Settings or didn't grant root access to BBS. You need to be able to see your Alarms in order to know what is keeping the phone awake. Do you have any kind of Kernel Mods, tweaks or scripts running that control CPU frequency ? Can you please turn them all off, reboot and then get another such 5 hour log ?

Please Turn off Google Location Reporting and Google Location History. Do change your launcher.

Please Change your Launcher. Turn off Google Location Reporting and Google Location History.

Please follow @Karpfenhai's mod linked on first page of the thread.
[BetterBatteryStats] dEris:
Nova Prime is eating my battery??

▶[DEVICE : LTE N⁴]

▶[ROM : crDROID]

▶[KERNEL : BRICKED]

▶[LAUNCHER : NOVA]

▶[CARRIER : T-MOBILE]

▶[SCREENSHOT : FEB.2.2014]
[BetterBatteryStats] vibrantliker:
In your instructions, you say "save a dump and check that the chapters "Kernel wakelocks" and "alarms" (if you have root) are populated"

Is that under the Dumpfile settings? If so, my "kernel Wakelocks" option is greyed out.
[BetterBatteryStats] ankith7:
Can somebody help me?
[BetterBatteryStats] vibrantliker:
Can I ask for help also?
[BetterBatteryStats] mdamaged:
Change your Dormancy setting...it looks like whatever your provider supports (or not supports), your device does not like.

I might suggest you uncheck some of the google syncs that you don't use, maybe disable google search...use greenify on it if you have need of it, disable auto update in play store globally.
[BetterBatteryStats] vibrantliker:
Thanks!
[BetterBatteryStats] spaazm:
I have just recently noticed that my phone is awake for the most time. It does enter deep sleep from time to time, but screen on to awake ratio is terrible:

And what is this dt_wake wakelock? I've searched for it without any luck unfortunately:

msm_hsic_host is so high probably because at the place I work I loose cover very often.

These wakeups bother me a lot as well. No idea why they are so high:

I've put logcat and BBS dumpfile on pastebin. I can't figure it out how to attach them using tapatalk.

http://pastebin.com/KNrjfBzh

http://pastebin.com/K6PaFBER

I'm on CM 11 M3, kernel moob v25cm and core gapps from Banks. I got nexus4.

If you could please help me understand my issue I'll be eternally grateful.

Edit: I've just discovered that apparently I've had location enabled. Device only to be precise. I don't ever use it so I've probably switched it on by accident. Could it have anything to do with my issue?
[BetterBatteryStats] AF_624:
hello to all,

i have a question (maybe it has been answered somewere, but this thread has more than 2000 pages)

using kitkat bbs is always killed by the system, so widget never updates when screen turns on and i never get notifications when the phone not enter in deepsleep.

there are anyway to solve this? maybe lock the app in memory???

i m using na Samsung galaxy S2 with SlimKat rom.

thanks
[BetterBatteryStats] FlanjeUK:
1. Did you read the Q&A on Page 1?

2. Did you make BBS a System app?

Sent from my 9505GTi
[BetterBatteryStats] AF_624:
thanks for your answer.

yes i read and yes i make... :)

but when i clean recentes, bbs gets killed...
[BetterBatteryStats] FlanjeUK:
Well don't clear recents... :P

Sent from my 9505GTi
[BetterBatteryStats] AF_624:
:p

all my other apps stay running.

ok there is no solution.... i guess
[BetterBatteryStats] pjadec:
Why not use xposed module and addon Enable BATTERY_STATS In KitKat?

Then install normally BBS.

This should work for Android 4.4.2 roms.

This method works fine unofficial CM11 4.4.2 DHD
[BetterBatteryStats] AF_624:
i try this method too...

bbs works, but its not running in background, so i dont get notifications... thats my problem
[BetterBatteryStats] pjadec:
Then add App Settings module to xposed. then in App Settings app / select BBS / enable it and select resident then save it.

Then BBS should not get killed
[BetterBatteryStats] AF_624:
thanks...i will test your tip...

i m using app settings already :)

edit

bbs was running in background for a while, but one more time it gets killed... no luck
[BetterBatteryStats] Perseus:
It does chew a lot with its Widgets and what not.

They are not under Dump File Settings. They are under Settings > Advanced > Root Features.
[BetterBatteryStats] mj_godam:
my battery draining so much even in an idle state

I dont know whats the problem, and it stresses me out so much

my phone is Samsung GT I-9500, and I haven't rooted it yet

can someone help me out of this trouble that I got myself into?

thank you in advance
[BetterBatteryStats] cheezzzz:
hey guys i just flashed to stock and noticed a ridiculous drain overnight. i am convinced low signal plays a part too, cuz im always at 2 or 3 bars out of 5. anyway, here's the log. thanks.
[BetterBatteryStats] mdamaged:
You should probably edit your post, delete that stuff, and attach the log as an attachment.
[BetterBatteryStats] Perseus:
Please change your launcher. Remove Facebook or disable it. Turn off Location Service. Post new Log after these changes and reboot.

For you the same advice. Facebook, Location Service and Launcher. Post a new idle log for 6-7 hours after these changes and reboot.
[BetterBatteryStats] dehsA:
Also just saw this draining my battery the other day for the first time. Seems like it's not a usual occurrence since only a few people have mentioned it? :confused:
[BetterBatteryStats] ragers:
Hi. Please take a look at my dump. I have a new battery. I read in dump thats Wifi Running Ratio: 100,0%, but i shut em down, is this a bug?

Thanx!
[BetterBatteryStats] AA1973:
Since Android 4.3 "Wifi scanning always available" is an option in WiFi > Advanced Settings. Might still be ticked.

Sent via GALAXY NOTE N7000 // KitKat
[BetterBatteryStats] Perseus:
1 Hour is very low amount to log. Please take at least 4-5 hours of idle log.
[BetterBatteryStats] RS050377:
Does BetterBatteryStats drains the battery during logging? I mean should it be uninstalled after analyzing the battery or could it stay on the phone all the time?
[BetterBatteryStats] Perseus:
It does not drain battery unless you turn on Active Monitoring. I would not uninstall since its good for Ongoing monitoring.
[BetterBatteryStats] Android_Raj:
Is this the same version as on the Playstore, as the Playstore one is a paid version.

Thank you for your help
[BetterBatteryStats] Perseus:
They are same version. But I'd buy the Playstore version as Credit and respect for [MENTION=1330150]chamonix[/MENTION]. He posted the app here for testing and user feedback.
[BetterBatteryStats] Lither:
I've these three partial wakelocks, can you describe what these are and how to avoid it please,

RIJL 1 min 54 secs

ActivityManager-Launch 1 min 53sec

ConnectivityService 58 secs
[BetterBatteryStats] TheKingOfPain:
RIJL is related to signal coverage (as in bad coverage) or fast dormancy issues.

ActivityManager-Launche related wakelocks could be because you have some open process running in backgroung that you didn't quit before locking the screen

ConnectivityService you either have some data connection requiring app caching in background, or it's related to bad data coverage.
[BetterBatteryStats] spaazm:
I've pinpointed my problem to "dt_wake" kernel wakelock. Unfortunately the only trace of it in logcat points to StatAdapter by BBS. I'm a bit stuck with my investigation right now.

Could you possibly know what is "dt_wake" responsible for?

It's been keeping my phone awake for over 5 hours over 8 hours, while having screen on for a bit over 2 hours. I'd love to get to the bottom of this.

All the details are in my last post . I can produce more if necessary.
[BetterBatteryStats] readon1:
Which kernel are you using? It is the double touch to wake that is causing it, probably

Verstuurd vanaf mijn Nexus 4 met Tapatalk