yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] It_ler:
You have some massive kernel wakelocks.

One is most likely caused by your phone's Fast Dormancy state. Change it to check if "secril_fd-interface" wakelock will decrease.

I see that GMail, Facebook and lockclock (cLock) are active on your phone. Disable auto-sync/auto-update/auto-refresh/etc. of those apps.

Hopefully this can reduce alarms and lead to better battery life.

I am not sure about the rest. Maybe a bad modem. (Have you weak mobile connection? Or turned on Flight mode?)

Anyway, highest number of alarms is from:

com.google.android.gms (): Wakeups: 502

So check again all system and Google settings/options, disable everything you don't really need.

And in post #3 you can find a link to a nice instruction of how to optimize Google Play and Google Service Framework (GSF).

Disabling some autostarts may help to gain additional power.
[BetterBatteryStats] razen_kain:
My signal is not perfect where i live but i have 2-3 bars at all times do it's not too bad. I have considered trying a different modem. I may try that. Idk why Facebook is making alarms. I have it greenified. I will checkout post 3. Thanks for your time and input. I really appreciate it.

---------- Post added at 09:37 AM ---------- Previous post was at 09:33 AM ----------

System partition and internal storage are not the same thing. There's an app called partition table that will show you what is available on your different partitions.
[BetterBatteryStats] anonymous-bot:
Any response? I am wondering if the F-Droid version of BBS is "okay".
[BetterBatteryStats] Lither:
CM11 was installed a day ago so I presume I have enough system partition as BBS worked when I used a AOSP ROM
[BetterBatteryStats] razen_kain:
System partition is a little slice of your total internal storage that's been allocated for system apps such as camera, nova, gallery, etc.... Different ROMs can allocate different sizes for this and different gapps can take up more or less space. I also used cm 11 and before i can install bbs and superSU to system i always have to use tibu to go remove some unnecessary system apps before they will successfully install to system.
[BetterBatteryStats] NoSpamDan:
Hi, I have a large kernel wake lock named mmc3_detect. I would think that is a pretty common or well-known one, given the name "mmc" (sd card), but I searched Google and XDA both for mmc3_detect and mmc3 and still can't tell what it is or what is causing this KWL.

Can anyone here explain what could cause this? Thanks.

EDIT: I did see polarbearno's post and info about mmc_detect in the following thread, but it seems to have eluded most: [GUIDE] The Total Newb's Guide to Wakelocks. My 64GB SDHC card is virtually brand new and I haven't seen any issues with it until today. Running BeanStalk 4.4.270 on my Skyrocket...
[BetterBatteryStats] Perseus:
Do oyu also have Media Server wakelock ? They probably are. Even then use the app "Kill Media Server" and you are all set.

Don't use latest. Try few releases back.
[BetterBatteryStats] NoSpamDan:
Thanks. I didn't see Media Server along with it. I removed the SD card, scanned in my laptop for errors (none found), rebooted my phone, and re-inserted the card.

Plugged into the charger briefly for BBS unplugged trigger, and after 1h 10m, the top KWLs I have are:

PowerManagerService.WakeLocks at 2m 27s

sdio_dmux at 54s

mmc3_detect at 32s

mmc2_detect at 24s

sdio_al at 21s

I realize this wasn't a full idle test, but for whatever reason it looks better now. I'll monitor...
[BetterBatteryStats] Perseus:
Kill the Media Server anyway. Your Battery will thank you.
[BetterBatteryStats] NoSpamDan:
OK, but won't that prevent recently taken photos and what not from showing up immediately in apps like QuickPic, etc.?
[BetterBatteryStats] Perseus:
Don't believe so. But if it does cause problem, the same app can restart it.
[BetterBatteryStats] Karpfenhai:
Just push the apk manually to /system/priv-app , set permissions (644-root-root) and reboot, will work then.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Ben Folds:
Massive Battery Drain

I'm really hoping someone in here can give me some advice. My battery is draining very quickly, with moderate use it only lasts about 6 hours. I've been researching this stuff for about a week and have tweaked all the usual suspects. I'm very new to analyzing this kind of data, but have seen a few apps that I could freeze that I never use. But, even that doesn't help the battery.

The log attached was after a full charge, I unplugged, rebooted, and then let the phone sit idle for around 4 hours. (I hope I did that right)

I'm also 100% wifi when at home. I turn on Airplane mode, then wifi. That seemed to get rid of the "Call Standby" in the phone's regular battery usage page.

Any help, or advice, with what's going on with my phone would be greatly appreciated!! :)
[BetterBatteryStats] pitastrudl:
turn off forsquare notifications, turn off location reporting and tapatalk notifications. And did you ever think of buying a new battery? inspire is quite an old device.
[BetterBatteryStats] Ben Folds:
It is a new battery. I don't have a forsquare app (never have). And if tapatalk is referring to the xda app, I can turn that off (they never come through anyway). As far as location reporting, it is turned off in browser and all Google stuff. Unless the BBS log is seeing an app or something I may have missed?
[BetterBatteryStats] henry8668:
Could anyone help to check my BBS log? This is a spare backup, I used this phone for less than 2 minutes and would like to use less battery. Thanks!
[BetterBatteryStats] mikelulz:
Something happened after root and now it will barely go into deep sleep. After root I installed xposed framework, wanam module, greenfield a bunch of apps, fixed note 3 gps issue by replacing AT&T gps files with international gps files. I don't see what would cause it to stay awake. Any help/suggestions?
[BetterBatteryStats] pitastrudl:
you lost 0.6% per hour, how is that not good?

turn off wifi when you're not using it. you had it on 100% of the time
[BetterBatteryStats] nreuge:
[MENTION=1330150]chamonix[/MENTION]

I think it would be a great thing to have a new simple widget (1x1) showing the discharge rate (%/h), or at least to add this in one of the 3 widgets.
[BetterBatteryStats] Ben Folds:
Post #: 23128

Like I was saying in my original post, the log was from an idle state, which was recommended on the first page of this thread in the instructions. And also I read to do that all the way through this thread. You're right, .6% per hour is great, but as soon as I wake up the phone and start using it in moderation, I only get about 3 hours max. And that's 3 hours of only like checking and email once an hour, and maybe use the browser for about 10 minutes. It just rapidly starts draining. Yeah, the battery would last days if I never touch it or use it.

It's cool if you don't want to help, someone else may jump in if they feel like it. I'm just trying to educate myself on all this and was hoping a second set of eyes, that was familiar with these logs, could see something happening that I have no clue about. I do appreciate your time though.
[BetterBatteryStats] Perseus:
Vonage is going really insane in keeping the phone up. Its followed by Visual Voicemail. Turn off either Notifications.

Idle Log would have been better. I see Double Twist player used for 30 minutes or so. Also Location Service needs to be turned off. Ultimate Custom widget needs to be removed.
[BetterBatteryStats] dimm0k:
if I'm correct, the readings at idle state with BBS tell you whether your device when not used is good or bad, which in your case is good. from there anything you do to bring it out of idle state will be dependent on what you do and how you do it... if your screen brightness for example is at high, any usage is going to sap the power fairly quickly.
[BetterBatteryStats] henry8668:
Thanks. This is in Andriod 4.0.4, I don't seem to find the notification checkbox as in Android 4.2. How do I turn off notifications?
[BetterBatteryStats] Lucius1972:
Hi everyone,

I need your help please.

I used to lose 2-3% a night (6-8hours, wifi always enabled, syncing etc) but now i`m losing 9-10%, i think something is wrong, draining my battery too much.

Could you please check the dumpfile for something weird?

Many thx in advance.
[BetterBatteryStats] cinciopillo:
No app is listed on first 3 positions of thal list.

The "app" that use the most CPU is Android System (30% or more) and then Android Operating System (15% or more).

Both process take 45% or more of battery drain.

I'm tempted to do another factory reset....
[BetterBatteryStats] matraca:
Well I am back again. Turned off data and wifi and I am still loosing battery like crazy. Can you please take a look at this. Thank you.

www.dropbox.com/s/00yps9751j356uw/BetterBatteryStats-2014-04-02_060055143.txt
[BetterBatteryStats] mikelulz:
Here is the requested idle log. I turned off Location Services and uninstalled uccw. I noticed a ipc00000024_er.serverthread kernel wake lock. I searched for solutions and no one could find out was causing it. Any help?
[BetterBatteryStats] Perseus:
You'd have to go into the App's Settings.

The Weather app needs Location and hence drains the battrey. Please set a fixed location within the app. Also turn off Google Location reporting. Better yet turn off Location Service alltogether.

Please can you attach the log here ? I have firewall issues.

Can you turn on Root Features of BBS ? They are located in Settings > Advanced. The log is incomplete otherwise.

I think you might have signal issues. Can you try and change the Radio / Modem as well as Kernel ?

Yes Facebook is the biggest drain. Please turn off Location Service. Remove Today Caledar widget.
[BetterBatteryStats] pitastrudl:
logs by [MENTION=5509427]matraca[/MENTION]
[BetterBatteryStats] bsined:
1.16 B3 on 4.3 and BBS is not always recognizing power disconnects, boots, and charged references when Enable while charging is ticked. I know it's an experimental feature that may not work properly - just reporting the bug.
[BetterBatteryStats] henry8668:
app settings in android 4.0.4 doesn't have the checkbox for "show notifications", looks this is a feature after android 4.1
[BetterBatteryStats] dEris:
Thank you. I want to keep Facebook, any suggestions on how to keep the Facebook wakelock to a minimum? Also, location is set to battery save with location reporting off. I removed widget. Will report back. Thanks

-------------------------------------------------------------------------

[DEVICE : N⁴] [ROM : crDROID] [KERNEL : STOCK-OTG]

[LAUNCHER : NOVA] [CARRIER : T-MOBILE]

[SCREENSHOT : MAR.25.2014]

​
[BetterBatteryStats] Perseus:
Thanks @pitastrudl. That's very kind.

@matraca, Your log is bit messed up. You plugged the phone in during the Log period. So I don't get true picture. But based on what I do see, you may benefit from @Karpfenhai's mod. I have linked it 3-4 times in last few pages.

You do seem to have signal issues. Is that the case?
[BetterBatteryStats] matraca:
I have done the GSF mod and still need to do the play services mod. Signal is spotty at home, you think this is the reason I get this drainage? I will do the gps mod and see if that makes any difference.
[BetterBatteryStats] Perseus:
Yes Spotty signal could be the issue. You can try and change Modem / Radio to see if that helps.

Best if you turn on Airplane mode briefly and turn it off everytime you reach home.
[BetterBatteryStats] matraca:
Will do, thank you.
[BetterBatteryStats] Ben Folds:
Hey, thanks for clarifying that, about what the Idle state log does. That's definitely good to know from you that everything looks ok in sleep mode, I guess that narrows the problem down to my daily use. It's so weird... after reading tons of online help about battery saving stuff, I thought I had pretty much got the phone down to a bare bones operation: screen brightness on like one notch, only syncing Gmail (as far as Google stuff), FB on max interval of 4 hours, gps and all locations off, my background running apps are minimal after using Greenify (usually around 300 mb free ram).

I'm puzzled :confused:
[BetterBatteryStats] Perseus:
For the love of All Mighty, please use HIDE Tags. Its the last button on the new post toolbar.

Again this time, I have muddled log. Reboot your phone and then let it sit for 3-4 hours without plugging in. If you plug in we have inaccurate log.

Nothing Short of Re-writing Facebook app will cure it. Others may suggest Greenify to control Facebook. But I don't recommend it.

Post a fresh log. This time Reboot and turn off Data but connect to stable WiFi. Don't plug in but leave it alone completely. Do this preferably overnight.
[BetterBatteryStats] dimm0k:
Any particular reason on your recommendation to not Greenify FB? just wondering...
[BetterBatteryStats] dEris:
Could you explain why you don't recommend it? I have the donation version. Thanks

-------------------------------------------------------------------------

[DEVICE : N⁴] [ROM : crDROID] [KERNEL : STOCK-OTG]

[LAUNCHER : NOVA] [CARRIER : T-MOBILE]

[SCREENSHOT : MAR.25.2014]

​
[BetterBatteryStats] Perseus:
Please use HIDE Tags. Turn off Location Service so Google Now won't chew up your Battery. Remove Facebook.

Won't go into it for the fear of De-railing this thread. Its fundamental premise it wrong on so many counts.
[BetterBatteryStats] Ben Folds:
Original Post #: 23128

Hey Perseus (cool name btw, slayer of Medusa), that's actually what I did with that log: 100% charged, reboot, hit airplane (the only way I figured out how to turn off the cell radio from searching for a signal), hit wifi (which is always a stable and strong connection), hit sleep, then I didn't touch it until I woke up, when I immediately went into BBS to create log. Unfortunately, I only sleep around 4 hours, which is the amount of time the log was generated for.

I definitely can do that again tonight if you'd like to look at another one?

Question for you though, I noticed BBS sees my phone as having a 100% data connection at all time when I am in Airplane mode, like it's still searching for a signal, is that normal? On the stock battery usage screen, Airplane seemed to get rid of the "Cell Standby" with usage.

Oh, and I don't necessarily always watch the wifi signal status, but it's generally around 4 bars. In Advanced wifi, I have "scanning always available" turned off, but wifi optimization checked. I tested optimization vs. not having it, and with it the wifi only uses 3%, whereas not using it uses 6%.

Thank you very much, Perseus, for taking the time to help me :)
[BetterBatteryStats] Perseus:
Yes Do it Again tonight. But follow these Steps.

1. Reboot and then manually turn off Data Connection. Either through Quick Settings or Settings > Data. DO NOT use Airplane.

2. Connect to Wireless make sure it has internet access.

3. Make sure to Set Wi Fi Always on to NEVER. Its in Advanced wireless Settings. Also turn off Location Service if on.

4. Leave the phone alone and don't plug it in. Owner Sleep away. :)

5. Upon waking up get the Log.
[BetterBatteryStats] Ben Folds:
I can't completely turn off Data without using Airplane mode, otherwise the phone radio keeps searching for a signal (it seems) because Cell Standby kicks in eating up 25-30% of the battery. I fiddled with all these settings a few weeks ago, trying to turn data off, restrict background data, turn off data sync (all these settings are under "Settings -->Data Usage"). Nothing works. That's why I resorted to Airplane to shut down the cell radio. I don't get any signal at all when using this phone in my home office (which is what I use this particular phone for). So, I keep it as a wifi only phone since I don't get a network signal here.

I didn't have that problem before rooting and using a KitKat cm rom. The settings options have changed. I'd like to get off Airplane mode, I hate that little icon in my status bar, lol. Anything you can think of to use wifi only and stop that darn cell radio from constantly searching for a non existent signal would be great! ;)
[BetterBatteryStats] Lucius1972:
Hi Perseus71,

first of all thx, i followed your advise, set a fix location in the weather app even completely turned of Locatio Service, uninstalled 3GWatchdog as it also was high in the BBS list.

But it even got worse this night (lost +- 18%, 2,5% an hour :(), see attached log.

FYI, i use greenify to freeze some apps (no system apps), i`m on latest Madry ROM (AOSP) with latest KT kernel if that helps.

ROM also completely froze this morning, needed to pull battery, i also checked the battery if it was swolen (bad batch) but the serial starts with AA from the battery so i think i don`t need a replacement.

Could you have a look again and advise pls?, this is hammering me.

Thx again.
[BetterBatteryStats] Acer4605:
I've just started to read this thread and installed bbs to start with

I greenified googlemaps deactivated Google search in system tuner I deactivated GSF Google search changed the Google play services to userapp but didn't do anything with it. just greenified it

I installed the app wifi timer in order to activate/deactivate my wifi in the hours that I don't need it.

however I feel I still have a high battery consumption

in attachment you will have my BBS stats please advice
[BetterBatteryStats] kaushikd:
Is this normal?

Sent from my Nexus 5
[BetterBatteryStats] gohamstergo:
No. Does it still do it after a reboot?
[BetterBatteryStats] Perseus:
Very Curious indeed. You know what ? Here's what you can do. Reboot first. Turn them both Data AND Wireless to off. Under Data Usage, there should a checkbox or something to just turn off Mobile Data. If so, then uncheck it. Next Do not turn on Airplane mode. Just let the phone sit Idle without you touching it for at least 3 to 4 hours. Then post the log. I am interested in seeing what makes it search for signal.

Your Log did not have an Unplugged Reference. So its not of much use. Can you please plug the phone in briefly then hit refresh within the BBS ? Next Unplug and refresh again. Let it sit Idle after that and then post me a log.

Based on what I do see in this log, you have some noisy device on your wireless lan.

Turn off Location Service. Do you need the TrustGo Security ? If not remove it please.
[BetterBatteryStats] kylealanr:
Paranoid Android 4.2 Beta 3 Superuser

PA 4.2 Beta 3 started using Koush's Superuser instead of SuperSu, I've searched all through this thread and it seems that any compatibility issues have been fixed, but I can't get BBS to prompt for root. I know I could always flash SuperSU, but that presents weird issues with PA now. Does anyone have any suggestions?

I've tried clicking install as system to force the prompt and it just says failed, I've tried clearing from recents and clicking root features again with no luck, I've tried a few reboots and clearing the data on the app, still nothing.

GSam Battery Monitor is showing huge kernel wakelocks, but it just presents a list without telling you which wakelocks are being called and held the longest.

Edit: I had to wipe the system partition, manually removing the SuperSU app and binary from a dirty flash didn't do the job. BBS working fine as far as I can tell now.
[BetterBatteryStats] Perseus:
Sven, I had to roll back to 1.15 after desparate (and disparate) tests to try and make 1.16 versions work. 1.15 is Rock Solid though. All I had to do was to grant Root privileges. The App is NOT A SYSTEM APP right now. Still seems to be doing pretty fine. I will pull a log after few hours to see if Alarms and PWLs pull okey.
[BetterBatteryStats] chamonix:
Well let's say: it's not from me. Someone has built BBS, uploaded it to fdroid, doesn't seem to maintain it and has left my contact for doing the support. I'm not very amused by the situation and would recommend using it, especially if you feel like supporting what I do
[BetterBatteryStats] anonymous-bot:
Thank you; that is what I wanted to know.

BTW you mean not recommend using it, right? ;)
[BetterBatteryStats] chamonix:
I can't see any relation between the option and the behavior you describe. What is experimental is to show stats while charging as some counters are not accurate due to userland. This shouldn't impact the detection of the mentioned events like unplug etc.

Do you have anything installed that could prevent these events to be passed on to BBS like:

- powersavers, greenify, sony stamina mode or anything the like where BBS is not whitelisted

- BBS was installed to SD using a workaround

If none of the above apply, could you please post a logcat showing the unsucessfull detection of any of the events you have problems with?
[BetterBatteryStats] bsined:
Ah. That and a reboot did the trick. Thanks.
[BetterBatteryStats] Acer4605:
Perseus thanks for your answer,

If I change the location service from GPS towards wifi can that be a good alternative?

TRustGo security can be removed

I also noticed that in the partial wakelogs the wifi is active despite the fact that it's turned off?

I will provide a new logfile later in about 1 hour then my phone has been idle for about 3 hours with no wifi or data activated.

edit

in attachment the new log file

another question concerning TrustGO can there be a benifit to greenify it or is it advisable to remove it completly?

did not removed the app yet since I just have read your reply and had to keep the phone idle.

thanks again
[BetterBatteryStats] Lucius1972:
Hi Perseus71,

Wanted tot provide a dump this morning but phone froze, needed to reboot but as far as i could see only lost 5% last night (+-8 hours).

I think it's kernel related as i flashed another kernel.

Will provide another dump asap.

Thx again for helping me out here buddy!
[BetterBatteryStats] razen_kain:
Go to system settings/Wi-Fi/menu/advanced/uncheck "let apps scan for Wi-Fi even if Wi-Fi is off".

That will fix your Wi-Fi running 100% of the time whether it's on/off
[BetterBatteryStats] Acer4605:
thanks
[BetterBatteryStats] Ben Folds:
Ok, I followed your steps and here is the log. I did touch the phone once in those 4 hours, just to see the battery % from the lock screen. I was afraid it was going to die.
[BetterBatteryStats] Perseus:
Changing Location Service from Device to Wifi typically drains more. But do give it a try. I'd rather turn it off completely. Although I don't recommend Greenify, you are welcome to try on Trustgo.

From the log, Your email's been active. Can you set it to Longer frequency ? Switch to K Mail and set that to Pull. Also in this log I see quiet a few Kernel threads in Limbo. What was going on during those 2 hours ?

Facebook and Yahoo Mail need to go period. Is the App Media utilities critical to you ? If not then remove. I don't see any cause for the Device to search for signal. Play Store did contact mothership to check for updates. You had Wireless on for 4 minutes. Could that period it did. But I don't see any other reason for Alarm. My suspicion is on Facebook making the phone search for signal.
[BetterBatteryStats] Acer4605:
Don't know what was going on I was having my phone Idle in order to produce a good logfile

does k mail also support imap?
[BetterBatteryStats] Perseus:
I don't use K-Mail but I believe it does support. Others had good results.
[BetterBatteryStats] Jeneral2014:
what a great info. thank u :)
[BetterBatteryStats] Ben Folds:
Thanks for looking at that Perseus :) I tried uninstalling FB, turned off Airplane, rebooted, and the Cell Standby still kicks in with 100% no signal. Yeah, you're right about Yahoo mail, I keep seeing it in my background processes too. And Facebook. I'm not sure how Play Store got connected, I have all auto updates and notifications off in the PS app, and the only thing checked for Google syncs is Gmail... "Mothership," that's hilarious ;)

I guess I'm not sure what to do next seeing that there are only a few offenders, which I will adjust. It's good to know now what they are and I'll try a few days without them and see if there's a noticible difference in battery life.

Seriously, thanks for your time Perseus and help. I have learned a lot from this and have gotten tons of tips from advice you've offered to other people in this thread.
[BetterBatteryStats] snookermeaw:
great app