yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] dreinulldrei:
Ok, so printer was off and the phone did not charge overnight, so the Wifi setting restricted network traffic... guess what... no stay awake problems.

I have logs handy, but since the problem did not occur...

Now for the tricky part... I'll leave the printer connected overnight and will need to charge the phone. So we'll see if it's just a Wifi issue or if the printer is chatty in general. And yes, can turn the printer off next night.

Big question: What's the solution to such Wake problems from Wifi traffic?
[BetterBatteryStats] hlcob:
Hi there. I have battery drain (less than 20h without using the phone) with my honor 6.

Find BBS txt file from today.

Hope one of you can see something wrong (I don't)!

Thanks for your help:D
[BetterBatteryStats] githyanki:
See if there's a firmware update for printer, try cat 5 cable instead of wireless, replace printer.

If your sure that's what it is of course.
[BetterBatteryStats] swat4samp:
Any help please?
[BetterBatteryStats] Portgas D. Ace:
Google Play Services are quite active, they seem to be the highest drainers. You could use Amplify to tame Google Play Services. I would recommend you to head over to one of those two excellent battery life threads for more information/help.

http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884

http://xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588
[BetterBatteryStats] swat4samp:
Thanks for your suggestion. I will try using amplify but i still can't believe that play services is the reason for such high drain because my usage pattern is very minimal gcm based apps usage. Does gcm reconnect alarm has anything to do with cellular network? Coz cellular signal varies a lot at my home.
[BetterBatteryStats] Portgas D. Ace:
Well, an unstable mobile network connection will drain quite some battery as your device will constantly connect to a different network. Simplified, GCM Reconnect is just the normal time interval after which GCM tries to reconnect to the GCM servers (basically for receiving new push notifications).

BBS stats do not show the cellular network connection log (how and when connection changes), thus it it difficult to tell from the log alone, but from what you wrote, it seems that the unstable mobile network connection is the main drainer here.
[BetterBatteryStats] swat4samp:
Got it. Thanks for your detailed explanation, much appreciated :good:
[BetterBatteryStats] gruuvin:
I don't generally pay for apps until I've tried them and know they are stable and good. I have a SGS4, rooted with a stock Google Play edition ROM (4.4.4), which is one of the most stable and best performing options out there for this hardware. As a Linux developer and power user, I generally keep my systems, and phone in particular, operating as efficiently and optimal as possible. Some nefarious app(s) are now draining my battery, and I need more info than what is provided by Android settings (google services / play services). This app, (BBS) comes highly recommended, but unfortunately, there is no trial option--gotta pay for it upfront. Not ideal. I purchased and installed BBS, let my SuperUser app grant it root access, at which point BBS made my screen go black and randomly flash my notification bar on/off, which only happens when an app is really hammering the system and crashing. I rebooted the phone and launched BBS again, and I got only an empty white screen that appears to be working and getting nowhere. It looks kind-of like BBS is KILLING MY BATTERY, maybe, as it possibly hammers my phones resources? I look in SuperUser, and see that BBS is not in my list of super users. Now, I would like to uninstall/re-install the app without having to refund/re-purchase, but unfortunately again, uninstalling from the play store, actually doesn't give me the option to uninstall but to just 'refund', so I uninstalled BBS from my app drawer, which resulted in a refund anyway. As far as that part goes, maybe this is a Google fault, but I can uninstall all sorts of my paid apps and then reinstall them at a later time, all without a refund happening. This is a great experience! As a professional software developer myself, this just irks me a bit, so I wanted to vent here. I'm looking for an alternative, since the whole install/uninstall/install (rinse and repeat) process requires multiple money transactions. This is what software trial is for!
[BetterBatteryStats] kmarc33:
If you check post #2 you'll find versions to download, for free, including the latest RC I believe. I bought BBS from the Play Store to support the dev but haven't had it installed in years, I use the latest and greatest from post #2. My suggestion would be to remove everything you have from the Play store and grab the latest from post #2. There are a lot of changes from the Play store version. And then, if you're happy and want to support the dev, buy it but keep using the version from this thread.

Good luck.
[BetterBatteryStats] dreinulldrei:
Really, why do you come here? You have been refunded. I am pretty sure you won't even see the transaction on your credit card statement.

If you're a power user and wizard I am sure you can write your own app which is much better and it'll be of course free.
[BetterBatteryStats] gruuvin:
The GOOGLE brought me here.... came here to rant! DUH!

---------- Post added at 10:00 AM ---------- Previous post was at 09:59 AM ----------

Thanks!! looking into it.
[BetterBatteryStats] legalizacion_24:
hello, in paragraph story, which is WL? Thank you
[BetterBatteryStats] legalizacion_24:
[emoji42]

Enviado desde mi SM-G928F mediante Tapatalk
[BetterBatteryStats] chamonix:
thanks for using Twitter to draw my attention on this post: I missed it.

It looks like the process gets stuck when bbs requests for root. Could you please install 'catlog', Grant it root and collect a logcat of what happens when you you start bbs?
[BetterBatteryStats] kiradee:
Chamonix,

Thank you for quick respond. After your suggestion i have started SuperSu manually and then started BBS, and now all works fine. Thank you!

My suggestion is to make a notification if BBS cannot start for 10 secs reminding to check if root is enabled and SuperSu is started.

Thanks again!
[BetterBatteryStats] chamonix:
this is what bbs does (check for root) and my guess is that this check 'hangs' your devices. That's why it would still be great if you could reproduce and grab a log that could help me pin down the problem in the implementation: SuperSU is not something that you need to start, it's just there and available to be called
[BetterBatteryStats] kryshnakishore:
Everytime I reboot bbs shows wrong data or battery data is not collected. Is this normal? Or should I make any changes
[BetterBatteryStats] nec947:
If you need Persian/Farsi translation for your app, contact me.
[BetterBatteryStats] lalithesh:
In the 'Other' stats, we can see the battery consumption of Sensors. Is there any way to find out which sensors are being used?? [MENTION=1330150]chamonix[/MENTION], Please help me.. I have installed a custom rom and i need to disable this particular sensor since it is causing major battery issues
[BetterBatteryStats] chamonix:
yes we can do some research. Please post a logcat after refreshing the 'other' stats. the log contains the times and sensor ids and we can try to find what sensor matches to what Id for your hal

edit: but please post a dumpfile first, I'd like to know that we are chasing the right thing
[BetterBatteryStats] Adrianrff:
[MENTION=1330150]chamonix[/MENTION], regarding this sensor readings and in case you missed it, I posted a couple of logcats for 'on boot' and 'unplugged' marks a couple of pages back as you requested.
[BetterBatteryStats] dcjack:
Is it worth to change to this from Grennify?
[BetterBatteryStats] JudgeDread11:
"This" will not save any battery power. This will just give you information about what is using your power.

So it's useful next to Greenify.
[BetterBatteryStats] dcjack:
Thanks just read betterbatterystats ;)
[BetterBatteryStats] ghostxxxx:
My phone is Moto G4 on 6.0.1, installed BBS, greenify, amplify,... Wifi is on, GPS is off, location scan is off, BT scan is off.

Battery drainage is about 2-3% per hour during sleep. Is it normal?

"Awake" is 1hr36m and "Location service" shows awake 41m during 4 hrs sleep.

Any advice is appreciated. Thanks in advance.
[BetterBatteryStats] ichigo696:
Deleted
[BetterBatteryStats] Carlos_Moreira:
Hi, my p9 lite is getting some battery drain and I can't figure out why, is getting awake with screen off, can you guys help me.

http://cloud.tapatalk.com/s/57b8203de64fb/BetterBatteryStats-2016-08-20_101423723.txt

http://cloud.tapatalk.com/s/57b820446776a/logcat-2016-08-20_101423929.txt

Enviado do meu HUAWEI VNS-L31 através de Tapatalk
[BetterBatteryStats] TNSMANI:
Update BBS to RC1 and post an idle dump ie. screen on time should be less than a minute. The present dump has more than 8 minutes of screen on time.

Have you set wifi on always? Set it to never while sleeping or only when plugged in.

Your sensors were awake all the time. What have you enabled for sensors to be always awake?

You also seem to have wifi issues. Plus the mobile signal at your place was patchy.

You have a lot of alarms which have to be limited. Use Amplify and this guide: http://xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588

There was also some download but I don't know whether it happened while sleeping.
[BetterBatteryStats] ghostxxxx:
Thanks for your prompt reply. Just installed RC1 and charging...

1. wifi is always on. I konw it consumes juice, but I wanna instant emails notification. So, I'll focus on the other factors.

2. sensor could be moto's display, it actives the screen when pick up the phone. I'll disable it. Coming from LG G3, I still miss double click to wake.

3. The amplify guide looks great. I'll do it and report back.

4. Download, not sure. Will use RC1 and report back.

Thanks again for your suggestions.
[BetterBatteryStats] tangcla:
Hi, would you consider using the beta program on Google Play Store to push out your beta and RC versions? I'd love to be able to support you and get the latest version through the play store if possible.
[BetterBatteryStats] hlcob:
Can anybody check my BBS file (post #30886)

I'm loosing 5%/hour without using the device!

Thanks ;)
[BetterBatteryStats] ghostxxxx:
Moto G4 on 6.0.1, rooted, installed BBS RC1, greenify, amplify,... Wifi is on, GPS is off, location scan is off, BT scan is off.

Battery drainage during sleep is about 2-3% per hour.

A couple of questions wonder me,

1. 51 minutes awake time during 9 hours sleep. Partial wakelock looks good. What drains the juice?

2. gps off. moto action is off. Sensor shows 100%. Don't know why.

3. no or unknow signal shows 100%. Is it normal?

4. no data connection shows 100%. Is it because wifi on? or the phone doesn't really have data connection at all? Sometimes, it comes back from deep sleep, i have to disable and enable wifi to get data.

5. any other factors I missed on drainage?

TIA
[BetterBatteryStats] TNSMANI:
1&5. As already said, start using Amplify.

2. Don't know why but when I had the same issue, it was solved only by a clean flash of the ROM.

3&4. That is how BBS shows your mobile signal. 100% signal means your connection was good. Anything les than that means you have signal issues. Likewise100% no data means just that, you were on wifi and so no data used. If you go out of wifi zone and use data, it will show up differently.

Once again there were background downloads, more than 7MB. Last time it was mostly Google docs, this time it was mostly Google sheets. That also affected your battery.
[BetterBatteryStats] TNSMANI:
Your wifi though was on and connected, did not work for more than 2 hours. Your mobile data was used during that time and that consumed battery.

There was also a download of about 30MB. May be you were listening to music or watching video.

What you have posted is not an idle dump but an in use one. We need an idle dump of 6+ hours.

You have to use Amplify and limit your wakelocks and alarms. See this guide: http://xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588

Did you enable "API" in alarms and wakelocks in BBS? If so disable them.

After doing the above, post a proper idle dump.
[BetterBatteryStats] Sam Nakamura:
Could you specify 100% signal? Do you mean "good signal", I strangely get always 100% on "no or unknown signal" even my signal is doing fine, am I misinterpreting something? Thx
[BetterBatteryStats] realnasty:
Can someone take a look into my stats? I know that drain is not very high, but it was lower with my Sony Z3 and now I have a pure android, it should be even better. I don't use Google Now, GPS is set to Energy Saving, BT is off. 5% which gives almost half hour of wake time during night bothers me. I can't cope with qpnp and event wakelocks, there's a very little information and most of it is useless. I also read that *alarm* and *launch* partial wakelocks are "harmless", which seems to be true. The main culprit are nasty kernel wakelocks.

http://cloud.tapatalk.com/s/57bbf74d74c4c/BetterBatteryStats-2016-08-23_080339265.txt

Wysłane z mojego Nexus 5X przy użyciu Tapatalka
[BetterBatteryStats] Portgas D. Ace:
Several kernel wakelocks, they might be fixed by following this thread.

Facebook and its Messenger are draining some juice, also gReader.

Beside this, some things that can be tamed by using Amplify. Check one of the two battery threads for more details.

http://xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588

http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884
[BetterBatteryStats] hlcob:
Hello tnsmani,

Thank you for your help.

No music or video, probably some apps updating. So it was probably used for a short period...

I can't install Amplify as my device is not rooted. I don't want to root my device otherwise I'll loose guaranty on it (device is only 8 months old). Honor is really clear on that point (in France):(

Is there a way to install Amplify without root?

No, I didn't. It is disabled.

Not sure what is a propre idle dump vs an in use one (could not find any information on help page). I did the dump while device connected. Hope it is allright this time. Otherwise can you tell me how to do this:o

Edit : Added some thumbnails
[BetterBatteryStats] rdobbert:
My new Galaxy Note7 seems to randomly be burning through the battery. I adjusted Doze using adb and Doze Settings Editor's frebee269 profile. I see Doze kicking in, but I'm not seeing the battery savings. Losing 6%/hour of battery while sitting face down and untouched seems like a lot of power consumption. I read the "Before posting a log" guide in the first post, all the Alarms, etc populated. Thanks for any help!
[BetterBatteryStats] realnasty:
I read this thread few times and follow all instructions, but it didn't help. I also read numerous threads refering to wlan wakelocks, but none of them gave me working solution. Also I blocked all wlan wakelocks with kernel tool, but it did nothing. I have a feeling that I tried everything.

It's fine, I want to have sync, so let them work. They draining tenth of percent.

I know this threads very well, but in my case alarms are not a problem (only a little too much GPS alarms), the main culprit are qpnp (qpnp_fg_memaccess / qpnp_fg_update_temp / qpnp_fg_update_sram) and event (event0 / event 2 / event5) wakelocks and I don't see way to limit them with Amplify. I don't know how to get rid of them, I found few places, where users have the same problem, but no one even know, where they come from and what are they doing.
[BetterBatteryStats] Portgas D. Ace:
You could try to flash a different custom kernel.
[BetterBatteryStats] realnasty:
Same thing happens on PureNexus ROM, Dirty Unicorns (AOSP based), both stock kernels, Franco and ElementalX.
[BetterBatteryStats] TNSMANI:
As I said, BBS has its own way of expression. 100% no or unknown signal means that there was an unknown signal for 100% of the time. If the number goes down, then there are signal issues.
[BetterBatteryStats] TNSMANI:
Try to uninstall and reinstall BBS.

Idle dump means you charge the phone to 100%, unplug and leave it idle for about 6+ hours. Then as soon as you unlock the phone, open BBS and save the dump (unplugged to current).

The present dump is also an in use dump where you have used the phone before saving the dump.

Without Amplify, you may not get much relief. And I don't know how to use Amplify without Xposed and root.
[BetterBatteryStats] ghostxxxx:
Great explanation. Thanks again.
[BetterBatteryStats] Sam Nakamura:
Thanks man, that's odd, I mean NO (or unknown) signal means to my comprehension there's a signal issue.. Well to hear it's the other way around is kinda good but beyond my comprehension...
[BetterBatteryStats] Portgas D. Ace:
Hmm, then I might be out of (un)helpful advices here beside suggesting you to check your device's forums (what you have already done, I guess), maybe someone over there has the same issue. If you can't find an answer, just wait until a decent custom ROM based on Android 7.0 will be available for your device and hope that it will be fixed then.
[BetterBatteryStats] kryshnakishore:
Wakelock while charging. Killed all background apps. Disabled data/wifi connection
[BetterBatteryStats] hlcob:
Thanks for explanation;)

Here is an idle dump and some thumbnails

Device is mostly in deep sleep (99%), but lots of kernel wakelocks (from netlink?)
[BetterBatteryStats] Perseus:
Kernel Wakelocks are a symptom, would have been nice to take a look at the PWLs.

I assume your Battery is fine and is not too old. Kernel Wakelocks are there but docile. Most of them appear to be for PowerManagerService which is to be expected.
[BetterBatteryStats] realnasty:
I appreciate your efforts ;) I looks like problem specific for some Snapdragon 808 and 810 devices. I hope it'll be fixed in Nougat.
[BetterBatteryStats] rjm831:
Just a quick thank you for this development. Works well. And thanks for continuing to support it - & to all who work this forum.
[BetterBatteryStats] JudgeDread11:
Thank you's are appreciated, but quoting op posts is not. To express your thanks you can use the thanks button, or even better buy the market version.
[BetterBatteryStats] Heisenberg:
Hey there. Please don't quote the OP (first post) on XDA, they're generally huge and clog up the page. I've removed the quote for you. Thanks!
[BetterBatteryStats] souler456:
On my attached BBS log, what is this *alarm* wakelock from CyanogenMod System? Can I just block *alarm* on my wakelock blocker? Or disable/greenify CyanogenMod System? :confused:

The wakelock's not really using any battery, in fact I had 0% battery drain while in deep sleep for almost 9 hours, but it's there... Can someone help?

:D :) ;) :good:
[BetterBatteryStats] :
Ayyy, and no that should be left alone. Don't need to block something that isn't detrimental.
[BetterBatteryStats] TNSMANI:
You have some sync and some alarms but I don't find anything to justify such a huge drain. You were not on wifi and mobile data might have contributed to some battery loss but still such a drain is not justified. Your kernel wakelocks also are not very high. I am perplexed.

How old is your battery? Can you do another idle dump with wifi and mobile signal shut off ie. aeroplane mode?

If nothing could be found, you may have to clean flash your ROM and see whether things improve.

Sorry for the delayed reply.
[BetterBatteryStats] Sneakdovi:
Hi everybody.. I have a problem: i noticed a strange battery usage, so I decided to find out what problem is by using BetterBatteryStats. And after leaving it for the night long with no internet connection active. This is what I found out. Can u tell me what it is?

PS. I have even clean flashed the Rom again and i have don't know to share BBS info in the right way in order you to understand.

I'm sorry and thank You
[BetterBatteryStats] It_ler:
Hi Mr. Wet T-shirt,

I think you shared the wrong file/image.

Best to save a dumpfile in BBS app and then upload it here.

Signature:

Device:

SGS5 (SM-G900F)

ROM:

Alexndr DevBase v3.7

Kernel:

Stock kernel

Recovery:

TWRP recovery
[BetterBatteryStats] alitaheri73:
anyone knows what's that wakelocks?
[BetterBatteryStats] hlcob:
Battery is 8 months old (same as phone, bought at amazon).

find atteached a new dump in aeroplane mode this time.

Drain is almost the same -4% per hour (versus -5%), which I think is really weird!

Thnak you for your help.
[BetterBatteryStats] TNSMANI:
Some sensors were awake for a couple of hours. Some alarms as well. But these should not happen on aeroplane mode.

Reflash your ROM (if possible clean flash) or search for a better ROM.
[BetterBatteryStats] Sam Nakamura:
Deleted
[BetterBatteryStats] hlcob:
After posting BBS dump file, I did a clean install of B521 (wipe cache + wipe data).

Haven't re-installed BBS yet, but to me, it seems the same:rolleyes:

Is there a chance the device has a hardware problem?

As you said, some sensor that should not are awake... Could it be a "capacitor" failure or something like that.

As I said, the problem appeared from one day to another (and no major software update done).

This un normal battery drain is it a god reason for Honor to accept this issue?
[BetterBatteryStats] TNSMANI:
Post your BBS dumps with a description of your issues in http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884. Tag v7 and Portgas D Ace in your post. They are better experts in studying the BBS dump and suggesting solutions.

Better luck!
[BetterBatteryStats] Adrianrff:
Hey, [MENTION=1330150]chamonix[/MENTION], have you had a chance to look into the high sensor time readings in BBS?
[BetterBatteryStats] NBAPwns:
Can anyone help me with my problem? I have Greenify + Nap Time, running Pure Nexus Rom and im still getting idle battery drain. This was from 3 days ago. Im still having the same results until now.

http://imgur.com/a/ISO3M

Could the cause be because I have "GCM Push for greenified apps" on Greenify ticked on? I also have Bluetooth doing something according to the graph but my BT is off

http://imgur.com/a/9VEOl I unticked it. I noticed that when during deep sleep and I turn on my phone once I wake up I am receiving app notifications like emails etc..

Please Help! :(
[BetterBatteryStats] TNSMANI:
I don't think that BBS has anything to do with it. When I had high sensor times, a clean flash of the ROM solved it.

---------- Post added at 05:09 PM ---------- Previous post was at 04:16 PM ----------

Wifi was on and connected the whole time. Set wifi to never during sleep. Also check whether wifi is set to scan under Location-three dot menu. If so set it to off.

You also have wifi issues. Try assigning a static IP for the phone. Also identify which other devices are connected to the same wifi and see whether things improve after disconnecting the other devices from wifi. You can also try some custom kernel.

Are you using Amplify? If not start using it and use this guide: http://xdaforums.com/android/general/guide-extreme-battery-life-t3095884 and limit your wakelocks and alarms.

Gmail or other email apps won't get notifications during Doze.
[BetterBatteryStats] sithjedi333:
HI everyone,

I'm hoping you can advise me. Attached are my logs. The biggest problem I'm having seem's to be kernel wakelock msm_hsic_host which is alive 40-60% of the time and as a result I'm losing 2% an hour on deep sleep.

From my research this wakelock was a common problem due to the radio USB interface way back in 2013. I'm running stock unrooted MM so I'm not sure why it's affecting me. I have clean flashed everything.

Please help and thank you so much. Let me know if you need any other info.