yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Lemon Tea:
Wow. Very good app. Great job :good:
[BetterBatteryStats] atrix4nag:
I dont think this is the correct thread to ask this question, but I dont know where to ask, so I am asking here.. sorry for asking here..

After disabling the services mentioned by [MENTION=4355376]Karpfenhai[/MENTION], I am unable to use ISIS mobile wallet (now its soft card), I think one of the serives may be related to this. Any idea, which one is that service? or its not working because now google serives is a user app? Please suggest.

TIA
[BetterBatteryStats] Perseus:
My bad and I know it. :o Haste makes waste and all that.

To the Point, Since those KWLs *seem* to add up to

*sync*/com.google.android.apps.plus.iu.EsGoogleIuProvider/com.google/1b6ff548f0035061e7bc7159db2983de@gmail.com (com.google.android.apps.plus.Google+): 1 h 10 m 48 s (4248 s) Count:25 14,7%

I want to say, this is G+ Polling for updates on the server (No not just the Sync.) Coupled with how the Kernel is tacking scheduled wakeful intents.
[BetterBatteryStats] Karpfenhai:
Read my warning some post above...

Probably a service / receiver named wallet... they are there just have a look.

Regards
[BetterBatteryStats] Renton91:
I'm sorry, I'm not keen on this stuff, what does it mean in other words? Is there something might I do to solve this?

Thanks
[BetterBatteryStats] marknoll:
Could u plz enlighten me in how watchdog works in BBS and how to properly utilize it?thanks.
[BetterBatteryStats] Perseus:
For test/ experimentation purpose. Turn off all form of Sync and freeze/disable/remove Google Plus. Reboot and leave the phone alone for at least 5 hours. Preferably overnight. Key thing is to reboot before leaving alone so BBS correctly identifies the Reference point.

Post the log in the morning.
[BetterBatteryStats] Renton91:
Okay, but can have some influence the fact that today I updated Google+? Maybe the update might have the fix for this problem.
[BetterBatteryStats] Perseus:
Possible. Keep tracking.
[BetterBatteryStats] Mariner_1712:
Finally got this working by just downloading the beta apk from here and placing it in priv_app before installing. Bam.

Runs like a dream, though it would be nice if I didn't have to spend a day prior struggling with getting the Play Store edition to STAY IN PRIV_APP AFTER REBOOTING.
[BetterBatteryStats] atrix4nag:
My Google Play services version is 6.1.09.

I have all wallet services and receivers switched on.

Only "ocr.SecuredCreditCardOcActivity" this one is unchecked which is some what related to wallet (credit card). I need to check this, and when I go to McD, will test it..
[BetterBatteryStats] marknoll:
Ummm..anybody?
[BetterBatteryStats] Osama Zabin:
Hi,

I flashed another ROM and all settings were wiped,so I couldn't reproduce the fc.

Again after applying the mod, I'm facing FCs with both Yahoo mail and Gmail.

Logs are uploaded, would you please check them?

Many thanks in advance.

https://www.dropbox.com/sh/pk9ti56enocdrk6/AAAKqpCga-NOL8sKVJq8Ky6Ja?dl=0
[BetterBatteryStats] Karpfenhai:
Oh man, your logs look really bad, xposed is throwing tons of error messages..

Right before Yahoo crashes we see this service complaining:

com.google.android.gms.internal.w.handleMessage

Afaik it's one from gsf, could you verify and re enable it?

For Gmail, it seems it needed the subscribed feeds receiver enabled to work properly, enable them and re-test it.

I'm using k9, probably that's why i never noticed it, I wonder someone else did... except you..

Regards
[BetterBatteryStats] Osama Zabin:
Couldn't find com.google.android.gms.internal.w.handleMessage under GSF, any clue about this please?

Regarding subsribedfeeds, i enabled them back, and Gmail seems Ok now, many thanks

I disabled subscribed feeds with my previous device (it was also HTC One m7), and was having no problem with Gmail at all, really strange.
[BetterBatteryStats] marknoll:
Could someone explain the three fields on screen. The wakelocks then boot then current..etc

---------- Post added at 05:48 PM ---------- Previous post was at 05:46 PM ----------

Like sometimes I will click middle and last field and they both give current and boot. What's the diff? Thanks.
[BetterBatteryStats] Wh1t3Rose:
The middle option is basically a "since from" reference and the bottom one is a "since to" reference. So Since from "boot" (middle option) to current ("bottom option"). So in other words you can get stats since boot to now OR since last screen off to now
[BetterBatteryStats] marknoll:
So this would mean from screen being off til I turned on...correct?
[BetterBatteryStats] Wh1t3Rose:
You got it [emoji4]
[BetterBatteryStats] edgeez25:
If anybody can take a look to see if I can do anything to get better results I would appreciate it...
[BetterBatteryStats] marknoll:
What is up edge?

---------- Post added at 06:01 AM ---------- Previous post was at 05:46 AM ----------

Thx sandman. Could u also help me understand what watchdog is and how to best utilize it? Thx again
[BetterBatteryStats] Perseus:
You could remove CLock widget. please post me an overnight Idle log for me to look at deep patterns.
[BetterBatteryStats] edgeez25:
Will do it tonight... I really appreciate it...
[BetterBatteryStats] marknoll:
You familiar with the watchdog aspect of this app? I could use some insight. Thanks.
[BetterBatteryStats] Perseus:
Effectively, its an ongoing in depth monitoring of Battery Drain. Helps if you are looking for something specific or suspect that the battery is getting old.

It does increases battery consumption.
[BetterBatteryStats] marknoll:
How do I find out this info?
[BetterBatteryStats] Karpfenhai:
Seriously?

Regards
[BetterBatteryStats] marknoll:
Yea. Seriously! I don't have that knowledge about the watchdog aspect. Instead of flaming,why don't you try and assist me rather than showing me something inside the app...so relax!

---------- Post added at 08:35 PM ---------- Previous post was at 07:58 PM ----------

What I was asking is how would one go about looking for battery issues? Maybe I have to provide a dump file? Idk...that's why I asked. Lol
[BetterBatteryStats] Osama Zabin:
I started again from scratch, disabled all services/receivers you suggested except (com.google.android.location.xxx), and no more FCs, even subscribedfeeds are disabled and no FCs.

I highly doubt those FCs were because of (com.google.android.location.xxx), but I'll disable them and report back to you.

I feel that i had by mistake disabled some extra services/receivers which caused the FCs to Yahoo & Gmail.

thank you again

***EDIT***

I'm having FCs with Yahoo mail after disabling (com.google.android.location.*) services/receivers, it seem i have to check them one by one.
[BetterBatteryStats] Wh1t3Rose:
After a near complete discharge (100%-10%) open BBS click the share icon. Export dumpfile. Upload here as an attachment
[BetterBatteryStats] marknoll:
Instead of disabling apps, try and go to app ops and turn off wake, keep awake or/ and other triggers. I've noticed that this has helped as well.

---------- Post added at 09:53 PM ---------- Previous post was at 09:51 PM ----------

My response about flaming was regarding Karp's...not u. I hope u know that ....lol

---------- Post added at 10:11 PM ---------- Previous post was at 09:53 PM ----------

http://pastebin.com/wQMRwNV7

Rather use this. Thanks.
[BetterBatteryStats] Wh1t3Rose:
This works for user apps and very few system apps. This does NOT work for Google system apps (e.g. Google play services). I don't think Google wants anyone controlling Play Services. Especially not via a tool they provide as that would just make too much sense.

Yes it does "appear" to work but if you do any logging you will see in those logs that any Google service you try to deny permissions on via APP OPS actually still accesses them. People have better luck with something like Xprivacy for Google apps specifically. App OPS can work for any other user app tho.
[BetterBatteryStats] marknoll:
http://pastebin.com/rP8zxmYY

Here's another.
[BetterBatteryStats] Wh1t3Rose:
[MENTION=5861426]marknoll[/MENTION] looked at both your logs. Looked pretty normal to me. Things seemed fine to me. Maybe 10 minutes worth of wakelocks during deep sleep. Nothing really to complain about.

Just so you know how i figure that out. I added your screen on time + proximity time (assuming this was caused by phone call) and also audiomix only for the 2nd log then subtracted that from your awake time.

So i don't really see anything wrong. Just heavy usage
[BetterBatteryStats] marknoll:
But why does battery die fast with very little usage?
[BetterBatteryStats] Wh1t3Rose:
2 hours of screen on with 20 minutes of calls and an hour of audio. No WIFI at all. And only lost 50%. I think that's pretty decent. Remember data especially a poor one will drop battery much quicker then WiFi. Especially 3G. Also a brighter screen will drop your battery.

How long have you had the device? Maybe the battery is just old?

I see nothing wrong in your stats. In other words you do not have an app or service draining your battery. Just usage.

Like i said maybe try a new battery if it's about a year old?
[BetterBatteryStats] Perseus:
Deepnds on which App is keeping the Phone Awake. See here's the thing.When the screen is off, typically the CPU is supposed to get into low power state until you ask it to do something. This is the Ideal way to save battery. Now there are valid cases where a certain app will have to bring it back to high power state to get something done. For ex. a Text received or a call received. Those are legitimate waking of the processor.

But if there's a rogue app, such as Crapbook, (err I mean Facebook) that keep the CPU constantly awake. They'd go berserk and check for updates 300 times a second. That keeps the CPU in Full running state pretty much all the time. That takes a toll on the battery as whenever a CPU is up, all the auxiliary systems are up as well.
[BetterBatteryStats] marknoll:
Its three years old. Lol. Taking battery out is a pain. Thanks again.

---------- Post added at 11:13 PM ---------- Previous post was at 11:07 PM ----------

Funny thing is I flashed pico gaps. Have very little gapps on my device. I also disabled Google search as that was a bad battery drain as well. I also went into app ops and turned off some keep awake options..but as sandman says that doesn't do good as the device still accesses the apps..seems as if a lot of factors can and will prevent the device into a deep sleep. Thanks again guys...u enlightened me. ?
[BetterBatteryStats] Wh1t3Rose:
lol. Yea i think it's time :P
[BetterBatteryStats] gopal08:
Give me link for latest better battery stats apk
[BetterBatteryStats] mdamaged:
My, aren't we polite? 2nd post.
[BetterBatteryStats] Wh1t3Rose:
Seriously? Nobody likes a demander. One word. OP
[BetterBatteryStats] marknoll:
Hey sandman. I just fully charged my atrix HD. I will post the dumps when battery huts 10%. Is 10% a good enough evaluation point?

---------- Post added at 02:07 AM ---------- Previous post was at 01:58 AM ----------

See what I mean? Ugh. All I was using was tapa talk
[BetterBatteryStats] Wh1t3Rose:
Yep 100-10% is perfect. Also losing 7% per hour is pretty decent for constant screen on. What is your brightness on?
[BetterBatteryStats] marknoll:
Auto

---------- Post added at 03:43 AM ---------- Previous post was at 03:42 AM ----------

But it says im losing 7.7% /hr

---------- Post added at 03:44 AM ---------- Previous post was at 03:43 AM ----------

I shouldn't be losing almost 8% with just using tap talk. Something is wrong
[BetterBatteryStats] rignfool:
I see you're running cm...

Try turning off ksm... IIRC ksm can go bananas and kill battery trying optimize kernel memory pages unnecessarily...

Or so sayith the zep...
[BetterBatteryStats] rignfool:
Bluesleep? 1 hour kernel wakelock...

Try taking an idle reading...
[BetterBatteryStats] a1exus:
How do I analyze my GSam battery monitor? What should I pay attention too? Held awake?
[BetterBatteryStats] savagebunny:
These are from me streaming audio to my car. That isn't the issue. I've seen these 3 wakelocks for the past 1.5 years I've had this phone.

"bluesleep" (): 1 h 4 m 30 s (3870 s) Cnt:(c/wc/ec)7/0/7 4.8%
"msm_serial_hs_dma" (): 1 h 4 m 28 s (3868 s) Cnt:(c/wc/ec)7/0/0 4.8%
"msm_serial_hs_rx" (): 1 h 4 m 2 s (3842 s) Cnt:(c/wc/ec)32/0/32 4.8%

The log also reflects only 7hrs of use on a zerolemon battery.

Please refrain from calling someone out, wasn't needed
[BetterBatteryStats] mdamaged:
Please read the OP on how to leave a proper dump, the one you provided is not.
[BetterBatteryStats] marknoll:
Wow...never thought of that. ?. Good call...thanks!
[BetterBatteryStats] Mistertac:
Does the Bluesleep Wake lock you have reflect the exact time you streamed music or is it more?

That wake lock was an issue on my S4 running certain CM based roms and it was most definitely not normal operation.

I'm on a G3 now and use the same BT to stream music and haven't had that pop back up at all.

- Tapatalked From The G3 -
[BetterBatteryStats] cartman_73:
Do you have G+ or G+ Backup e/o location e/o location's history set to on?

perhaps you have a any of sync process actives.

If I see your log I notice that

Alarms: 144, Intent: com.google.android.gms.nlp.ALARM_WAKEUP_LOCATOR

Alarms: 175, Intent: android.content.syncmanager.SYNC_ALARM
[BetterBatteryStats] savagebunny:
Hello, yes it does reflect the same amount of time I was streaming music
[BetterBatteryStats] tonyafc:
Silly question hoping someone can answer i have to flash the zip as as my htc still has s-on but if i flash the zip and find my wakelock how do i then remove the zip or is it just a matter of uninstall the app?
[BetterBatteryStats] edgeez25:
Here's a dump for the entire night... Appreciate the help
[BetterBatteryStats] Karpfenhai:
Somehow the dump is invalid (charger appears) but from the reading there's nothing out of the ordinary, you should take another reading in flight mode, if the drain vanishes I assume network coverage as main issue, try to switch to 2g over night then.

Regards
[BetterBatteryStats] Perseus:
Yes just uninstall the App.
[BetterBatteryStats] Renton91:
Yes, I did. Now I'm trying several different settings enabling and disabling those services in order to get which is the main causing the issue.
[BetterBatteryStats] cartman_73:
For the best performance they should be disabled both

ps.

Perdona il mio inglese :)
[BetterBatteryStats] rignfool:
Did it work is the question?
[BetterBatteryStats] marknoll:
Idk to be honest. I did turn it off and let device idle and it seemed to improve. I just don't understand how fast this battery drains after just using one app. Its just peculiar.
[BetterBatteryStats] edgeez25:
Ok sounds good appreciate it... I'll do it tonight and post in the morning ...
[BetterBatteryStats] chamonix:
The in-app help or the website gives you all the info.
[BetterBatteryStats] marknoll:
Question has been answered. Thanks. What I was hoping for was some insight. I know what the app does and its functions, but sometimes a person with hands on can explain things a lil better.

Thanks again.
[BetterBatteryStats] chamonix:
what exactly do you want to know? Don't hesitate to ask specific questions.

edit: typo
[BetterBatteryStats] chamonix:
the drain that BBS is a dressing is not the one caused by you using your phone but what happens when you don't. You would expect your phone to have minimal drain when you leave it off and BBS tells you the causes when this does not happen.
[BetterBatteryStats] marknoll:
Yea. According to the logs I presented you are correct. Its just odd that when I look in BBS ,it shows that I lost 1% in less than a minute. Is that normal? I'm running cm 11 matrix HD..default kernel with the ROM.

---------- Post added at 11:18 PM ---------- Previous post was at 11:17 PM ----------

atrix hd
[BetterBatteryStats] maorly:
some help needed

i hope you can help me getting some more juice from my sgs2 :)

as you can see from my log, my phone was awake 3:37 hours while my screen was on for only 2:38 hours.

i have the latest stable cm11, i noticed that "android system" is #2 at my battery statistics with 17% - after the screen with 49%.
[BetterBatteryStats] Perseus:
Please post me an overnight IDLE Log. Mixed usage scenarios are difficult to diagnose.
[BetterBatteryStats] atrix4nag:
This is my friends BBS log? how to improve it?
[BetterBatteryStats] Wh1t3Rose:
Don't use the phone? Seriously the only I see is a coupe of minutes of News/Weather syncing (freeze it of not used) and a couple of minutes of calendar sync. Solution: turn off Data/WiFi or disable sync.
[BetterBatteryStats] Lucius1972:
First of all apologies if I am in the wrong thread for this. [MENTION=3639717]Perseus71[/MENTION] I get always SOD when I leave Wi-Fi on during the night. Wi-Fi option is set to "never" turn off when screen off. I already changed modems (current GNG8), old boat loader.

I do suspect it's my router (netgear WNDR3700).

As you are one of the experts here do you have any advise pls?

Drives me nuts.

Already changed rom's, when turn on airplane mode or 3g during night everything is alright.

Changed kernels also, happens on stock and custom kernel default settings. Currently I am on Danvdh AOSP (M9).

Many thx
[BetterBatteryStats] dr4go:
Xperia problem or general Android problem?

Hello to all of you,

I have a rather strange problem, which I'm trying to identify for about a month, but just failed to do so. It is related to the "*backup*" partial wakelock. As this is my first Sony phone (Xperia Z1 Compact) I don't know whether it is a general problem or just related to Sony phones... but since I've also searched the internet for quite a while, I seem to be the only one affected by that. Attached you'll find the BBS.log and also a few screenshots of the interesting pages of it. I would like to know what causes the huge amount of backup being active.

First I have tried to deactivate the backup & restore feature, restarted and reactivated it. As this didn't help I made a complete factory reset (and restored the apps later on with Titanium Backup). Sometimes the "*backup*" wakelock is even active for more than three hours when not using the phone. But as you can see no app transmits a great amount of data - so I don't think anything _really_ backups data.

And please... do not just suggest to just turn of the backup & restore feature. I'd really like to keep it activated, mostly because of the wifi passphrases being kept. Is anybody also having such strange issues or am I the only one? I'm currently on Android 4.4.4, phone rooted, but completely stock at the newest available Xperia firmware to date.

Thanks in advance.
[BetterBatteryStats] tonyafc:
Hoping someone can help i flashed the zip and installed the app all working but it won't display kernel wakelocks and it is a kernel wakelock chewing thru my battery life any ideas?
[BetterBatteryStats] Wh1t3Rose:
Tonight or tomorrow night please run a catlog. Then turn the display off and go to sleep. Leave Wi-Fi on so we can see what's up. Might as well post a BBS log to but we really need a logcat. Use alogcat or catalog app from the play store. Make sure you hit "start. In the morning stop it and save it to a text file.

And please do not just copy paste the log here. Attach it. Use dropbox, or use pastebin.
[BetterBatteryStats] Lucius1972:
Hi Sandman-007,

OK, will do, I suspect Wi-Fi drops in deep sleep. I'll report back tomorrow morning.
[BetterBatteryStats] Wh1t3Rose:
Forgot to mention you have to hit "record" as well after you start logging :)
[BetterBatteryStats] Lucius1972:
OK, no problem but in the morning I will not be able to "stop" the recording as i need to hard reset my S4 due to the SOD. I guess that's no problem.
[BetterBatteryStats] Wh1t3Rose:
Oh right duh! Lol. Ya hopefully itll cut off and save. If it doesn't grab a dmesg RIGHT AFTER you restart the phone which will basically tell use WHY it auto reboots or freezes.

Another option could be to hook the phone up to your PC and use terminal to record the log cat. This is the preferred method in this particular case.
[BetterBatteryStats] mdamaged:
At the risk of attracting your wrath by telling you what you stated not to tell you. Disable that backup, and use Titanium backup instead, it will do what you want and not have that wakelock.

If you are simply determined to not do that, then, good luck to you.
[BetterBatteryStats] Lucius1972:
No issues lol. I'll think I'll go for the adb logcat via PC, just to be on the safe side. Will post it once finished.

Sry to hijack this thread but I wanne pindown this issue once and for all.
[BetterBatteryStats] Perseus:
WiFi does turn off in deep sleep. Its supposed to awake and reconnect when phone is awake. Due to an ancient Linux Kernel issue, This does not always happen. It depends on your Android Kernel.
[BetterBatteryStats] edgeez25:
Ok here's an overnight log in airplane mode.... Thanks again
[BetterBatteryStats] atrix4nag:
I am really sorry, if my post was in wrong sense.. I thought in idle its using 1+% per hour so i thought i could do something to improve it. I will follow the instructions given by you for news/weather and calendar sync.

Thank you..
[BetterBatteryStats] jukyO:
What is your issue? 2% in 5 hours. Deep sleep 99.1 % of time. Used 1:34 minute.

I see it is not installed as system app, so no info on wakelocks.
[BetterBatteryStats] Karpfenhai:
As expected, your phone is doing fine, so try to use 2g at night ( or Wi-Fi) I guess lte sucks your battery.

Regards
[BetterBatteryStats] Perseus:
There are ways to improve it. but it requires you giving up on Google App notifications such as Gmail, hangouts and so on.
[BetterBatteryStats] Lucius1972:
Hi Perseus71, first thx for replying but I can strike out a "kernel issue" it happens on stock m9 kernel as well on custom.

I guess I need to change some router settings or maybe go for static IP, don't know.

Will run the catlog this night as requested by Sandmann and hopefully it will show the culprit.

Thx again for trying to help.
[BetterBatteryStats] edgeez25:
What's not installed as a system app...

As far as what's my issue... The fellas helped me figure out if I had a drain from a bad signal...
[BetterBatteryStats] vitoski:
Hey guys!

Would you please help me with 'ConnectivityService' partial wakelock? I have Tasker profile to enable my WiFi with screen on and disable when screen goes of. This applies when I am at home. I have similar profile for Mobile data when I am out.

During my tests I found that above wakelock shows only for WiFi. I doesn't show when I use Mobile data.

I read some old posts explaining that this wakelock is responsible for changes in network (signal?) and can be reduced by turning 2G. But for me it doesn't make any sense cause I have it only when WiFi turns on/off.

Do you know why is that?

EDIT:

I just checked again with restarted BBS settings and every switch off of WiFi causes 1 minute (exact) Connectivityservice wakelock. So it has nothing to do with Tasker for sure.

I do not use any social media apps that could keep my WiFi. My sync options are totally off so no background syncing is done.
[BetterBatteryStats] chamonix:
a minute is not a good time spam to draw any conclusions. The battery 'meter' is itself an interpolation and is eg depending on the battery's temperature so even checking on it by turning the phone on will disturb the reading. For drawing conclusions an idle reading / observation is the recommended way to go (see also the 3 first posts of this thread)