yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Jayy_Suave:
Look, this is a development thread, where people of all levels of expertise can come together and learn a thing or two. I understand that the thread is about BBS, but sometimes there will be a person who would like to sway away from the topic and ask about something that kinda relates to the topic. So, when that member asked, I responded. Period. I've never met someone who got so tight over another member helping someone else. In my opinion, you're the one that's "butthurt", but that's my own premature conclusion.

On another note, there actually are people who don't know how to use the translator plug-in. Just because you're knowledgeable in that area doesn't mean that everyone else is. But I fully understand your argument. We both made assumptions : I thought the member wanted a page translation and you thought the member wanted an app translation. I helped by doing what I thought was asked. You helped by belittling me just for helping. Now, you are the thread clogger because if you took time to read the screenshots I posted, you'll clearly see that that app itself isn't in Russian language.

And you shouldn't judge the member who asked in the first place. Honestly, you're in no position to say who should and should not be using a computer. [emoji55]

No need to respond. I think we got our points across.

I just don't feel comfortable seeing members shame other members for lending a helping hand. I mean, if we didn't need help we wouldn't need XDA now would we?

Smh

[emoji52]
[BetterBatteryStats] Karpfenhai:
Hmm, that's unlikely, did you read the report on fc?

Do this, start both crashing apps twice in a row, grab a logcat, attach it.

Regards
[BetterBatteryStats] faithless89:
I've tried this app and now I can't live without, thanks for all your work!
[BetterBatteryStats] darkilong:
here's my log after disabling ncf, i even disabled google now launcher. pls help
[BetterBatteryStats] mdamaged:
Disable GPS, recharge to at least 95%, let idle for about 4 hours, repost dump.
[BetterBatteryStats] darkilong:
i dont use gps so it is always off, when you say disable do you mean just switch it off right? if not how? thru TiBu?
[BetterBatteryStats] mdamaged:
I just can't do it atm, please someone else field this. Sorry, it burns.
[BetterBatteryStats] Karpfenhai:
The dump is okay but your GPS does still go fuzzy..

Does this behavior persist even in flight mode?

If yes, consider a factory reset as option to get rid of it.

I still object an aggressive app requesting GPS all the time, or you've been observed by NSA [emoji41]
[BetterBatteryStats] dosiwi:
Tried deactivating GoogleNow. Wake lock persist. Reactivating GoogleNow but now I get an error with GooglePlay Service in GoogleNow :D

Edit: Google Location History seems to be bugged. It is blocked through Gsm services disabled, isn't it?
[BetterBatteryStats] spiff773:
https://www.dropbox.com/s/3k5xsn5tk3nezli/BetterBatteryStats-2014-09-18_162714603.txt?dl=0

Hi, can anyone look at my bbs dump? Been having constant GPS kernel wakelock but i can't identify which app is using GPS. Both location services (GPS and wireless networks) is disabled. Thanks!
[BetterBatteryStats] v7:
this is my dumpfile.Is my battery life ok??

Any improvement tips pls.

Any help is appreciated :)
[BetterBatteryStats] F308:
Hard to review reports one after one but I have some general rules of engagement:

Before sleep freeze:

hangouts

twitter

tapatalk

google drive

google play store - (I wonder if GPS is related to it or it is related to global positioning system)

google services framework

google+

google market

chrome

whatsapp

facebook

google anonymous stats and reporting

switch off any synchronization if you have one.

Have NFC and Wi-Fi off.

Switch off Wi-Fi notification about Wi-Fi networks around, set Wi-Fi to always on when phone sleeps, don't allow Google collect information when Wi-Fi is off (all this is in Settings->Advanced)

Then connect phone for charging for a while to allow BBS set marker "since unplugged" (alternatively reboot it) then leave phone and don't touch it till next morning.

First thing in the morning is to make BBS report.

THIS will tell you how much energy phone really uses when idle.
[BetterBatteryStats] spiff773:
GPS is more likely global positioning system. It usually causes wakelock after opening an app that uses location such as maps, waze, etc. I've already greenified all location-based apps but the wakelock persists. I'm seeing a com.process.google.location in the application manager which is being used by Google Services but all of the apps are already greenified. Tried greenifying google services but greenify is using the service. Really at a loss here. This wasn't happening before i updated a lot if apps. I can't pinpoint which app uses GPS.
[BetterBatteryStats] Fightoffyoredeamons:
Anyone have any ideas to better this? https://docs.google.com/file/d/0B_J9t1yw09yqdjlNT2E4aHdBWU0/edit?usp=docslist_api
[BetterBatteryStats] H.A.B.Art:
great app :crying::crying::crying: :D
[BetterBatteryStats] Perseus:
Too Good. Couldn't have put it better! I asked [MENTION=1330150]chamonix[/MENTION] to include in OP.

That's Location Service. Please Turn it off.
[BetterBatteryStats] winamp26:
I turned off and don't on it.

If services run in background how to turn off?

Sent from NEXUS5
[BetterBatteryStats] Perseus:
If you have Turned off then either Plug in and Unplug or Reboot to Re-set BBS Reference Point.

Turning off Background Services is a very broad subject. You can't turn off Google Play Service without impacting Important Apps such as Play Store.
[BetterBatteryStats] Titchener17:
I thought we were supposed to set wifi to always off , not always on ? maybe am reading that incorrectly ?
[BetterBatteryStats] Perseus:
Yes and no. Two reasons.

1. If you kept WIFI on, the Wakelocks from Chatty devices on the WLAN such as Wireless Printers or i-Devices. That skews up.

2. If you do keep WiFi on, you'd have to change "Keep WiFi on During Sleep" to Never. That brings up its own questions.
[BetterBatteryStats] Karpfenhai:
That is really hard to pinpoint, I did never recommend to turn Wi-Fi off, mine is set to always on, but I'm in flight mode instead, so I don't miss notifications, as long as your apps behave properly, there shouldn't be a need to turn off Wi-Fi, imho.

It has a low footprint, but you need a proper configured network.

Regards
[BetterBatteryStats] Wh1t3Rose:
Like [MENTION=3639717]Perseus71[/MENTION] said, it doesn't matter how well your apps behave. If you have devices on your LAN constantly pinging out on the network and your phone picks up these packets constantly your phone will never sleep. Me entering into the Network Engineer/Cisco field I can not stand it when my router or LAN devices wake up other devices and I burn that down with fire and holy water [emoji16]
[BetterBatteryStats] Lucius1972:
Good morning everyone.

Can someone analyse my bbs dump pls?

I think my WiFi is killing my bat overnight.

Many thx.
[BetterBatteryStats] darkilong:
Hi i just switched to flight mode lets see if this will resolve the problem, is factory reset necessary? i just reflashed the ROM i also unchecked some services on my apps using system tuner (these are the only user apps i use, brave frontier, clash of clans and instagram) no FB or viber etc.

about system tuner, the start button is for recording right? do i need to switch it on for my changes to work?
[BetterBatteryStats] Karpfenhai:
Therefore I put in the last sentence, I'm using a dedicated vlan for my phone only, to minimize the broadcast domain [emoji12] but it's hard to explain it to the average user..

Regards
[BetterBatteryStats] Karpfenhai:
Check with flight mode first, you shouldn't need to factory reset your phone, consider it as last option.

No start button...

Regards
[BetterBatteryStats] F308:
Switch off everything possible.

Next night activate 2-3 apps.

Next - 3 other apps.

Soon you will see which of them is guilty.
[BetterBatteryStats] darkilong:
ok it went to deep sleep in flight mode, then i switch it on and it went to sleep again. I launched Brave Frontier and observed for 1 hour, it didn't go to sleep, I am assuming that it is the game, but how does it affect gpsd? i mean the game doesn't require any location stuffs. and i never had this problem before.
[BetterBatteryStats] spiff773:
I'd rather restart my phone everytime after using any map apps than go all through that trouble. There has got to be an easier way
[BetterBatteryStats] Karpfenhai:
Greenify it and check it's services with system tuner but I think it's just the tip of the iceberg, gladly it's not a Rom issue then [emoji106]
[BetterBatteryStats] darkilong:
i had it greenified before and the only thing worked so far is going to flight mode then reboot. any more ideas or suggestions my friend?
[BetterBatteryStats] F308:
Who said life is easy?
[BetterBatteryStats] spiff773:
A simple "i don't know" would have suffice. Thanks for your insight. *slow clap*
[BetterBatteryStats] unconfuse:
LOL. *slow clap* Well... the elimination process is pretty much the golden rule in troubleshooting. It wouldn't be too terrible to kill a couple apps now an again to rule them out would it? Another thought may be you're blocking too much? I vaguely remember Google services going crazy constantly trying to get a fix because it couldn't call home. So maybe you need more cowbell. ? You could grab logcat and look for some errors after closing your app. Good luck!
[BetterBatteryStats] ahmedelhofy:
Can. Someone explain what is going on here ?

Although it's saying that it never went to deep sleep... Those 5 hours were very stable lost only about 6%

So surely the phone was sleeping !!
[BetterBatteryStats] xI mEzMeRiZe Ix:
Getting a huge partial wakelock for BluetoothRemoteDevices (com.android.bluetooth.Bluetooth Share). Turning Bluetooth off doesn't even help...

Anyone know of a way to fix this?
[BetterBatteryStats] KevinBui:
Here are log file, please take a look into it.
[BetterBatteryStats] mdamaged:
There's nothing wrong with that log, the only way to really improve it, is to shut the device off.
[BetterBatteryStats] Wh1t3Rose:
Planning on doing this on my network soon as well :)
[BetterBatteryStats] KevinBui:
Nothing wrong with that log, but wrong with the battery. Draining 3-4 percent overnight is very not acceptable, my old device galaxy note 2 take just 1 percent in 6 hours idle.
[BetterBatteryStats] chamonix:
MediaScannerService is the service indexing your storage for media files. If it has been running for 5 hours your phone has certainly not been in deep sleep (cpu state will confirm). The service being stuck like that is often a sign for either a damaged SD card (if you have one) or a damaged file or logical file structure
[BetterBatteryStats] TheOnly1NL:
Could someone tell me why my device is awake 82% of the time and how i can prevent this.
[BetterBatteryStats] atrix4nag:
GCM_LIB

My phone is not yet all sleeping due to GCM_LIB wakelock. How can I get rid of this.

Thaks..
[BetterBatteryStats] dosiwi:
Only factory reset helped me…
[BetterBatteryStats] atrix4nag:
I just did it yesterday. I will see for couple of days.. if it didnt fix it, I will o factory reset. Thanks for your help..
[BetterBatteryStats] Sir_gpm:
Could you help me I tried to follow this but I use system tuner. If you can list the service I have to disable. Thnxs
[BetterBatteryStats] mdamaged:
Dunno what to tell you, .3-.4%/hr is pretty much standard without making the device useless. There's nothing in that log that jumps out that says "I'M THE CULPRIT", it's in deep sleep almost the whole time, no abnormal wakeups, etc.
[BetterBatteryStats] Karpfenhai:
Wow, you digged really deep, this must be from good old gingerbread days...

Do you have an issue with maps right now? I didn't touch it since years...

Let me see..

... Nope just checked, it's fully stock, no changes applied since jelly.

Sorry.. Regards
[BetterBatteryStats] atrix4nag:
After rebooting the device GCM_LIB wakelock gone but still my phone is not sleeping at all.

Now new wakelock is: SystemUpdateService.

I disabled SystemUpdateService, should I enable this to remove this wakelock? or is there any other problem with my phone?
[BetterBatteryStats] ahmedelhofy:
I know what is MediaScannerService...... when it happened to me... It was always associated with the phone getting hot and losing battery very quickly... But it didn't happen that time.... Anyway.. It was fixed with a reboot
[BetterBatteryStats] j1gga84:
I have one nasty wakelock like visible in attached screenshot. (com.google.android.gms...)

What could be the reason and how can I remove this wakelock?

Many thanks in advance

Regards

Sent from my GT-I9100 using german Tapatalk 4
[BetterBatteryStats] mrQQ:
so does anyone have any idea what's wrong with those percentages?
[BetterBatteryStats] Darke5tShad0w:
Try turning off wifi scanning always available and location services.

Your email app is one of the main culprits.
[BetterBatteryStats] F308:
Weird thing happened to me.

I switched off data transfer but BBS still showed network usage by navigation software.

Several megabytes transferred.

How is it possible?
[BetterBatteryStats] Wh1t3Rose:
It's not. You are probably looking at old log data. Clear the log and see if it happens again
[BetterBatteryStats] F308:
IMAO It is not percentage of time but number of wakeups.
[BetterBatteryStats] F308:
That's why I started believe in magic.

I connected phone to charger for a while to set BBS marker, switched off data transfer then disconnected from charger.

Launched TomTom and after 2-3 minutes saved log.

See network usage: 300+ Kb. See data off 100%
[BetterBatteryStats] TheOnly1NL:
How can I get rid of the suspend_backoff kernel wakelock?
[BetterBatteryStats] Perseus:
Reboot.
[BetterBatteryStats] mrQQ:
The question is how can 3.5h out of 5h be 6,6%.
[BetterBatteryStats] Wh1t3Rose:
Did you disable the receiver?
[BetterBatteryStats] Titchener17:
seems like vlan is akin to surface area-let me know if there's a good source of info in addition to searching and thanks again for the awesome battery mod !
[BetterBatteryStats] Perseus:
Just one idea.

How To Set Up A Home Network In 5 Simple Steps
[BetterBatteryStats] tboooe:
PowerManagerService.Display

I know this has been asked a few times but it seems no one has an answer to what this is and how to prevent it?

On my rooted ATT Note 3, according to WakeLockDetector this holds my phone awake for 20% of the time. According to GSAM battery monitor my display has only been on for 33 mins but PowerManagerService.Display has kept my device awake for over 1 hour in 8 hours since I charged it.

Any ideas would be appreciated.
[BetterBatteryStats] chamonix:
Hello,

can you reproduce after rebooting your device. If you can reproduce please enable debug logging in the advanced settings and send me a dumpfile and a logcat.

Cheers

chamonix
[BetterBatteryStats] j1gga84:
Nobody has an Idea? :confused:

I pressed on the wakelock so that the full path is visible like in the box in screenshot..

Many thanks

Regards
[BetterBatteryStats] atrix4nag:
yes, in disable service app, SystemUpdateService checkbox is unchecked.
[BetterBatteryStats] Perseus:
Can you post a Text Dump for me ?
[BetterBatteryStats] Wh1t3Rose:
I recommend you get rid of Disable Service. Get System Tuner. That way you can be sure both the service and Receiver are disabled. Usually when an intent is constantly draining battery it's because the receiver is constantly looking for a response.
[BetterBatteryStats] projektileSAM:
Which receivers exactly?
[BetterBatteryStats] Karpfenhai:
Search for posts of mine, search item “prevent“ and “update“

Regards
[BetterBatteryStats] SuRPasser:
Got the same issue with copresGcore_EventLoop?

Does anybody know where the roots of that Loop?
[BetterBatteryStats] Wh1t3Rose:
Watch the video in post #3

http://xdaforums.com/showthread.php?t=2357417

I'm also testing the method:

http://xdaforums.com/showthread.php?t=2885111

The BEST Google Play Services/ Google Search battery drain fix - AMAZING BATTERY LIFE
[BetterBatteryStats] paco_ramirez:
Dear all,

I want to share with you my stats. I think 2.5% is quite a big draining even considering that in the 12h 9m that are monitored in the file 6 or 7 of them were with airplane mode. In these hours the draining was about 6 or 7 % (1%/hr) which with other roms was 1% or even less for all these hours.

I hope you can give me hint to improve the situation (even if it requires a rom changing).

Thanks in advance!
[BetterBatteryStats] Sir_gpm:
[MENTION=4355376]Karpfenhai[/MENTION], do you think I can improve my battery drain?. How?.

http://pastebin.com/Mt87Zbfh
[BetterBatteryStats] gaich:
Something is wrong with BetterBatteryStats on LG G3. Since I bought the phone I noticed there`s always some network activity of BBS overnight. I explored some bytes are sent when the reference point is created or after every screen info update.

Of course, Google analytics is off and even knowledge base isn`t connected as well.

This can`t be a wrong reading, as I thought previously, the information is really sent by wifi or mobile - when I turn on the flight mode, the info update doesn`t cause the network activity. What`s wrong? It never happened on my previous Samsung Galaxy Nexus.

Just look:

[YOUTUBE]VMRgJ9JNnDs[/YOUTUBE]
[BetterBatteryStats] Renton91:
Hello guys,

I'm encountering a lot of wakelocks due to a strage eventX-XXXX wakelock which I found to be related to system_server, has anyone else ever had this problem?

Please, someone try to help me!

I tried to wipe everything, even the SD Card but the wakelock is still there, also after a full clean install with no app installed.

I'm on Nexus 5 with 15.09 LiquidSmooth 3.2 nightly, stock kernel, no Xposed, no Greenify or other task killer.

Really please, help me.

If needed I have a dumpfile from BBS, maybe it can help, unfortunately I'm not able to understand or read that kind of file.
[BetterBatteryStats] Perseus:
This is an In use Dump. Please provide an Idle Log preferably overnight.

Yes please post the Dump.
[BetterBatteryStats] chamonix:
What settings so you have under "Knowledge Base"? if KB is enabled BBS will retrieve the KB by making a JSON call to github. If caching the KB is disabled this call will do done repeatedly. A logcat could also help.
[BetterBatteryStats] gaich:
Everything was unchecked in KB section.View attachment logcat-2014-09-25_071242163.zip

This was obviously the reason. Network activity stopped when I enabled "Cache the knowledge base locally".View attachment logcat-2014-09-25_072653584.zip

Weird, but I never enabled it in Nexus and there was nothing in Networkstats relating to BBS.:confused:

Anyway, thank you, it`s very important information, I think it even deserves to be mentioned in F.A.Q.
[BetterBatteryStats] paco_ramirez:
Here you have. This is a log for a night in flight mode. I still believe this is high consumption for less than 6 hours. Tomorrow I can provide you with a log overnight in normal mode (mobile signal, wifi...)

Thanks!
[BetterBatteryStats] Karpfenhai:
Since this dump was not taken in flight mode it looks pretty good to me, well done! [emoji106]

---------- Post added at 10:22 AM ---------- Previous post was at 10:18 AM ----------

Looks reasonable, greenify Facebook and you should be good.

Maybe backup and sync needs to be adjusted, the next try with network enabled will show it.

Regards
[BetterBatteryStats] Renton91:
Here it is the dump of last night. Maybe I've found what was the problem and it seems it was because cLock was denied to keep awake by Privacy Guard.
[BetterBatteryStats] serow64:
nice app i like it thanks
[BetterBatteryStats] xavihernandez:
Hi,

I have something which drains my battery a little when my device is sleeping and I cannot find the culprit. If someone has a little time to help me find it out. Attached logcat.

If you need another log with only sleep state then let me know I'll do it.

PS : Note that it was on 2G only all the time it was sleeping. I use Toggle2G to toggle to 2G only when screen is off (2 minutes after). And I only toggle to LTE when I need it.
[BetterBatteryStats] jukyO:
BBS as an system app for CM11

Hello,

since some month ago due to changes in superuser in CM, BetterBatteryStats could not be installed as system app.

Workaround was to install SuperSU.

For those who are not willing to do it like that, it could be done like this:

1. Install BBS

2. apk is in /data/app as com.asksven.better.......

3. Reboot to recovery (I have TWRP).

3a. in mount menu, mount system

4. From main TWRP menu, go to Advanced -->File Manager

5. Navigate to /data/app

6. select com.asksven....apk

7. select move

8. destination is /system/priv-app

9. reboot

After reboot, BBS is an system app.

I guess CWM has something similar.

Cheers,

jukyO
[BetterBatteryStats] :
I am happy, that this program exists :D

Thank you!
[BetterBatteryStats] Perseus:
To me Location service seems bigger culprit. This is not an Idle Log. So I can't comment based on this. Please provide an Idle log.

Yes I need another Log. The phone was in use for 20 m 10 s, which will skew the results. Turn off the Toggle process. Leave it on LTE. The log shows bam_dmux_wakelock (): 13 m 42 s. Which may or may not be related. This wakelock does drain battery sizably. Browser downloaded 11MB during this time. So it does not make sense to analyze this further.
[BetterBatteryStats] xavihernandez:
Ok thank you.

I ave made another log but with 2G and WhatsApp on. I am doing another at the moment wich 2G and WhatsApp greenified.

I'll do a third with Toggle2G off and WhatsApp on. Then I'll post the 3 logs. Is it ok for you?
[BetterBatteryStats] Perseus:
Unless you left the phone untouched for a period of 5 hours or more, none of those logs are useful.
[BetterBatteryStats] xavihernandez:
Oh ok, I thought 2 hours would be ok.

I'll make those test overnight then :)

Thanks for your help.
[BetterBatteryStats] atrix4nag:
Just want to confirm that, If I use this setup, still I will get my gcm push notification from gamil and whatsapp, right? I just want to follow one method, I used so many methods, and getting confused which method is breaking what.. So now I am startign all together from start.. so just want to make sure to follow single method and get push notifications, with better battery...
[BetterBatteryStats] Karpfenhai:
It works for me... no issues with push

Regards
[BetterBatteryStats] Spaulding89:
+1
[BetterBatteryStats] Finnegans:
Does anyone know what this copresGcore_EventLoop thing is? It's waking my device like crazy [There should be a pic here but I can't link before my tenth post]
[BetterBatteryStats] mdamaged:
Pics are usually useless, post as an attachment, a BBS dump, it's far more useful and you can post those even if you're under 10 posts. It's best to charge the device, let it idle for at least 4 hours, then take and post the dump.
[BetterBatteryStats] atrix4nag:
Thanks for quick reply. its working...
[BetterBatteryStats] paco_ramirez:
Here it comes: an overnight log including mobile network and wifi on. It is a 2%/hour, however I hope you may find something strange that makes it going to 4-5%/hour with little use as it was shown in the first log I posted.

Due to that symptom I have the feeling that this can be caused since I tend to switch on the phone for watching the hour or just fast things and it is possible that there are some apps that delay the time to back into deep sleep mode after the screen was on.

Thanks in advance.
[BetterBatteryStats] Renton91:
Here it is the idle overnight log. I stayed on mobile data all night long, without wifi scanning and with privacy guard enabled, and a couple of hours with privacy guard disabled. Hoping this is enough to found a solution to this annoying problem. Thank you anyway for your help.
[BetterBatteryStats] xavihernandez:
[MENTION=3639717]Perseus71[/MENTION]

I have made a log, 6h+ idle overnight.

LTE ON, Whatsapp ON, Viber ON, no mail account sync (manual sync).

Attached the log, thank you.