yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] zsams:
quick question look at my stats

Hi,

I've been playing around with my phone and with BBS. Just had some short questions.

I attached my BBS dump. The Phone was mostly idle during the 2 hours, only received 1 phone call, and sent 2 text with whatsapp.

It's a Samsung GT-S7562 with stock ICS ROM, rooted. Never logged into Google, entire GSF disabled, Playstore, lot of bloatware disabled.

Novalauncher.

Is the high number of RILJ normal?

Other times I got long "show keyguard" wakelocks, with minimal usage for 6 hours I got 40 minutes of "show keyguard" with count around 30-40.

What can be the cause?

Thanks in Advance!
[BetterBatteryStats] Karpfenhai:
Not entirely normal but also not unusual, :D

If you're moving fast or your data connection is flapping between different states, then it's normal.

Maybe a newer modem can help.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Daimonion1980:
Hey chamonix

Tried 1.15.B3 yesterday and 1.15.B4 today on Nexus5 with 4.4 KitKat. (I know that BBS in V1.14 is not prepared for KitKat)

Should these Version already work with N5? Because i got no reference set. (see attached screenshot)

Do you know this error or is it new for you?

Edit:

Damn didn't read stevebuk's post. So sorry, for double asking this question!
[BetterBatteryStats] Karpfenhai:
Did you guys reboot / unplugg after updating to latest version?

Sven usually keeps the reference between versions but i guess in this early stage he might not for debugging purposes, so please ensure you have a clean basis before reporting issues (reboot and plug / unplug the charger)

Regards.
[BetterBatteryStats] Daimonion1980:
Thanks Karpfenhai for your answer. I will try this and report. ;)
[BetterBatteryStats] zsams:
Thanks for the answer.

Will look into that.

Do you have any idea for the show keyguard?

I have the stock lockscreen, and to no app/widget that is updating anything on it.
[BetterBatteryStats] Daimonion1980:
Rebootet and plugged/unplugged so far.

Message with Reference is gone and Kernel Wakelocks/Partial wakelocks are shown.

Overview Screen (stevebuk attachment) is not filled. I think chamonix knows this.

Waiting for the next Betas.
[BetterBatteryStats] Perseus:
Yes this expected due to certain Changes in Kitkat Code. It may resolve eventually but for now this is what you are going to get.
[BetterBatteryStats] Choristav:
This fixed all my gtalk and play store wakelocks! However during that process, it also disabled the installation of play store apps (which I normally don't care but I'd like to get it fixed anyway).

Any idea why do apps download to 100% and 'get stuck'? They sometimes install after a reboot, or at other times after waiting for a whole hour.
[BetterBatteryStats] Perseus:
Could be any number of reasons. You will have to restore Play Service if you want to install from Store.
[BetterBatteryStats] Choristav:
Any idea if it's possible without a full data wipe and without a backup :3? (full wipe always fixes everything)

Edit: making it ontopic, I can't actually install the app on my phone without a couple reboots :)
[BetterBatteryStats] Perseus:
If you just dirty flash your current Rom, it should restore the Play Service file.
[BetterBatteryStats] Choristav:
Might as well try before a full wipe, thanks.
[BetterBatteryStats] Aerowinder:
It's counterproductive at best. I'd like to see a BBS log with it removed. If there is still a problem, it can then be fixed, as JuiceDefender won't be masking it.
[BetterBatteryStats] chamonix:
Could you please post a logcat and a dumpsys (dumpsys > /sdcard/dumpsys.txt on you phone). Other, partial wakelocks and processes all require root but if partial wakelocks work and other don't the problem is elsewhere. As per the changelog other should work (and they do on my test phone)
[BetterBatteryStats] chamonix:
While testing I noticed that the alternate partial wakelocks do not obfuscate credentials. Sorry for missing that, I will fix on the next beta.
[BetterBatteryStats] Perseus:
Man that's wrong on so many Counts! Why would anyone want to do that ? :rolleyes:

Google Play wants your Location. Remove Google Play and Google Play Services from Startup. In addition turn off Location Service.
[BetterBatteryStats] HiDEFF:
Thanks for the response!

Do I remove Google play and Google play services with autostarts or greenify?
[BetterBatteryStats] Perseus:
Either way will do. I prefer Removing from autostart.
[BetterBatteryStats] MWilkenson:
Does this effect any use of the play store or the phone in general?
[BetterBatteryStats] Karpfenhai:
Hey there, show keyguard does usually appear and count, as long as your secured lockscreen is visible, check whether it vanishes if you set up an insecure LS.

Tapatalked from my Galaxy SII
[BetterBatteryStats] HiDEFF:
So just disable all of it?

---------- Post added at 01:29 PM ---------- Previous post was at 01:19 PM ----------

I believe it only effects auto update.
[BetterBatteryStats] Perseus:
Yes
[BetterBatteryStats] SaintCity86:
Yeah I remember when I first got bbs i got a read out with juice defender, and one without, and I couldn't really tell a difference. It's hard cuz i use this phone constantly. If I'm not using apps, then I'm sitting around downloading and watching movies on it. The only time I can get a good 4 hours of idle is maybe between 1am - 5am. But I've got to remember to kill everything and greenify then lock up the phone before I fall asleep. Lol. What I'll do is hey both read outs then come back. 4 hours each, with/without JD

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] Daimonion1980:
Attached i have a dumpsys. With logcat i have a Problem at the moment. My N5 is completely stock and without root.

So tried to make a logcat with app from Playstore but didn't work. Tomorrow I try to make a logcat with adb.
[BetterBatteryStats] chamonix:
In your previous answer you saif that partial wakelocks were present and based on that I asked for more info. As now it becomes clear that you don't have root it is normal that you can't seen other stats, nor can you see partial wakelocks nor processes as those stats are - on kitkat - only available with root.
[BetterBatteryStats] Daimonion1980:
ah okay. sorry, thought partial wakelocks were visible. you are right. partial wakelocks aren't visible for me.

So, will it be the default behaviour for kitkat that partial wakelocks will require root or do you investigating a way to get this to work without root?
[BetterBatteryStats] chamonix:
1.15B5 is up with fixed obfuscation for account info (changed format).

I need some serious testing of the figures now guys...
[BetterBatteryStats] hawkdown77:
Please...i neeed help....

What is this wakelock in the image?

It get on all the time while my screen off...how i disable this?

Thankss
[BetterBatteryStats] rignfool:
I noticed Juice Defender or a bad Tasker profile caused this...

Its what happens when data is shut off abruptly during a sync usually due to bad service
[BetterBatteryStats] hawkdown77:
I dont use juice defender
[BetterBatteryStats] djtiko:
Hey guys. I'm finding that I have a really high awake time again.

I did post my logs a long time ago and had my phone tweaked for great battery life but now it dies really fast. So here's a log with light to moderate usage.

The only thing that is different from the last time I posted is that I have bbm(probably my culprit) and I have a tasker profile to enamel sync briefly and then disable it every 4 hours.

Thanks.
[BetterBatteryStats] HiDEFF:
So I just want to make sure I'm doing things correctly. I'm supposed to disable everything under Google play services in Autostarts? This won't mess with my phone?
[BetterBatteryStats] Gunkk:
U might lose Google Now.
[BetterBatteryStats] Perseus:
[MENTION=1330150]chamonix[/MENTION]. I will start my testing right away. Even though I am on 4.3, I will post my findings. First impressions seems good. Inherited my existing settings just fine.

At 4.5 % per hour, I may not term it light to moderate usage. But to each their own I guess.

Turn off SYNC. That Tasker isn't doing what its supposed to. You are right Blackberry messenger has gone ape. Reduce its Sync frequency if that's possible. If you have been using it a lot, then that's what you get in terms of battery. Remove Google Play service and Google Play from Startup in EXACTLY that order.

Nope. I want that entire service disabled in Autoservice. Nevermind what's inside.
[BetterBatteryStats] HiDEFF:
Alright; I backed up Google Play Services and Autostarts just incase things go wacky.

I have disabled Google Play Services in Autostarts so, I'll run another dump tonight and post it tomorrow. One last thing, should I also disable Google Play Store as well?

Again, thank you for you help! I truly appreciate it.
[BetterBatteryStats] rocada:
Help me again :

https://db.tt/o2w09eth

What is suspend_backoff?

Do I have to change the kernel?

Thx.

Sent from my android with Tapatalk 4
[BetterBatteryStats] qwerty22:
BetterBatteryStats 1.15.0.0_B2

BetterBatteryStats-2013-11-12_072005751.txt:

com.google.android.gsf (): Wakeups: 14
Alarms: 14, Intent: {com.google.android.gsf
...
com.drweb (): Wakeups: 1
Alarms: 0, Intent: {com.drweb
Alarms: -1, Intent: {com.drweb

alarm.txt (dumpsys alarm):

cmp={com.google.android.gsf/com.google.android.gsf.checkin.EventLogService$Receiver}
+2s224ms 17 wakes 17 alarms: cmp={com.google.android.gsf/com.google.android.gsf.checkin.EventLogService$Receiver}
...
+162ms 2 wakes 2 alarms: cmp={com.drweb/com.drweb.utils.AutoUpdateService}
+162ms 2 wakes 2 alarms: cmp={com.drweb/com.drweb.utils.AutoUpdateService}
+37ms 1 wakes 1 alarms: cmp={com.drweb/com.drweb.antivirus.lib.monitor.MonitorService}
+37ms 1 wakes 1 alarms: cmp={com.drweb/com.drweb.antivirus.lib.monitor.MonitorService}

"{com.google.android.gsf" != "com.google.android.gsf.checkin.EventLogService$Receiver"

Upd.

1.15.0.0_B5 - same result :( See BetterBatteryStats-1.15.0.0_B5.rar
[BetterBatteryStats] jlmcr87:
Since I installed the latest beta 5 on my nexus 5, my battery drain drops from 1,8% per hour to 0,3%:D (and 90 to 99% deep sleep)

Looks like the previous versions drains a little in kit kat. Good job
[BetterBatteryStats] j1gga84:
I have already unchecked Phone and Dialer, here are some Screenshots. Hope this thelps

Many thanks in advance :)
[BetterBatteryStats] chamonix:
Please post a dumpfile or it did not happen.
[BetterBatteryStats] dipzb90:
does anybody know what causes AudioMix partial wakelocks on a Nexus 5? I've googled and searched the forum without any luck
[BetterBatteryStats] :
How come you only have 3 wakeups from com.google.android.googlequicksearchbox?! It's the highest counter for me. Does anyone know what to do about it? I can't greenify it since Xposed doesn't support KitKat, yet.
[BetterBatteryStats] Perseus:
Can't access that with firewall issues. Post the dump here please.

Pray tell, what am I supposed to do/look at ? What's your question again ? You didn't attach full text dump for me to help.

.2 % per hours. That's best its going to get. I'd stick with this setup. Did you freeze Play Services ? Any side effects from it ?
[BetterBatteryStats] mag01:
Did you disable the Hotword Detection in Google Now settings? That might help.
[BetterBatteryStats] :
Since my language is not English (US) it doesn't work anyways. Am I right? (This means I didn't disable it...)
[BetterBatteryStats] mag01:
In that case yes. Then I don't really know. I've got also Location and Smart Card related options off, everything else at defaults.
[BetterBatteryStats] HiDEFF:
Since disabling Google Play Services, the one app that has FC is Tapatalk but not sure if its related. Other than that, it's been smooth sailing.
[BetterBatteryStats] Perseus:
Good for you. I was wondering if Play store or gmail gave any grief logging on to the their respective service/product.

Enjoy the Battery!
[BetterBatteryStats] mag01:
So how did you exactly disable Google Play Services? In Autostarts for After Startup events? Or also some other way? Because I've done that (and I also disabled them for the Connectivity changed events), but some Google Play Services processes still start anyway.

Note that I also tried to disable the Google Play Store (com.google.android.finsky.receivers.BootCompletedReceiver) for the After Startup event, but Autostarts fails on that one with "Unable to change the state of the selected component" though it can alter other system processes alright.

Google Nexus 5
[BetterBatteryStats] HiDEFF:
I disabled everything in Google Play Service with Autostarts.
[BetterBatteryStats] qwerty22:
Sorry?..

Attached Files (alarm.txt, BetterBatteryStats-*.txt, dmesg-*.txt, logcat-*.txt):

I do not have a question for you. I have proof of the old errors in the new version. They are clear with no further explanation.

P.S. Sorry for my English.
[BetterBatteryStats] chamonix:
I will probably not push any beta today: there were no bugs reported on B5 since yesterday and my Nexus 5 arrived and needs to be set up. My gnex with kitkat was a great help to get started and will be used for system heavy tests.

Next release will probably be RC1 with proper migration scripts for users coming from previous version, specific instructions for kitkat users. Unfortunately graphs are not supported on kitkat and will probably stay broken until the batterystats service that Google intentionally broke is recovered.

I am also preparing a rant/post about what happened with this release and why I am not happy at all about that.
[BetterBatteryStats] qwerty22:
Do you have a plan to fix the incomplete display wakelocks?
[BetterBatteryStats] fradbari:
Are not completely compatible with nexus5 and KitKat 4.4, or I'm wrong?

Inviato dal mio Nexus 5
[BetterBatteryStats] Perseus:
Yes the latest beta is. You need to be rooted to see all the stats.
[BetterBatteryStats] rocada:
Thx.
[BetterBatteryStats] Perseus:
Thanks for posting. Your stock browser is Chrome. You probably did use it for 2 hours 54 minutes. If you didn't use it at all or not for that much time, then please freeze it and use another browser such as Aurora, Dolphin or Naked browser. Restart your phone after this change to reset BBS Reference point.
[BetterBatteryStats] rocada:
My only browser is boat browser and all this time ( 3 h 17 m 59 s), I have not touched the phone.......from 100% to 85%

2 h 54 m 57 s.... is Kernel Wakelocks.....
[BetterBatteryStats] Perseus:
Are you sure there is no Stock Browser even if you don't use it ? Either way, have you set Bookmarks to be Synced under your Google Account ? If yes, please uncheck that box.This setting may also be called as Internet Sync. Essentially you should only have contacts and Calender to be synced under the Google Account.

On another note, 4.3 has a settings under advanced WiFi called, keep wifi on during sleep. Make sure this is set to Never. Reboot afterwards.

If all of this does not help, please post me a topography of the Wireless lan you are on.
[BetterBatteryStats] rocada:
1.The stock browser is freeze with Titanium.;

2.I am not sync bookmark with google account, I only sync contact ;

3. In this over 3 hours I cut the wi-fi and I close 3g (no internet connection);

4.All the time I use greenify for everything I can think.

5......I don't understand from where I have this Wakelocks...

Thx again.

Sorry for bad English.

Sent from my android with Tapatalk 4
[BetterBatteryStats] Perseus:
In that case, have you followed my last advice about advanced wireless settings ?
[BetterBatteryStats] rocada:
I'll try next time....

Thx.:good:
[BetterBatteryStats] SaintCity86:
Can anyone tell me,

The android alarm, under "alarms", is the most active alarm by far, but when I click on it, the most active "intent" is this "SVC_LED_UPDATE" taking up over half of them.

Anyone tell me what exactly that is, assuming it has to do with my led notifications maybe?

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] mag01:
I've learnt that the wakelocks you have (suspend_backoff) can also occur with pretty much any app that utilizes some sensor or external source for additional input or data - like touch input to trigger something, location data gathering and synchronization etc.

Also it happened when Greenify was used for Maps (where may allow the Maps to wake up for location service update and don't suspend it again). Though that was probably fixed in Greenify already.
[BetterBatteryStats] Perseus:
Did you have Low Battery Light blinking ? Or perhaps missed phone call Light ?

Yes it possible some usage of LED caused this.
[BetterBatteryStats] chamonix:
I found it very difficult to understand your last post but I will look into the truncated alarms. What I would like to know is if the problem occurs on 4.4 or pre-4.4
[BetterBatteryStats] hawkdown77:
Instead of using autostarts to stop google play services i can use the greenify app? Or necessarily have to be autostarts app? I have installed an other app called disable services. Which one do i use?

Sorry my english
[BetterBatteryStats] HiDEFF:
[MENTION=3639717]Perseus71[/MENTION] or [MENTION=1330150]chamonix[/MENTION] could best answer this question; I have both so I went ahead with Autostarts. If I'm not mistaken, I believe you can download a copy of the most recent version of Autostarts using the developers site but I'm not sure, sorry.
[BetterBatteryStats] Perseus:
I agree. Autostarts is the way to go. Besides I don't like to use Greenify
[BetterBatteryStats] dipzb90:
Does anybody know what causes "AudioMix" partial wakelocks I can't find anything on it
[BetterBatteryStats] hawkdown77:
Thanks for answer....but why dont you like greenify?

---------- Post added at 08:54 PM ---------- Previous post was at 08:48 PM ----------

Is an old app... in the developer site is 2011 last version of autostarts

---------- Post added at 08:54 PM ---------- Previous post was at 08:54 PM ----------
[BetterBatteryStats] Perseus:
It doesn't matter. So long it gets the job done...
[BetterBatteryStats] kane7777:
Nice app

Nice work! The very best of luck with the app!

Thanks! :)
[BetterBatteryStats] hawkdown77:
Disabling services inside Google play services or other aplication with autostarts make the aplication dont start anymore? I can not understand very well
[BetterBatteryStats] HiDEFF:
Autostart or Greenify just prevents the app from running in the background.
[BetterBatteryStats] Karpfenhai:
Hmm, nope, not 100% right :P

They prevent unintended startup of apps, they don't kill already started background processes. :)

Tapatalked from my Galaxy SII
[BetterBatteryStats] HiDEFF:
Thanx for clearing that up [MENTION=4355376]Karpfenhai[/MENTION]! :good:
[BetterBatteryStats] Shudder123:
just installed the latest B5 version. Still getting the 'BatteryInfo could not be contacted' error message. has the issue been resolved yet?

thanks
[BetterBatteryStats] mielletseed:
Greenify hybernates (=kills) running Apps and their services after 3 minutes (or so) screen off AND prevents unintended atartup.

Gesendet von meinem MediaPad 10 FHD mit Tapatalk 4
[BetterBatteryStats] chamonix:
Are you on Android 4.4?
[BetterBatteryStats] qwerty22:
A leading { is just a minor bug, the main problem is BBS showing truncated alarm names instead of its full names displayed with '#dumpsys alarm' command.

As you can see in my dump, there were some 'com.google.android.gsf' wakeups, but if you run dumpsys alarm in terminal, you will see those were 'com.google.android.gsf/com.google.android.gsf.checkin.EventLogService$Receiver' alarms.

I am running Android 4.3 on Samsung GT-I9500 Galaxy S IV.

Is it possible to make BBS display full names of wakeups to find the real drain reason? Thank you.
[BetterBatteryStats] chamonix:
Thanks for precising. I will get to it this evening and check the parser with your test data to fix it.

Note to self: unit tests for the parser part would be handy
[BetterBatteryStats] larkhillv:
Patiently awaiting the fixes for KitKat. I have wanted to use this app several times since I got my Nexus 5, but haven't been able to. Thanks for all your work, though. I am sure the fixes will come soon :)
[BetterBatteryStats] Shudder123:
Yes sir
[BetterBatteryStats] SaintCity86:
Hey,

So I was wondering if juice defender was actually saving any battery or just creating too many wakelocks and eatting battery.

The first 2 are from a day or so ago with juice on, the bottom two is without juice on.

Feedback would be nice.

With juice:

Txt - https://db.tt/Q245iO6l

Logcat - https://db.tt/VgysFBc9

Without juice:

Txt - https://db.tt/RFdZlTpw

Logcat - https://db.tt/9HhJoi4i

Thanks in advance.

Tapatold from my Galaxy S4 running Wicked v7
[BetterBatteryStats] chamonix:
Please make sure that you are on the current beta an send me a logcat. 1.15 is not supposed to use batteryinfo anymore on kitkat so I guess I have missed something. Please also send a short description of the steps to reproduce
[BetterBatteryStats] chamonix:
No need to wait, just grab the latest 1.15
[BetterBatteryStats] Shudder123:
here is the current log cat. all i do is start up bbs and get the error message

EDIT: seems to work now.. i uninstalled BBS and re-installed with the new beta version
[BetterBatteryStats] Karpfenhai:
Beside it's not the same timeline and usage pattern it's a better result without jd.

Minor overhead, good job.

Tapatalked from my Galaxy SII
[BetterBatteryStats] chamonix:
The only good way to compare dumpsys and bbs output would be to use the raw stats: let's say (and there no way I could tell) that the Wakeups occurred before you plugged/unplugged your phone. In that case the dumpfile 'unplugged to current' wouldn't show them.

Edit: removed alarm and dumpfile data
[BetterBatteryStats] qwerty22:
Thanks! I see it in BBS at boot my phone
[BetterBatteryStats] Rondock:
why does this app require so much new rights and SUPER USER after version 1.13.4.0?
[BetterBatteryStats] azrash:
Super user too? Darn it sven, didn't know the NSA got you too.

Jokes aside, BBS requires super user access for viewing more data. It has been like this for quite some time, since I first used it years ago.

The current best practice for root apps require the app to explicitly declare that they will use superuser access, if granted.

You can always deny the superuser request, but your data would be limited.
[BetterBatteryStats] gabriolinari:
hi guys (#2050)

can someone have a look at these and tell me if something looking weird? From my side it seems OK but i find weird that if i disable Sync not mich changes (back to ICS it made a big difference when off, i mean much less bw drain with that OFF)...and when screen is off, it seems phone is in "awake" at times, but i cant figure out what that is.

dmesg is zipped as too big for raw attachment.

thanks!

Gab
[BetterBatteryStats] Perseus:
Both of you need to understand that due to certain changes Google did in Kitkat, Batteryinfo is harder to access unless you have superuser access. Previous android versions, this was accessible without superuser access.

Even in prior versions, there were Root Features that were optional. Here too, if you want Other and Partial Wakelocks, you need to grant root.

I suspect Google Talk/Hangouts to be the root of your problems. Can you uninstall it or at least sign out ?
[BetterBatteryStats] larkhillv:
Thanks! Didn't notice that in OP. I'll give this a try until the final release supporting KitKat makes it into the Play Store. I've been missing this app so much! Thanks again.