yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] revan17:
I've been struggling with my phone(LG G2 Kit Kat) battery for like a year now. At the end of November I got it back from the service center and they told me my battery was replaced. The problem persisted even after the replacement. I doubt battery was ever the problem because I could pull about 5h screen on time if I wanted. To me that says battery has the capacity, something else causes the issue. My problem was always drained battery during deep sleep. In the early months, if I left the phone over night with 100%, I would wake up with 100%. Nowadays I lose anywhere between 30%-45% while the phone is sleeping. To make matters worse, I can find no suspected wakelock. I've tried countless factory resets. I lose battery while the phone is sleeping. It happens even with airplane mode.

I'm attaching my BBS logs so a good soul with better knowledge can look at it and perhaps point me in the right direction.

View attachment BetterBatteryStats-2015-02-24_052917561.txt

View attachment logcat-2015-02-24_052917910.txt

View attachment dmesg-2015-02-24_052917972.txt
[BetterBatteryStats] Flashvetrin:
I would like you to try this if you can

Install Xposed framework then,

Wakelock terminator module.

Open Wakelock Terminator, search for Google Play Services. Check prevent wake lock, and filter wake lock by NlpCollectorWakeLock.

reboot...
[BetterBatteryStats] revan17:
Done. Does this look good?

For what it's worth; I don't use Google Now and have Location reporting/history in Google Settings set to off and Location in General Settings is also set to off(I only turn it on when I need to use navigation(which is once in a blue moon).
[BetterBatteryStats] aitvariux:
I am always cleaning everything except extsdcard before flashing new rom plus formatting data. So it's always a clean new ROM flashing. For the controllers I am using trickstermod, synapse or stweaks. But for the apps I am always restoring with titanium backup, maybe this could be an issue! And always flashing from extsdcard. I don't know why but I can't flash new modem I tried a lot of times. Will do everything what you say mate! Thank you for the help!
[BetterBatteryStats] Flashvetrin:
Perfect..

After your next full charge see if theres any diffrence..

And report back..[emoji16] [emoji106]
[BetterBatteryStats] Karpfenhai:
Don't flash gapps next time for one charge cycle.

See how that goes, regards.
[BetterBatteryStats] :
Nope, stock 5.0.1 TW

I'm wondering if there is a fix for this. Turned off mute gesture, will see if it helps.

Already done.

Latest modem that comes with stock frimware.

Already disabled app and service.

Thanks for the help. Will test and post a new log if necessary.
[BetterBatteryStats] nishan19:
Help pls thnx
[BetterBatteryStats] revan17:
Nothing changed. :-/
[BetterBatteryStats] Flashvetrin:
Dang..

Ok let me look some more it may be a bit before i get back to you..

Please be paitent..[emoji16]
[BetterBatteryStats] Malhavoc Blackdrake:
I received another of those "8546% active" alarms again, and I wasn't connected to a charger.. so that's not the main reason of the problem. Just wanted to point that out. :)

They seem to happen usually when I turn the screen off and then turn it on again very soon.
[BetterBatteryStats] onkel_enno:
I love BBS and payed for it.

Will there be GPS stats included in the near future (like the network stats)?
[BetterBatteryStats] Flashvetrin:
The use of location services is in the bbs log that created after usage.. its part of the background info thats recorded.
[BetterBatteryStats] Perseus:
Turn off Gmail Sync and Look for [MENTION=4355376]Karpfenhai[/MENTION]'s Mod listed in this thread. He's updated it recently as well.
[BetterBatteryStats] coolfx89:
Can someone examine my BBS stat please,

it went down from 100 % to 88% in 5 hours, I didn't use it after I unplug from charger.

I read the BBS stat, it says:

Awake (): 6 h 11 m 51 s 98.2%

Screen On (): 43 m 4 s 11.4%

I think it isn't normal, with the awake stat about 6 hours while the screen on just 43 minutes.

Thank you, sorry for my english
[BetterBatteryStats] revan17:
Do you mean this? Also, should I disable wakelock terminator for Play Services beforehand?

Wow, that was a chore to get through. Damn you Google and your "services".
[BetterBatteryStats] Karpfenhai:
Hmm, did you "adjust" something within your Google play services?

If not, clear data for gsf, play services and market.

See if it behaves afterwards.

Regards
[BetterBatteryStats] nishan19:
Can someone take a look ar rhis pls.. thnx
[BetterBatteryStats] revan17:
This is weird. Few hours ago I did a full charge after following your instructions. I lost 1% in about 2.45h of low usage, which is more in line with my normal battery behaviour...but now I'm getting GCM_LIB wakelocks, as long as my uptime. However, my battery is not having a negative impact due to it. :confused:
[BetterBatteryStats] Flashvetrin:
I forgot did we upgrade your modem???

Whats your data connection like in your area???

Also have you turned automatic updates off in playstore???
[BetterBatteryStats] revan17:
My modem is the one that comes with the stock FW, I doubt there's a newer one available. I clean flashed the stock FW before I posted in this thread and I only rooted the phone.

My data connection is excellent. Always full 3G signal.

Nope, I have it set to auto update when on WIFI.
[BetterBatteryStats] Perseus:
Clearly you missed one of the Receivers. Battery impact may not be readily apparent.
[BetterBatteryStats] Flashvetrin:
I turn autoupdates off completly..
[BetterBatteryStats] coolfx89:
thank you sir,

I think I mess up to much with GSF service, reflash my ROM solve my problem
[BetterBatteryStats] rxp90:
Mhl_wake_lock

My problem is mhl_wake_lock is always active while screen is off. I tried to delete the mhl drivers from recovery and it says "operation not permitted". Any thoughts?
[BetterBatteryStats] s2d4:
Install amplify and limit the wake lock, done.
[BetterBatteryStats] rxp90:
Mhl_wake_lock doesn't appear on amplify :(
[BetterBatteryStats] s2d4:
Did you use the search function?

Have you actually waited for it to capture it first?

Does Xpose work for you?
[BetterBatteryStats] rxp90:
Yes, it appears on BBS under kernel wakelocks tab and after a few minutes it still doesn't appear on amplify. Xposed works, at least Amplify says everything is okay
[BetterBatteryStats] s2d4:
No idea then unless that wake lock hadn't shown up since you've installed amplify.

I've never had the issue of not being able to find the wake lock after the phone was fully charged.
[BetterBatteryStats] Perseus:
MHL would Appear if the device got incorrectly unplugged. Follow these steps.

Make sure BBS Settings have it work while charging. If not check that option & Reboot.

Plug into a charger then while plugged in Reboot.

Let it sit for 5 to 10 minutes and see if the wakelock appears. Do not disconnect either way.

Power Off then unplug.

Power On and then keep monitoring for the wakelock.
[BetterBatteryStats] rxp90:
I followed the steps and the wakelock's still there, both before and after reboot.
[BetterBatteryStats] Perseus:
In that case, you will need to Clean Wipe, Flash back to stock and then check if its still there. If it is, then you have hardware issue with MicroUSB Port.
[BetterBatteryStats] gverma1:
Just wanted to say this is my go-to app to find wake locks. Keep up the good work.
[BetterBatteryStats] IODroids:
Sorry. But I'm unsure where is my logs generated

Sent from awesome XDA Mobile Theme
[BetterBatteryStats] milojoseph:
I'm having a massive battery ? drain can you guys help me figure out the problem is there a way to share a log
[BetterBatteryStats] Perseus:
Export > Text Log > Save To.

Attach that Text Log here. Make an overnight Idle Log.
[BetterBatteryStats] milojoseph:
Where is export is it the share button?

Sent from my SM-G900T
[BetterBatteryStats] milojoseph:
Hope you guys can help
[BetterBatteryStats] milojoseph:
[MENTION=3639717]Perseus[/MENTION] it's drained my s5 quite a lot
[BetterBatteryStats] Perseus:
In Use Log that too 2 hours is hardly of use. Please provide an Idle Log preferably Overnight. Remember to Reboot before start of Idle Period.
[BetterBatteryStats] milojoseph:
Ok did the overnight run
[BetterBatteryStats] Perseus:
But phone wasn't Idle. From

Screen On (): 22 m 47 s 5.3%

Oh Well! :rolleyes: Let's see.

You used Manga Rock it seems. Beautiful Widgets needs to go. Also, you need to issue a Static IP to the Phone on the Wireless Network. (Search tin this thread. Plenty times I have explained how.) Turn off Location Service. Can Tell more after an Idle Log. Idle = Phone in StandBy Mode away from user.
[BetterBatteryStats] masri1987:
how do i view it from unplugged or last charged? It only gives me from boot..
[BetterBatteryStats] milojoseph:
PowerManagerService.WakeLocks

What are some things that cause this

Sent from my SM-G900T
[BetterBatteryStats] Flashvetrin:
More than likely its a non system app.

Go into "app manager/running/all.

And have a look see.. use greenify and freeze 2nd party non sys related apps 1 at a time. And reboot..

Wait for your new hibernation to take place and check again....

Make sure your sync in specifics is off as well.. gmail fb.. etc..
[BetterBatteryStats] milojoseph:
App manager? Where can I find that

Sent from my SM-G900T
[BetterBatteryStats] masri1987:
anyone?? im' below 20% and really need to export the stats....
[BetterBatteryStats] atomomega:
You have to charge it and unplug it when full so it can create a reference
[BetterBatteryStats] masri1987:
i did, hence why i was monitoring it, ahh . k then thank you sir
[BetterBatteryStats] Dennis.se.foon:
Random battery drain?

Please can someone help. Sometimes my phone drains at a rate of 2% to 3% per hour. Other times there is almost no drain (0.3% per hour). This is a Galaxy Note 2, running stock rooted Kitkat. The problem has been evident for a long time. I have already frozen all apps in batches, but this did not solve the drain. Greenify is installed and all the usual "culprits" are already greenified. Sometimes the phone is fine for a few days or even a week, then the relatively heavy draining starts again. The draining will continue sometimes, even after a reboot.

I have attached 2 dumps, taken overnight earlier this week. I respectfully request assistance to analyse these dumps and try to pinpoint the cause of the drain.

- The dump from 2 March has a 2.3% drain per hour. This seems to be constant through the night. There was no user activity.

- The dump from 4 March has a 0.7% drain per hour, but Titanium had done a routine backup in this time as well.

Some additional information: I currently have BBS and GSAM installed. However, uninstalling either one of them (or both) does not change the behaviour of the seemingly random draining.

I will be grateful for assistance in this regard.

Dennis
[BetterBatteryStats] aitvariux:
Guys!

I want to share with you my experience. I had a battery drain with no wakelocks. It was starting just from nowhere and keeping my phone always on 300 MHz with no deep sleep! Only reboot could fix this till next time.Tried to reflash ROM,recovery, reroot, format and clean everything except exsdcard.Tried to find a help here but nothing. I remembered that i am using extsdcard from my old note 2 with no formatting... so what I am done: formatted extsdcard and changed simcard to a new one ... and my battery drain is over!

So please consider, that changing the simcard and formatting extsdcard could help to fight with battery drains too!!

Have a nice day.
[BetterBatteryStats] grega_slo:
Hi all!

I don`t know if this is OK.

My battery drain is something like 2 - 2.2% per hour.

I have no Google Now no FB no social media apps at all.

I`m a heavy mail user, I have 2 exchange active sysnc accounts set to push mail.

My awake time is pretty high I think and probably because of mail (push).

But I don`t know about alarms section... com.google.android.gms seems high...

Can somebody shed some light on my case?

Thanks a bunch!
[BetterBatteryStats] rpr69:
This is most likely the media scanner hanging on the unformatted card. Your fix is the correct one. It can also happen if you have a corrupt media file on the card.
[BetterBatteryStats] Perseus:
I looked at your Log.Can you turn off Location Service ? Also please issue a Static IP when on home Wireless Network.

Looks Good so far. Especially Considering the Email Checks. If you want further improvements, please apply Karpfenhais's Mod. You'd have to Search this thread.
[BetterBatteryStats] grega_slo:
Thanks mate!

So battery is normal and drain is expected because of mail accounts.

I was wondering about alarms, gms is quite high, but I`ve seen it others have it the same...
[BetterBatteryStats] IronTechmonkey:
I'm curious about how this helps. I see it recommended many times but have not found explanation. Also, does letting the devices use DHCP while assigning fixed IP address from router (which I already do) oblige this advice? (incidental to other things I already don't use Guest Wireless, UPnP or5 GHZ Band.
[BetterBatteryStats] Perseus:
That's where the Mod by Karpfenhai comes in.

Notice in his log

"wlan_rx_wake" (): 2 m 39 s Cnt:(c/wc/ec)114/0/113 0,6%
"wlan_ctrl_wake" (): 1 m 11 s Cnt:(c/wc/ec)10/0/10 0,3%
"wlan_wd_wake" (): 49 s Cnt:(c/wc/ec)593/0/0 0,2%
"wlan_wake" (): 9 s Cnt:(c/wc/ec)1222/36/0 0,0%

Those come in when there is a Chatty Device on Wireless network such as WiFi Printer. Issuing Static IP stops these devices from Polling your phone for ICMP Pings.
[BetterBatteryStats] Dennis.se.foon:
Thanks very much for your advice. I will try these 2 proposals, one at s time and I will report back on a few days.

Sent from my own Galaxy
[BetterBatteryStats] chamonix:
I just noticed that the bbs thread has passed the 5 Mio. views bar..... thanks to all supporters who bring this thread to life!!!
[BetterBatteryStats] IODroids:
I liked this tool until I learned how to export stats to elaborate my issue. But anyways I reflashed again.

A wiki or knowledge base is needed for best stuff on XDA.

From basics till intermediate to advanced an finally too development or developers
[BetterBatteryStats] bauuuuu:
Follow the timeline in filename..... First in airplane mode its draining battery... Then turned in wifi again it started draining.....

As soon i turned on the data connection in 3g mode draining stopped for data coconnection and no or bad signa l...

To conclude putting phone in data connection mode helps to stop the battery drain fie those two things......

Its not with wifi But something else

Download the images and arrange with filename...... For above mentiined sequence and see the timeline of those two factors against the

time below Others....

Thanks
[BetterBatteryStats] s2d4:
You are reading it all wrong.
[BetterBatteryStats] grega_slo:
Hi, me again :)

I made overnight idle log...

Im kind of dissapointed 1%/h seems far too much, also awake time is high and I did not touch the phone and mail sync was not enabled...

Any advice more or still goigle play services is the only drainer?

Thanks!
[BetterBatteryStats] bauuuuu:
No data connection and no or unknow signal has high amount in other usage

...

by chance if you have data connection turn on.... then turn off wifi and Chk out the evolution of these two..

To my obsevation it stops draining but better to.confirm..... Ofcourse if its problem then someone has to solve but We need to identify the real culprit....
[BetterBatteryStats] s2d4:
No it is % of time in that state. It doesn't mean % drain.
[BetterBatteryStats] bauuuuu:
I see... But it must use battery to be in that state?

isnt it kind of unncessary state to be in when WIFI is present ? Also in flight mode where radios off it stays in that mode....
[BetterBatteryStats] s2d4:
OK, do either of the following:

1. Read the thread or google to learn how to interpret, then interpret.

2. Post the right log, with a heavy emphasis on the "right" part, someone may help after that.
[BetterBatteryStats] bauuuuu:
what u mean by interpret and what ?
[BetterBatteryStats] Flashvetrin:
I believe hes reffering as to interpreting the log

Look at a page back youll see a bbs log..

Read thru it and youll see what were reffering to...
[BetterBatteryStats] bauuuuu:
i see.... i do not know the terminology .. but i mentioned my observation.. ...

i ll try to do it or atleast post the log
[BetterBatteryStats] nmlssit:
What could it be? On both 7.0.87 and 86

The strange part is the service SystemUpdateService is disabled...
[BetterBatteryStats] Flashvetrin:
Youve frozen or turned updates off?

Even over wifi??

Greenify google play services...
[BetterBatteryStats] nmlssit:
Nope I use Greenify only for FB apps..
[BetterBatteryStats] milojoseph:
[MENTION=3639717]Perseus[/MENTION] told me to do the static ip which I'm still trying to figure out but my s5 should not have a horrible battery ? life like this. I greenify beautiful widget's and turned off location
[BetterBatteryStats] davboc:
Can anyone help me identify the problem that keep awake an S3 mini of a friend of mine? It's a problem of an app or other? There is a solution? The phone has stock firmware and no-root.

https://www.dropbox.com/sh/hcp2nm6lfmplybe/AADQetgDL7iqYMzsQ0IfMg-Va?dl=0

Thanks all
[BetterBatteryStats] Flashvetrin:
Then i reccomend you do so for the item i outlined...

And i reccomend you turn auto update off entirely..

I also reccomend you turn off "allways allow scanning" under "advanced"

Under wifi..
[BetterBatteryStats] Karpfenhai:
You need to disable the system update also within gsf (Google service framework)

There is more to do, it's a pain in the a**...

Regards
[BetterBatteryStats] milojoseph:
Anyone can help

Sent from my SM-G900T
[BetterBatteryStats] Blueblob:
Just wanna share my lol pic ?

I have the proof ! Project Volta sux lol ?
[BetterBatteryStats] cdzo72:
GCM and GSF settings for Lollipop

Hey guys, has anyone adapted Karpfenhai's GCM and GSF guide to Lollipop? I tried following it and the vast majority of what's on those lists don't exist in Lollipop or I haven't been able to find them. I've used Autostarts and also AutoRun Manager to no degree of luck.
[BetterBatteryStats] threadstone:
Hi,

I have a problem with my tablet (Galaxy Note 10.1 2014 LTE). Since a couple of days I have a massive battery drain and don't find the reason.

Yesterday evening I fully charged the tablet, wiped the cache and made a restart. Today I looked into the "akku-app" and saw that the tablet was almost the whole night awake.

Can you help me find the reason?!
[BetterBatteryStats] Karpfenhai:
Your device isn't sleeping at all but I guess you've already figured that..

Update bbs to the most recent version, deck all options of what to share (process is missing) take another reading and repost the dump.

If possible root your device first.

Regards
[BetterBatteryStats] visceralpsyche:
It's already been mentioned but 7.0.87 of Google Play Services seems to have a wakelock bug on some devices (mine included). This is probably the cause of a lot of recent issues with devices not sleeping. Hopefully we'll see a fix soon! HTH.
[BetterBatteryStats] iamnotkurtcobain:
Why is calender always syncing (symbol)? It seems to drain battery as hell. I have a Samsung 3500 mah battery inside and cm12 drains like crazy.
[BetterBatteryStats] milojoseph:
Here is one without me using the phone
[BetterBatteryStats] giajp:
Just a curiosity... I don't know if someone can answer me. Why the BBS widget doesn't work on cm12 builds? If i try to add it with nova launcher i always have an FC
[BetterBatteryStats] VoynichJimmy:
Hey guys, some times in the morning when i check my phone, a black page appears with google+ title !!! and i can not use the back button, i just double click my One m7's home button to remove it!!! Guys please tell me if it is a system error or it is something in relation with logging service ?.

Thanks
[BetterBatteryStats] Flashvetrin:
Clear the cache on google plus and reboot..

It should take care of the issue.

Also this question should be directed to the thread that supports your rom or build.. either in the general section for your build or in the help section of your device...
[BetterBatteryStats] VoynichJimmy:
Ok I will try it
[BetterBatteryStats] Flashvetrin:
Turn off sync. For my mail

If you havnt allready..

Under wifi advanced turn allways scanning off..

Greenify google play services.
[BetterBatteryStats] milojoseph:
Thanks turned off the sync. I already turned of alwàys scanning. And greenify Google play service long time ago but PowerManagerService.WakeLocks is the main drain

Sent from my SM-G900T
[BetterBatteryStats] cdzo72:
Bump
[BetterBatteryStats] Flashvetrin:
Power managment service is a catch all wakelock for non system apps..

I would look under application manager/ running and see whats running and for how long...
[BetterBatteryStats] milojoseph:
Sent from my SM-G900T
[BetterBatteryStats] VoynichJimmy:
Doesnt work the clear cache and here after reboot and charging !!! So what to do now [MENTION=4502382]Flashvetrin[/MENTION].

Thanks
[BetterBatteryStats] Flashvetrin:
Uninstall the app and reinstall the app from playstore....

You need to take this to a help or generals section for your device.

This is not a bbs problem and its off topic...

Ok. Good luck..

---------- Post added at 09:18 PM ---------- Previous post was at 09:04 PM ----------

Hibernate those top two lines and Google+
[BetterBatteryStats] -m3tac0rt3x-:
Last FAQ:

Q: On CM12 based ROMs the launcher crashes when placing a widget. When will this be fixed?

A: I can not find anything wrong with BBS code and the crash occurs in the launcher, not in BBS. After spending quite some time trying to understand the problem I must conclude that the problem is with CM12 (other ROMs on Lollipop do not have this problem)
[BetterBatteryStats] Flashvetrin:
Nova.....

It doesnt play well in the sand box with cm or aosp.....
[BetterBatteryStats] Nimueh:
It's not just Nova, any launcher fc when you add the BBS widget. It's fine with GPE though.

It's the only thing stopping me from using a CM12 based rom :crying:
[BetterBatteryStats] Flashvetrin:
Im a touchwizz freak..[emoji16]

So i have limited knowledge cm, aokp, or aosp... [emoji53]
[BetterBatteryStats] milojoseph:
What your device and sot?

Sent from my SM-G900T
[BetterBatteryStats] Flashvetrin:
Im on the N4.. but the diffrence for me is im running a zerolemon battery.

so i get 3to4 days out of a charge..

With an average of 39/45% sot....

I could squeeze more but im overclocked as well..[emoji16] so im not a good source to base on....
[BetterBatteryStats] milojoseph:
so w/o zerolemon you can juice up 2-3hrs just curious
[BetterBatteryStats] Flashvetrin:
The N4 has whats known as "adaptive fast charging"

I am at 100% from 2% in like a little over an hour...

If i turn that feature off the it takes like 3 hours.. maybe more..
[BetterBatteryStats] bgdrls:
Version 2.0 crash on Graphs view?!
[BetterBatteryStats] a103:
No it doesn't. Graphs View works just fine. Uninstall the app and install it again.
[BetterBatteryStats] bgdrls:
Yes, he does!
[BetterBatteryStats] a103:
Here it works just fine...

Post more details about your issue than just "Yes, he does". No one is going to help you with that kind of information. It's most probably user issue than the app.
[BetterBatteryStats] bgdrls:
I don't need help, just provide info about app issue with graph.
[BetterBatteryStats] s2d4:
What info exactly?
[BetterBatteryStats] Perseus:
Actually, you posed it as a Question. So it appears as if you are asking if it does. clearly it seems like a one off case for you.

If you do wish to help [MENTION=1330150]chamonix[/MENTION], please post a Logcat of the Crash.