yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Christiancs1969:
Looks like we have been through same issues....
[BetterBatteryStats] PolliRuth:
Thank you, I will try that!

I have also been seeing the bam_dmux_wakelock along with the MBALBRIDGE. I've been watching and seeing that it wakes constantly while wifi is off, but as soon as I turn wifi on and leave it on it behaves very nicely with only a few wakeups! I'm beginning to think that some app I told to upload on wifi only is feeling rebellious when wifi is off. I'm going to go through all apps and change that setting to see if that will help!

Thanks again for your input! Any more wisdom will be appreciated!
[BetterBatteryStats] Karpfenhai:
You need to fix your Google-foo,

Mbalbridge is clearly modem related traffic on Qualcomm powered devices.

May also being caused by Bluetooth activity (LG).

I would assume it disappears in flightmode?

I would (imho) rule out usb activity then.

Regards
[BetterBatteryStats] kaushikd:
Is it working properly in 5.1 too?
[BetterBatteryStats] hooliganx:
read 16 post back, man!

just search... [emoji37]

n5slimpop.reS28raM.1.0dxposedgapps.15.03.11

elementalx.2.10rd2.25v4a.2.3.4twrp2.8.3.0

-----------------------------------------------------------
[BetterBatteryStats] kaushikd:
Oops, I should have read that. But I'm getting this error.

Sent from Hammerhead!
[BetterBatteryStats] munichsfinest:
Did a clean flash of 5.0.2 today and now BBS just shows a white screen when I try to open it. Any ideas?
[BetterBatteryStats] haseoxth:
Install "SELinux Mode Change" and set the selinux to permissive. Works well on my device
[BetterBatteryStats] kaushikd:
I tried that as well. Still it's not working.

Sent from Hammerhead!
[BetterBatteryStats] gil80:
Hi all. Can someone help me to setup BBS to understand why my device is not entering deep sleep?
[BetterBatteryStats] Tylonhh:
You mean to help reading? (the 1st post)
[BetterBatteryStats] gil80:
Ha. No, not that mate :)

I've creates custom ref point and let the device run and then verified its not entering deep sleep but, I don't know what to look for in the log files. Should I post them here or is there a dedicated thread for logs?
[BetterBatteryStats] Tzfardaya:
Yeah, I'm so confused... Do I need to install the app first, or are they log files I can just grok?
[BetterBatteryStats] gil80:
Install the app first.

Follow the instruction when you first lunch the app.

After installing as a system app, lunch it and set a custom ref point.

Close the screen and let the device rest for a while.

After a while, open the app and click on the share icon to export the log files.

From here, we're on the same boat.
[BetterBatteryStats] Tzfardaya:
Basically check your wakelocks to see what's keeping the phone from deep sleep... Partial and kernel are good enough for rough work. The longer you can let your phone sit idle, the better the reads of what's keeping the phone awake.
[BetterBatteryStats] gil80:
Nothing is making sense. The lists shows only few minutes for each app bit the phone never enters deep sleep even after not touching it for an hour
[BetterBatteryStats] Tylonhh:
Let us see and spoiler the log
[BetterBatteryStats] gil80:
https://www.dropbox.com/s/vxdm9zsq5i9e5i7/BetterBatteryStats-2015-03-16_182022288.txt?dl=0

https://www.dropbox.com/s/om9klujzlxv92bn/logcat-2015-03-16_182022407.txt?dl=0

That's what I get
[BetterBatteryStats] Tzfardaya:
That was all idle time? No usage?

You've got a score of things all holding wakelocks for about 30 minutes each... More than enough to have held it awake for the near 5 hours... Were you listening to play music during that time? Seems odd you'd have play music holding wakelock that long if you weren't.
[BetterBatteryStats] gil80:
I wasn't touching the ✆ so I have no idea why I have these running
[BetterBatteryStats] Tylonhh:
Did you set a cust ref?

Please spoiler your log! I don't wanna download a log, search it, open it, switch the app again, give a feedback, and delete your file.

And this several times.

Sorry, no support for downloadable logs.
[BetterBatteryStats] ZILLFISH:
Forgive my ignorance, but what does "spoiler your log mean"?
[BetterBatteryStats] Perseus:
Happy to take a look, if you want, Can you Re-Host

https://www.dropbox.com/s/vxdm9zsq5i9e5i7/BetterBatteryStats-2015-03-16_182022288.txt?dl=0

to PasteBin or Attach here? I've firewall issues.
[BetterBatteryStats] Tzfardaya:
Means to use hide tags around your log text posted here

Like this
[BetterBatteryStats] learlear:
I need clarity about these readings. it looks confusing to me as I'm a real noob. I don't know why my phone drains a lot of battery while I'm not using it. sometimes android OS takes like 60% of the total consumption. what I really want is to know exactly which process or system app is draining my battery. then I would be glad to live without it.
[BetterBatteryStats] v7:
After following the guide from [MENTION=4355376]Karpfenhai[/MENTION] I'm not getting notification from whatsapp.What could have caused the issue? I double checked the receivers and services and its the same what he posted..Can anyone tell me which Receiver was not intended to be unchecked?

Thanks
[BetterBatteryStats] Tylonhh:
To all screenshot poster. Don't waste your time.

In this case: words says more then 1000 pictures.

So if it's ok here please just post (spoiler!) your log. It's easier for everyone, isn't it?
[BetterBatteryStats] Flashvetrin:
Yep...

Flash.

Part of the Solution
[BetterBatteryStats] munichsfinest:
Just disallow Google Play Services to wake the device, to keep it awake, and to auto start. If you happen to use a CM ROM, settings/privacy is the way to go. Google messed up something lately, common problem.
[BetterBatteryStats] gil80:
Thanks mate!

I've uploaded the files to this post.
[BetterBatteryStats] gil80:
I use Blisspop ROM. Where do I change the settings with this ROM?

I think I'll switch to another ROM if I can't resolve this deep sleep issue.
[BetterBatteryStats] nachod0g:
On CM12 the superuser icon (#) seems to appear in the status bar after first loading the app after boot, it then sticks around until a reboot. Though statistics appear to still be collected properly after boot even before launching the app/displaying the icon. Would it be possible to have the app drop superuser permissions when they're not needed, or whatever else is necessary to stop the superuser icon permanently being in the status bar? Thanks.
[BetterBatteryStats] Karpfenhai:
Why not just disable the #SU notifications for bbs?

It needs them to read the stats from dedicated system files.. so not possible to drop.

Regards
[BetterBatteryStats] jr67:
He's talking about CM12's built-in superuser function and you cannot disable the notification. Since the commit that would allow users to disable the su notification was killed a couple months ago his only options are to pit up with it, switch to an unofficial CM build (or a different ROM) that has it, switch to superSU, or perhaps someone has made an xposed module that could hide the notification.
[BetterBatteryStats] Perseus:
You can still install SuperUser or SuperSU and make that as Default Root App. Then they'd take over the Granting Role.
[BetterBatteryStats] ZILLFISH:
many thanks for advice, and sorry to appear thick, but when I try to "hide" text I'm not allowed to submit post as it's seen as an outside link that I'm not permitted to post.
[BetterBatteryStats] Tzfardaya:
How are you trying to hide it?

[ HIDE ] text to be hidden [ / HIDE ]

(without the spaces in the tags, of course)
[BetterBatteryStats] mamboboy:
android.app.backup.intent.RUN seems to be killing my battery when its idle.

5399 wakeups, around 19 / min

Searching for it on Goggle shows results, but nobody seems to get drain with it... I assume disabling backup will sort it, but that's a pretty important feature for me :/
[BetterBatteryStats] whinette:
Hello :)

First, thanks for your amazing work.

I have a small gui problem: after a while, I can't see the usage in %/h except if I turn the phone in paysage (hint. I do not; it is locked).

Screen resolution is 720p.

View attachment 3216485
[BetterBatteryStats] addict_insane:
GCM_LIB

G'day mates. Anybody know how to kill this partial wakelock GCM_LIB? I have greenified most of the apps I don't want running in background. I followed Karpfenhai's method to stop overheads, except the location services because I use Endomondo. Any suggestions? TIA
[BetterBatteryStats] marknoll:
Other than greenify, are you aware of apps such as amplify?

---------- Post added at 06:47 PM ---------- Previous post was at 06:47 PM ----------

And disable services.
[BetterBatteryStats] v7:
Buy Amplify and limit that wakelock to 86400 or 24 hours.

You won't get that wakelock issue again and without losing the feature :)

Tapped from my furious ZR ;)
[BetterBatteryStats] Tzfardaya:
Amplify requires xposed, and there are those who chose not to use xposed for various reasons.. (and those who can't use for other reasons)
[BetterBatteryStats] gil80:
Guys, help me out here please...

I'm using the OnePlus One which has huge battery on a Lollipop 5.0.2

I disabled Google Play Services from waking up the device and Keep Awake, but the battery is still draining.

I've attached the logs. Hope to get around this issue.

This is my 3rd post here but I didn't get insight into what's eating up my battery, besides disabling Google Play Services from keeping the device awake.

Thanks!
[BetterBatteryStats] Tzfardaya:
Quick glance over, and I know the first thing that will be said is you need a much longer idle sample... 36 min deep sleep, 8 min awake, 11s screen on isn't enough to really figure out what the culprit is... Nothing seems to be abnormally holding the phone awake, but...
[BetterBatteryStats] gil80:
Hi mate, what a cool nickname you've got there (Hebrew for frog:))

How long do you reckon I should have the device in idle to provide enough data?
[BetterBatteryStats] Tzfardaya:
The longer the better... At least 4 hours is recommended iirc. Overnight or longer is best...
[BetterBatteryStats] s2d4:
Google cloud messaging for push services, highly doubt you want to disable it?
[BetterBatteryStats] gil80:
Can't wait overnight :)

Here are 3.5 hours of logs

I loose about 1.2% per hour, that's a lot for being at deep sleep.
[BetterBatteryStats] addict_insane:
I might just as well live with it. Thanks for the reply.

---------- Post added at 02:26 AM ---------- Previous post was at 02:21 AM ----------

I used disable services when I applied Karpfenhai's method for Google Services and Framework. Amplify kills location services whenever I use Endomondo so I uninstalled it. If this is service for push messages then I will just have to live with it. Thanks anyways.
[BetterBatteryStats] volleyator:
Hello, I have a battery drain on my oneplus one, it loses 8% during the night whilst it is on airplane mode... I post the BBS log in this message, I hope anyone will be able to help me reduce the drain.

Thanks in advance!
[BetterBatteryStats] Karpfenhai:
Hey there,I afraid there is not much we can do...

99.8% deepsleep is perfect, assuming your device wasn't in flightmode I would object the modem as the battery draining part, try another night in flight mode.

Regards
[BetterBatteryStats] volleyator:
It wasn't my first night, the drain is regularly around 7-8% and increase rapidly when I'm starting to use the phone.

Everything seems good excepted :

Kernel Wakelocks

PowerManagerService.WakeLocks (): 41 s Cnt:(c/wc/ec)40/1/0 0,2%
PowerManagerService.Display (): 24 s Cnt:(c/wc/ec)1/0/0 0,1%

Alarms

android (): Wakeups: 34 (4,7 / h)
Alarms: 32, Intent: android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED
Alarms: 1, Intent: DowntimeConditions.enter
Alarms: 1, Intent: com.android.server.task.controllers.IdleController.ACTION_TRIGGER_IDLE

I haven't been able to find anything useful about these items...

Moreover, I'm surprised that 0,2% of activity (i.e. not in deep sleep) could burn 7% of the battery!
[BetterBatteryStats] piskor:
Do you have Cast Screen option switched on?

com.google.android.gms (com.google.android.gms.cast.service.CastDeviceScannerIntentService)
Active since: 6 h 4 m 36 s

Maybe here is a culprit
[BetterBatteryStats] volleyator:
No it seems not to be active in my settings.

I try to disable this particular service (through DisableService app), I'll let you know if I see any change...

Thank you!
[BetterBatteryStats] gil80:
Can't wait overnight :)

Here are 3.5 hours of logs

I loose about 1.2% per hour, that's a lot for being at deep sleep.

Anyone, please?
[BetterBatteryStats] Tzfardaya:
Apparently one of us is confused about what is good drain while in deep sleep, but I'm not sure which... Your phone was only awake for 15 minutes in those 3.5 hours... I wish my drain was that low (without compromising my preferred usability)
[BetterBatteryStats] str8str:
If that's all your getting is 1.2%hri wouldn't worry that's great
[BetterBatteryStats] Tzfardaya:
Well, wouldn't 0.5%hr be better though? :P
[BetterBatteryStats] gil80:
it seems as if I have good results, but I assure you by 8PM I have come to 15% battery and that is when most of the time the phone is not being used as I work in my office and it's just lying there.
[BetterBatteryStats] danigraham:
So, I am new to the thread. Bought the app months ago and just read this thread today and decided I would give it a try. It all seems a bit complicated but I am trying to learn. My husband is usually the one who teaches me tech stuff but I wanted to teach him something this time!

I fully charged, unplugged, set custom ref. to unplugged>current. My question is, is 2 1/2 hours enough time for a proper dump/log? I was going to wait until I had one and then ask you guys, if you had time, to help a girl out ?, and maybe take a look at it and tell me about what you see?

I just did one after 2 1/2 hours. If it will suffice, I will share ? Thanks for your time!
[BetterBatteryStats] Tzfardaya:
2.5 hrs is a decent length, longer is always better... Assuming you had the phone idle the whole time. (no screen on, no music played with screen off, etc) either pastebin/pastie your log, copy/paste it here (inside hide tags) or post the text file next... The app itself is pretty straight forward, as is reading the log if you take your time with it..
[BetterBatteryStats] Tzfardaya:
Right enough... Nothing is jumping out at me as unusual, save the dhcp on wakelocks (I'm not familiar with Sammy phones, so I don't know their exact subsystems) and wlan_rx_wake (wifi network dependent, busy, noisy, congested, misconfigured)
[BetterBatteryStats] danigraham:
Thank you! My wifi always disconnects and reconnects spontaneously, and on my husband's phone it does not. I have researched to the ends of the earth but to no avail. *sigh*

So nothing jumps out huh? Alright. Well thanks!! I very much appreciate the time you took to look ? I will continue to try figure out my wifi issue, then.
[BetterBatteryStats] Tzfardaya:
If your wifi keeps dropping, that could be the unexplained drain, takes a fair bit of power to connect to networks, (or switch cell towers, gps satellites, etc)

Could also be your battery is just getting old and not taking as strong a charge...
[BetterBatteryStats] danigraham:
I don't have much of a drain. I Greenify most things and try to keep everything off, and not have apps accessing all types of locations and whatnot constantly. But my one consistent issue since I got this phone was that my wifi will disconnect, then in about 10 seconds reconnect. Multiple roms, multiple wifi configs. I researched it and most answers were that it came with KitKat.. well, I am not on KitKat firmware anymore so... not that. ? Very frustrating. But.. that is a topic for another thread. Thanks again!
[BetterBatteryStats] Tzfardaya:
Well, 3.2% hr drain while the phone is idle is a bit heavy... But that does depend on the phone, age of the battery, apps, usage, etc...
[BetterBatteryStats] RASTAVIPER:
Any drain more than 1.5%/h during idle is a lot no matter what and should be investigated to fix.
[BetterBatteryStats] IronTechmonkey:
For those who've recently started experiencing unexpected battery drains in the 3+% range while screen off; it seems that some combination of Google updates is causing wakelock in Google Services - SystemUpdateService. It's a nasty one. Anybody else?
[BetterBatteryStats] IllUMINATUz:
Me too.. The google update service is big time taking a toll and it doesn't let the device go to deep sleep.. Just my observation..
[BetterBatteryStats] IronTechmonkey:
Could Greenify help with the situation described in my above post by enabling google play services conditionally with the running of particular apps.

Sry for off topic.

---------- Post added at 01:38 AM ---------- Previous post was at 01:33 AM ----------

I should have mentioned I'm running Cyanogenmod CM11 Kitkat 4.4.4. Not that I wish for wider misery upon all of us but if it is affecting a range of phones types and OS versions it is more likely to be something Google might fix. I wonder if this also happens in Lollipop. What ROM are you using?
[BetterBatteryStats] IllUMINATUz:
I'm on CM12 OPO.. AK kernel..
[BetterBatteryStats] Tzfardaya:
From what I've been reading, it's more custom/third party roms (strangely enough cm11s for opo seems to fall into that category, as do cm nighties) something to do with not using the Google servers for OTA...
[BetterBatteryStats] IronTechmonkey:
Well if it's happening in Lollipop as well I wont rush to update and can keep waiting for L5.1/CM12.1. Also, this sounds widespread enough that it should be fixed without us having to deprive ourselves of functionality with workaround for too long. Thanks.

---------- Post added at 01:45 AM ---------- Previous post was at 01:42 AM ----------

Quite helpful. I should test on Stock KK and check the phones of some colleagues of mine who are having battery drain and are likely on stock ROMs. Thanks.

[EDIT]A seemingly effective workaround for CM11 (and perhaps others with Privacy Guard). http://forum.cyanogenmod.org/topic/...emupdateservice-wakelock-nightly-12-20150317/[EDIT]
[BetterBatteryStats] s2d4:
Nope, none at all on latest.
[BetterBatteryStats] Karpfenhai:
Manage yourself a static ip, set one in the router and make it permanent on your note.

Speaking of Wi-Fi, in it's advanced settings disable "scanning always active" and turn off policy to never.

Your mail service polls way to often, try to switch to push if possible and set idle timeout to the highest possible value (59 mins maybe).

See how that goes.

Regards
[BetterBatteryStats] v7:
Workaround for SystemUpdateService wakelock http://xdaforums.com/general/general/fix-fix-systemupdateservice-wakelock-t3060548

Tapped from my furious ZR ;)
[BetterBatteryStats] aaa29:
Where can I find the zip version 2.0 to flash in recovery?

P.S. I am using Android 5.0.2 Lollipop if needed

Inviato dal mio LG-E975 utilizzando Tapatalk
[BetterBatteryStats] bombadier:
Reported as not working,will try and make a working one
[BetterBatteryStats] :
I have problems with Note 4's battery life since stock 5.0.1.

My phone is often awake and as far as I can see 'ssp_wake_lock' and 'ssp_sensorhub_wake_lock' are playing the big role of it.

It's the same after reflash and I have NO apps like weather or sports, I even turned off the fingerprint scanner. Location service is disabled.

Log is attached, help is greatly appreciated. Thanks!
[BetterBatteryStats] s2d4:
Your kernel appears to be the issue.
[BetterBatteryStats] hooliganx:
doesn't work here.

extracting and installing as normal apk, moving to priv-app folder and reboot... works [emoji4][emoji106]

n5optislim.aow1980-15.03.14layeredgapps.15.03.13elementalx.2.10rd2.25v4a.2.3.4twrp2.8.3.0

-----------------------------------------------------------
[BetterBatteryStats] danigraham:
Do you know how I would add a static IP on my Note 3? I have looked into it before but couldn't ever figure it out. I guess Google is my friend on this one ? Will look into it. Thank you for the suggestions! I will also have to Google about the mail service thing. As I daid, I am not that advanced in this kinds stuff but I will learn quickly with everyone's help! Much apprrciated!
[BetterBatteryStats] Nimueh:
Assign a static IP for your phone in your router and then in the phones wifi select your network - modify - advanced options, set it to static and make sure the IP listed is the one you assigned in your router ;)
[BetterBatteryStats] bombadier:
Correct me if I am wrong but if you assign the same IP for the device in the router you do not need to set the same static IP address on the phone as the router assigns it the same one already
[BetterBatteryStats] Nimueh:
My bad, you're correct - I used to have them both set (no clue why :laugh: ) but I just checked and my phone is on DHCP while my router handles the IP assignment :)
[BetterBatteryStats] s2d4:
Just doing it on the phone or at the router is fine, no point doing both.

Unless you only allow a few connections due to the subnet mask, then yeah as the IP could have been issued to another device already.
[BetterBatteryStats] Tzfardaya:
Just a heads up.. Assigning the static ip at the router doesn't stop the phone from using dhcp (and thinking it's a dynamic ip) . Need to set the static ip at the device level (in this case the phone) to disable the dhcp client..

Where you set the ip as "static" depends do on why you're setting it..

If it's to simply network management, set at the router. . If it's to reduce required running services on a device, set it at the device.
[BetterBatteryStats] s2d4:
Cheers, mine is setup at the phone.
[BetterBatteryStats] FcoEnrique:
Flashable zip for 2.0 version?
[BetterBatteryStats] mondohow:
Someone linked to one a few posts back: http://xdaforums.com/showpost.php?p=59590186&postcount=27893

Did that not work/flash?
[BetterBatteryStats] danigraham:
Thanks guys, I really appreciate all the answers.
[BetterBatteryStats] giajp:
No, it doesn't work
[BetterBatteryStats] dorwoo:
Hi, i have a very strange idle drain and i really don't know what's causing it. Last night i lost 25% battery in about 8 hrs and i normally lose 1-5%.Im on 5.0.2 stock with xposed and using greenify and disable services.I updated Google play services couple days ago, could be that? Bbs reported that the phone was in deep sleep and no unusual wakelocks found. Sorry i dont have a log, any ideas what's wrong?
[BetterBatteryStats] beautifulsun:
I have two very bad battery hogs that runs over 90% of the time.

"PowerManagerService.WakeLocks" (Kernel) and SystemUpdateService (Partial).

Any help?
[BetterBatteryStats] jflow36:
For all CM users... The widgets for BBS are working on the 3/22 nightly build...
[BetterBatteryStats] :
+1 :)
[BetterBatteryStats] Nomad1600:
Are you on a CM-based ROM?
[BetterBatteryStats] beautifulsun:
Yes, CM12 on Galaxy Note II. Someone suggested me to deactivate keep awake of Google Services in privacy guard options.

BTW I suspected that was something linked to GPS usage of Service Framework so I switched off location profiles in Tasker and limited some wakelock via Amplify, but not so much has changed.
[BetterBatteryStats] Nomad1600:
I have a cm-based tablet, and this seems to work: http://forum.cyanogenmod.org/topic/...emupdateservice-wakelock-nightly-12-20150317/
[BetterBatteryStats] beautifulsun:
So I'll have to check app updates manually?
[BetterBatteryStats] v7:
Here's the fix http://xdaforums.com/showthread.php?t=3060548

Tapped from my furious ZR ;)
[BetterBatteryStats] Nomad1600:
I used the method of denying wakeup, autostart, and keep awake using Privacy Guard setting. Though the idea of switching NFC off and on sounds a lot easier
[BetterBatteryStats] chamonix:
In post #3, there is only one recovery ZIP as there is only one system app, it does not depend on the main app
[BetterBatteryStats] chamonix:
in post #3
[BetterBatteryStats] bombadier:
Sorry about my duff flashable, will the one in post 3 work on lollipop ? I have an updated one that will work on lollipop roms, have just tested it and its good