yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] dxaxn:
Can someone give me advice please?

I'm on arhd 31.6 and I have bbs with root feature on, but I can't see any stats in cpu states. Everything else showing with no problem...

Thank you
[BetterBatteryStats] Perseus:
The reason I asked the Rom was to see if you have Kitkat or JB. Ok report back your findings.

Sometimes through Dirty or Clean flashes, you may loose APNs or have them messed up. This is true even if you didn't touch it,

You still have not said if you have applied the settings I referred to. Only after that's done,

Please follow the instructions of this thread.

Like [MENTION=1330150]chamonix[/MENTION] said, you have a cost benefit equation. So long you are able to live with the battery cost, you can leave it all on. For ex, I always have Master Sync on but turned off for Gmail as I use Gmail only occasionally. I don't use Facebook service so never had that problem. However, we all know for a fact this app does disregard its own settings on Refresh Frequency. The same is true with some of the other Social Media Apps. You might be better off using alternate services or using the mobile website.

Where Location is concerned, its a known bug/issue with Android code that, you can't have Wi-Fi Location Service and GPS on at the same time. It will chew up the battery. I do use GPS quiet a lot. But I do turn it on only when I am navigating. I don't care for Targeted adds so don't care to let Google know my location at all times. It doesn't make my phone any dumb, I just don't have to rush off to find a plug everyday. Besides, I use other mods and Kernel undervolting that give me a lot more battery saving than these combined.

Lastly most of the users who come here with battery trouble come of their choice. They follow the advice of their own choice. But at the end of the day, they are noobs or Newbs. They may not be able to do specific or intricate settings needed to turn off certain receivers let alone Kernel tweaking. However they can decide if they use certain app or just haven't used it at all. But at the end of the day, it is solely the users decision weather they wish to live with the battery loss or not. By coming here looking for advice, they have made a decision in that direction.
[BetterBatteryStats] Karpfenhai:
This is the recently introduced Google cloud manager / messaging, you can disable all its receivers within play service w/o any negative impact if you don't use cloud services.

Especially this one should be disabled:

Then it can look like this (location enabled):

Damned, Screenfilter was active, sorry...

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] jerome38:
Hi,

Here is my dump file.

The first screen on BBS shows Wifi running 100% while my wifi is turn of the major part of the time.

Hi have a very high battery drain problem.

Thanks in advance
[BetterBatteryStats] Karpfenhai:
Does the drain persist even in flight mode? If not, try to flash another modem / baseband.

If yes, consider a faulty hardware as a possible option.

Tapatalked from my Galaxy SII
[BetterBatteryStats] brunek:
Where do I go to disable that? I looked in settings/apps but I cant do it from there..

posl'o ja to s mob'tela
[BetterBatteryStats] Perseus:
You don't . You need Android Process Tuner for that.
[BetterBatteryStats] Bonumy:
Hi,

After install new rom, sweet rom v 11.1 sometimes my phone wake up and I see on the bottom of my screen written "sending..."

Last night I disconnected phone from charging and screen wake up 3x in 2 minutes.

I make log from bbs but I don't know what it is.

Thanks for your reflection

Galaxy note N7000

Sweet rom v 11.1 (JB. 4.1.2 LTA)

Fast dormacy disable
[BetterBatteryStats] brunek:
I disabled all like on the first picture you posted,but I found only 3 out of 5 things from this picture to turn off..:what:

posl'o ja to s mob'tela
[BetterBatteryStats] chamonix:
Hey heck in is Google places. What settings are you using?
[BetterBatteryStats] chamonix:
You've earned a kb article. Could you summarize the case based on the template from github? Drop me a pm if you are interested
[BetterBatteryStats] aapman88:
Like multisaft i also found battery_daemon way up (16 h +)

i have a HTC sensation, with no root acces

i have a logfile but cant post it because of to little posts
[BetterBatteryStats] schwann:
double post
[BetterBatteryStats] xflowy:
man i dont get it^^ my english isnt the best. what do u mean by "kb article"? and what should i summarize where? could you explain that to me :)

thanks!
[BetterBatteryStats] 18rmiller:
I dont use those apps (latitude or places) so I have no settings. I looked in latitude and location sharing was off, I also looked in places but didnt see an option to turn anything on or off
[BetterBatteryStats] Karpfenhai:
kb is a common shortcut (Abkürzung) for Knowledge Base (Wissensdatenbank)

He means you should add your findings there..

Er meint, du solltest deine Erkentnisse dort zusammenfassen..

glad to help ;) :D
[BetterBatteryStats] nyijedi:
Does the BetterBatteryStats app itself cause any battery drain by running all the time? That is, when you guys aren't troubleshooting an issue, do you uninstall the app, or is it safe to leave it installed at all times?
[BetterBatteryStats] Karpfenhai:
afaik, if its off, its off..

it only computes system generated data during runtime, correct me, if im wrong.
[BetterBatteryStats] yhrn:
That's my understanding too. I believe BBS is only using existing info by parsing it, calculating stats and displaying it on demand. The only time I know it needs to stay alive is when you set a Custom ref and leave the app using the home button but then I believe that BBS only uses up some RAM to be able to show you delta stats. It doesn't do anything active in the background.

I have never seen any drain from BBS and I always have it installed. Everybody should have it installed - always! :D
[BetterBatteryStats] skimminstones:
ok, i tried this and overnight the wakelock isnt as big but still there. It went from 20% ,(1 hr 51 mins) to 7% (22mins)

My desire hd with exactly the same settings doesnt even show the wakelock so it seems its either an issue with the GS2 or the 2.3.6 its running on as my desire is 2.3.3

Ive frozen maps in titanium for now
[BetterBatteryStats] MistahBungle:
I really wish...

...people would upload their BBS stats & alarm files as well as screenshots rather than doing the copy/paste thing. Makes reading this thread a pain in the arse at times.

Just sayin.
[BetterBatteryStats] reinbeau:
Or use the [ code] [ /code] tags (remove the spaces).
[BetterBatteryStats] aapman88:
i also have the battery_daemon way up like multisaft

here is a link to the bbs log

http://dl.dropbox.com/u/17643233/BetterBatteryStats.txt

I did not root my phone and thus running stock rom

i m a bit of a noob on code language

and i had an other question in my kernal wakelocks PowerManagerService is also up. I found that this has to do with apps that are interacting between system and kernel. So i guess that these are system processes right? Wel it also states that i have to look in my partial wake locks. When i look into these the most importants are ActivtyManager-launch, AlarmManager and TunnyBrowser. Which are coupled to android system and UID. Well and if i understand it well then to get more insight in what is calling these wakelocks a have to look into the alarm section, which is only possible with root. So if i m right this is a bit of a dead end and can only be improved by trail and error?

appreciate the help
[BetterBatteryStats] chamonix:
no, bbs is not a service and uses cpu only when you use it. The data bbs accesses is there anyway, just hidden or not available in that form.
[BetterBatteryStats] chamonix:
PowerManagerServices is the counterpart of the sum of the partial wakelocks. On some phones the partial locks are named with the app that requested a partial wakelock but on must phones I know there is this generic name summing all wakelocks requested in userland.

I will take a few hours to look into battery_daemon but as I can not reproduce it it's a little difficult to get an overview. If someone would be ready to analyse the configuration it is occurring in that would be a great help:

- what phones / rom / kernels?

- do we have sources of the kernels?

It is intriguing that google knows almost nothing on that as sources are all over the place.
[BetterBatteryStats] aapman88:
I think I found it, it seems that battery_daemon only runs when the phone is charging and the screen is off. And few min ago in the forum part for HTC sensation it was reported that it send to has to do with reporting battery percentages.

I'll keep an eye on it if it's really only increasing when charging.
[BetterBatteryStats] Xoib:
"Finally with the system app BBS is fully featured without any workaround." [MENTION=1330150]chamonix[/MENTION]

Even not the need of root ?
[BetterBatteryStats] henry8668:
which version of android and how to access this settings? I didn't find those in the app info of the google play service
[BetterBatteryStats] brunek:
Read man,it was explained just a couple posts back...:banghead:

posl'o ja to s mob'tela
[BetterBatteryStats] Karpfenhai:
You are probably not yet on kit Kat?

It was less in jelly, don't worry.

Tapatalked from my Galaxy SII
[BetterBatteryStats] brunek:
Yea man, I`m still on JB! Thanks!:good:
[BetterBatteryStats] chamonix:
installing an app as system app requires root so unfortunately we are stuck with the need for root thanks to the decisions made by Google without any explanation.
[BetterBatteryStats] shadyabhi:
Guys, please help. I've sincerly tried searching everywhere already

If that's the only thing I can do, I guess, I'm fine with it.

Hi, my problem is now different from what I posted earlier. My phone (Galaxy Note 3, exynos version) starts to get stuck in wlan_wake wakelock. The strange part is, it doesn't go away even after I switch off wlan. For the love of god, how do I debug this? I'm a experienced linux guy so it's ok if you tell some hacky ways to debug this. I'll really appreciate a reply. BBS stats: http://pb.abhijeetr.com/cdZJ

PS: My phone is not rooted and I can't root it because currently there is no root method available for my phone that doesn't trip the warranty bit.
[BetterBatteryStats] starbucks2010:
Hi,

I'm on Foxhound ROM v3.x (JB 4.3) with faux kernel and BBS 15.0 and the % of 384 MHz or deep sleep is wrongly calculated. I have for 384 MHz 2.2%, the rest of frequencies are ~0.1% and the deep sleep is at 19.5% even the blue line beneath is all way to the right. In faux app I see the deep sleep at 19% and 384 MHz at 74%.

Best regards.
[BetterBatteryStats] wilflare:
Using the latest on Galaxy Note3 4.3

any idea what's causing the wakelocks?

like the large discrepancy between Awake and Screen On
[BetterBatteryStats] Yuri_Gr:
This application is very interesting for me.
[BetterBatteryStats] dagansandler:
Hi,

I need some help with logs analysis to understand what's draining my battery and keeping my phone awake.

I'm attaching a log dump where out of 3 hours, screen was on for 13 minutes, yet the phone itself was awake for 50 minutes.

This is something I've been observing for quite some time now, but can't figure out what's causing this.

Device is Samsung Glaxy S2, new original battery, running CyanogenMod 10.2 - Android 4.3.1

Thanks in advance for any input you might have...
[BetterBatteryStats] brunek:
Post your dump so people can have a look..
[BetterBatteryStats] wilflare:
added my dump to my previous post
[BetterBatteryStats] brunek:
I see sync and google play causing problems..
[BetterBatteryStats] wilflare:
strange :/ this only happened recently :/
[BetterBatteryStats] brunek:
Also you have 2h15min of "screen dark" which shouldnt be there. I dont know what does that stand for, I just know that it shuldnt be there. Maybe its connected to sync..:confused:

I hope that somebody who knows will tell you why is that for sure..

Here is a link that will help you understand wakelocks..
[BetterBatteryStats] matrixzone:
I have just updated to Stock Android 4.3 on Samsung Galaxy S3, presuming will be getting better battery. Not happy with the battery life.

Enclosed is the last night deep sleep BBS Stats. Hope someone can point me to the faulty app. I used to get close 0.4% per hour deep sleep drain, but got 1.1% per hour battery drain. Even was getting better battery with 4.1.2. I am always on 2G in the night for better battery life.
[BetterBatteryStats] nachomacho12:
Does anybody know what is causing the audiomix wakelock on kitkat? Been searching for it but couldn't find any answers. disabling system sounds like locksound didn't work out for me.
[BetterBatteryStats] brunek:
You have 97% deep sleep... It cant get better then that...

posl'o ja to s mob'tela
[BetterBatteryStats] PiggySmalls:
You might try turning off haptic feedback, and keyboard sounds. I know there are a couple wakelocks associated with that, but can't for the life of me remember the names.
[BetterBatteryStats] matrixzone:
But still the battery drain was 1.1%/per hour which is bad. I used to get 0.4% on 2G.
[BetterBatteryStats] brunek:
I see bam_bmux_wakelock(dont know what that is),some widgets refreshing,a bit of grenify.. If you put app with push messages in grenify that might be a problem.

Your phone was 2m on 1.13 GHz,thats your wakelock,something keept your phone on max freq..

posl'o ja to s mob'tela
[BetterBatteryStats] chamonix:
There is not much you can do to improve except look into this widget that causes wakeups: om.sec.android.widgetapp.favoriteswidget.SeniorFavoriteWidgetProviderSmall

A widget should never use wakeup alarms so this is a design flaw.
[BetterBatteryStats] ytgbg:
Thank you for this useful app. Thank you for bringing it fast to Kit Kat!
[BetterBatteryStats] matrixzone:
I dint use any widget except the clock, will remove the widget you have mentioned.. So is it safe to remove apps like Samsung push service, Samsung sync, Google crap like Google music, etc.
[BetterBatteryStats] nachomacho12:
Thank you for the quick reply, I forgot indeed to turn haptic off. I will have a look if it will reduce the audiomix wakelock
[BetterBatteryStats] Karpfenhai:
You should try to flash your former modem, i guess you got another one with the upgrade, this can make the difference.

Regards.

Tapatalked from my Galaxy SII

---------- Post added at 03:01 PM ---------- Previous post was at 03:00 PM ----------

Jepp, it's save.

Tapatalked from my Galaxy SII
[BetterBatteryStats] V13w3r:
Thanks for the suggestion. I have already uninstalled/removed Light Flow and Facebook, then disabled mobile data, Wifi, location services, GPS and mobile network (airplane mode). I charged it and left it overnight and saved the logs.

The situation does not seem to improve much though :(

Attached are the logs I got.
[BetterBatteryStats] ihatelolcats:
thank you for the response, i forgot to mention that sync is turned off and after rebooting it still wakelocks. i dont understand how thats even possible
[BetterBatteryStats] Muzzball:
Thanks for this app! Really useful! :)
[BetterBatteryStats] Perseus:
Why is your NFC on through the Airplane mode ? Doesn't make sense. For the GSF, please follow this thread ? Yes you will loose some notifications but probably worth it. Please freeze Google Search App.

Can you provide a dump ?
[BetterBatteryStats] ihatelolcats:
sure

http://pastebin.com/dgMhUBXZ
[BetterBatteryStats] Perseus:
I meant here.I have firewall issues.
[BetterBatteryStats] warezxts:
hey guys! any idea about com.google.android.apps.maps.nlp.ALARM_WAKEUP_ACTIVITY_DETECTION ?:cyclops:
[BetterBatteryStats] chamonix:
Sure, it is location (part of the closed source fused location provider)
[BetterBatteryStats] rignfool:
[MENTION=1330150]chamonix[/MENTION]...

Ever consider an addon.d script to move the BBS helper on a ROM update?
[BetterBatteryStats] wilflare:
hmm wonder if it's due to Lux :/ (auto-brightness replacement)
[BetterBatteryStats] Phantom_11:
Hello guys, I'm new to this thread. I seems I got a lot of wakelocks from Google Play Services. Could someone help me have a look at my dumpfile and tell me if it's normal? Thanks.
[BetterBatteryStats] SilverASH:
Hello!

BetterBatteryStats shows me that my phone don't go to deep sleep anymore. It's something to do with Google Play Services- exactly: *sync*/com.android.browser/com.google/effee -many, many numbers and text- gmail.com

What app or service it is and how can i fix deep sleep problem?

EDIT: problem solved.

SOLUTION: my original android browser synced all the time. To turn it off go to settings, then accounts, then Google, then your email account, then uncheck the browser sync.
[BetterBatteryStats] ihatelolcats:
i have the same problem, how did you fix it?
[BetterBatteryStats] nachomacho12:
I turned all sounds off including haptic, but the wakelock audiomix didn't reduce. the wakelock uses 32 min on 6,5 hours uptime so it is a serious problem. anyone else faced the same problem and has found a solution?

or does anyone else has a another idea to solve it?
[BetterBatteryStats] wilflare:
anyone knows what causes the kernel wakelock "Screen Dark"

I have them for hours :/
[BetterBatteryStats] Karpfenhai:
Do you have dream scene enabled?

Tapatalked from my Galaxy SII
[BetterBatteryStats] wilflare:
Nope. I have Daydream uninstalled. I can post my log up shortly

EDIT: posted
[BetterBatteryStats] matt-86:
Canceled
[BetterBatteryStats] gabriolinari:
hi guys,

New battery dumps, overall i'm quite satisfied with this, and the only "strange" thing is that when i put flight mode enabled overnight, the battery consumption seems to stay the same as during the day more or less, which shouldn't be since everything is OFF, right?

anyway, the only thing i have running in the background is "sleep bot" + fixed alarm during the work week when i am sleeping and phone is in flight mode...

as i said overall everything is good, sync ON (gmail + g calendar) it runs 2 days on "normal use", say 40-50 minutes of calls (in 2 days), around 50 sms, wifi on for about 12 hours and some web browsing. and with sleep bot on during the night (flight mode)...

thanks guys

Gabrio
[BetterBatteryStats] chamonix:
It would be great if you could post your solution so other can benefit from your experience
[BetterBatteryStats] deedeeceleb:
I think he solved it by disabling the browser sync in settings

Gesendet von meinem Nexus 4 mit Tapatalk
[BetterBatteryStats] SilverASH:
My original android browser synced all the time. To turn it off go to settings, then accounts, then Google, then your email account, then uncheck the browser sync.
[BetterBatteryStats] V13w3r:
Not sure why NFC is there. I double checked and am pretty sure airplane mode was turned on.

I have done as you instructed and deactivated certain GSF services based on the thread you have provided.

Google Search App also has been freezed with titatnium backup.

Still drains hell of alot of battery. Attached are the logs.
[BetterBatteryStats] Karpfenhai:
Yes, Daydream, sorry :P

Based on your Dump, the drain looks reasonable, but there is to much overhead, so post a straight idle dump as described in the op and we will have a closer look.

Regards.
[BetterBatteryStats] ihatelolcats:
i have all syncs turned off and i still get the wakelock. thanks though
[BetterBatteryStats] chamonix:
note that turning off sync or backup in settings does not stop currently running threads. A reboot will about them and the threads will not restart so the wakelock should be gone.
[BetterBatteryStats] ihatelolcats:
it wont go away...i really am at a loss
[BetterBatteryStats] chamonix:
repost a dumpfile please
[BetterBatteryStats] ihatelolcats:
thanks
[BetterBatteryStats] henry_gale:
I'm using the betterbatterystats dashclock widget and am noticing it has a high memory usage. I believe I have seen up to around 150MB and usually is no lower than ~40MB. I did a search but could not find anyone else with this issue... thanks! Happy Thanksgiving!
[BetterBatteryStats] chillmeow:
Hi,

I just updated to Android Moto X 4.4 KitKat, and for several days I have this GsmInboundSmsHandler that kept the wakelock.

I have only seen one post about this online who has updated to kitkat, but there's no solution. Does anyone know what cause this and the possible fix?

I've tried wiping, but doesn't get rid of it. Please help if anyone know or seen this.

Happy Thanksgiving!

Thank you!
[BetterBatteryStats] chamonix:
I see a lot of activity (alarms) from sync manager. That is weird since you told you had turned sync off. I see two possibilities:

- there is still a settings somewhere that tells your browser to sync

- the last action (that was not finished) is recovered and continued even if you have turned all sync settings off. In that case cleaning the the data/cache from settings - applications and another reboot should help
[BetterBatteryStats] chamonix:
Could you please post a screenshot of where you have observed the memory usage so that I have a chance to reproduce and look at it from there.
[BetterBatteryStats] chamonix:
There is no way to tell anything from that run as it is not idle. Please read the 3 first posts of this thread and repost
[BetterBatteryStats] henry_gale:
Thanks, let me know if I can provide anything else to help.
[BetterBatteryStats] rignfool:
Are you restoring things via titanium backup?

I have noticed that when I do that... It behooves me to wipe data on all Google apps that restore via the autosync process...

I can't explain why... But my alarms and partial wakelocks that were a problem become much less a problem that way...
[BetterBatteryStats] ihatelolcats:
no, not using titanium backup

i guess im just going to factory reset. i cleared cache and dalvik and sync still wakelocks it. thanks for trying though
[BetterBatteryStats] SilverASH:
Hey chamonix!

Can you or somebody else help me little bit?

I'm having problems with deep sleep. Some apps and services are keeping my device awake.

Could you take a look?

And i'm on cDroid 4.4 on Nexus 4.

Any help would be highly appreciated :)
[BetterBatteryStats] wilflare:
hope this new dump helps!

it has like long hours of wake.. when none of my wakelocks reflect it :/
[BetterBatteryStats] Karpfenhai:
Hmm, even if its not fully reflected in BBS (count vs. Time) i think Backup, Sync and Auto Update from Playstore are your main culprits, adjust them and take another reading ;)

Note, every Wake up / Alarm causes at least 6 second overhead which is stolen but invisible, you have a bunch of alerts (around 1300), multiply them by 6, divert by 60 and subtract the screen on time, whats left is your congruent overhead, the invisible one reflected in other but not measurable in partial wakelocks, should be almost the same amount as awake minus screen on, happy calculating ;)

Regards.
[BetterBatteryStats] wilflare:
the thing is it wasn't like so.. until recently (can't remember what changes were made)

I greenified Play Store though... so if this still happens :/

3h of Awake when my screen is on for only 26mins :/
[BetterBatteryStats] manekineko:
I searched but surprisingly couldn't find anything about this, is there a way to prevent the watchdog from notifying me about screen off wake time if it was while connected to a charger?
[BetterBatteryStats] Perseus:
What Watchdog is this ?
[BetterBatteryStats] manekineko:
It's an option under settings to inform you if your phone is being wakelocked.
[BetterBatteryStats] Perseus:
Oh that one. In the Settings, turn off BBS settings for continuing when plugged in.
[BetterBatteryStats] manekineko:
Hmm, odd, the setting under Settings => Advanced => Enable while charging was already unchecked for me.

Now that I think about it, this problem only arises when I'm charging from my computer via USB. Is this actually a bug in the Enable while charging code that it doesn't consider USB charging to be charging?
[BetterBatteryStats] skivnit:
https://www.dropbox.com/s/voaidoq85saf21o/BetterBatteryStats-2013-11-29_060728362.txt

Guys do you see anything that could be causing the drain? I can't figure out what it is

Sent from my Perseus powered octa
[BetterBatteryStats] zstoichev:
Purchased ^_^ great tool