yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Wh1t3Rose:
Good idea! I'll do that when I get to work in like 10 minutes :)
[BetterBatteryStats] dorwoo:
I did all i could do, maybe i missed something?
[BetterBatteryStats] Wh1t3Rose:
Did you reboot after making these changes. If not do so and wait at least an hour before checking BBS again.
[BetterBatteryStats] IT Rider:
Anyone found the cause/solution to random failures of some device to enter deep sleep after unplugging from a full charge? I have the T0lte (ATT Note2). I have tried multiple ROMS (stock, sky note air, CM11) and kernels. Nothing seems to be the main cause, but if I reboot after the unplugging, it will enter deep sleep w/o any problems.
[BetterBatteryStats] Wh1t3Rose:
[MENTION=5666997]Lethargy[/MENTION]. Done. Check my sig. Doe sthat make us brothers? :silly :)
[BetterBatteryStats] atrix4nag:
Thanks for the reply. I have weather widget on my home screen (default from samsung). Its refresh interval set to 3 hours, now I changed to manual. Also I have acuweather app, notification on the status bar. its refresh interval set to 15minutes, i think, i forgot to change it after installation. Now I changed it to 1 hr, that is the max i have on this app. I will see for couple of days, if the battery is fine, I will just leave as it is. other wise i will remove notifications from this app... I dont have any other widegets on my home screen or my lock screen.

once again, thanks for your help..
[BetterBatteryStats] Elluel:
Much copy+paste xD

You didn't italicize the first [ lol
[BetterBatteryStats] Wh1t3Rose:
Never heard of that hoestly. But as a workaround you could try using tasker to force the device into deepsleep

ONLY

when unplugging from the charger. BUt I have never heard of this bug before.

---------- Post added at 08:43 AM ---------- Previous post was at 08:41 AM ----------

Always with the nitpicking, lol. Thanks :)
[BetterBatteryStats] Elluel:
I'm an obsessive perfectionist. c:

[MENTION=4362937]dorwoo[/MENTION]: I suggest you don't disable those services with "push" in them for Google Services Framework as it may cause issues with notifications.
[BetterBatteryStats] dorwoo:
They were all gtalk related...

I can get push notifications fine, just tapatalk doesn't work but i think it's app related.
[BetterBatteryStats] IT Rider:
Thanks. It is all over the Sky Note Air thread(s) and a few others. It may be related to our phone. The only thing BBS shows is the mdm being accessed, but not by anything specific.. If I keep it in wifi before the charge and remove the plug, it does cause the mdm to "hang". I'm sure it is an app/service that is not syncing or shutting down properly; however, I have tried this with a clean install (only gapps) and I can recreate the issue.
[BetterBatteryStats] Wh1t3Rose:
Hey quick question for you and [MENTION=2872010]rootSU[/MENTION]. I'm gonna try to fix Tapatalk notifications again but I was wondering if the constant wakeups for Tapatalk notifications cause any battery drain for you. What is the general battery usage for Tapatalk for you?
[BetterBatteryStats] Elluel:
Hardly any battery use since I have Tapatalk Greenified and I have the donation package so I can use gcm push. Only a split second of wake per notification if my device is in deep sleep, then goes right back. At most, Tapatalk will only use 1% when left overnight with an average of 5-10 notifications (sometimes more)

But yeah, hardly anything significant that you should be worried about. :p
[BetterBatteryStats] Wh1t3Rose:
[MENTION=5666997]Lethargy[/MENTION] And what is gcm push exactly. I have a pretty good idea but want to know for sure. Also which Tapatalk version are you using?
[BetterBatteryStats] dorwoo:
So for you guys what is the screen on awake ratio? For me awake is much bigger but it doesn't seem to drain much battery.
[BetterBatteryStats] Wh1t3Rose:
You want the raitio to be as close to 1 as possible. If your aake time is much higher than you Screen ontime that means something is keeping your phone from entering deep sleep. Now if you stream music or do any downloading while the screen is off the phone phone doesn't eter deep sleep so you have to take that into account when comparing #s
[BetterBatteryStats] Elluel:
Some apps like Tapatalk and various social media apps use Google Cloud Messaging to push notifications to your device. When an app is Greenified it won't ever get notifications due to being hibernated. The donation feature of Greenify allows GCM push to, when a notification is pushed, wake the notification-respective app momentarily to be able to notify you, then hibernate it again.

You can tell whether an app uses gcm push or not through the App Analyser in Greenify (where you select what apps you want to hibernate, doesn't show it in the list of already Greenified apps). Shows a cloud icon with "gcm" in it.

E.g. SoundCloud in this screenshot:
[BetterBatteryStats] Wh1t3Rose:
Omg omg omg. That's why I haven't been getting notifications. :epicfacepalm: !!!!!!

I have Tapatalk Greenfied but I don't have the donation package. I'm buying it now. Omg I can't believe that was the issue all this time -___-
[BetterBatteryStats] Elluel:
LOL fail :D The donation package is useful anyways :p
[BetterBatteryStats] Perseus:
First and foremost. Goto Settings > Wireless >Advanced

There Look for a setting "Keep Wireless on during sleep" or words to that effect. Set it to never. This will have some good effect.

Second, always remember, logs during usage are skewed. It is nice to go off of Idle Logs. Turn off either the Location Service or Google Location Reporting. Also turn off Sync. Its going off a lot.
[BetterBatteryStats] fireattack:
Hi everyone,

I recently rooted my HTC one (m7) and start using BBS (again! since updating to 4.3).

But I found that the "partial wakelocks" part shows nothing. Is it normal? I didn't install it as system app due to s-on, but from what I see I should still be able to use this feature (by author's "workaround"), right? So, what goes wrong here? I also tried WLD (wakelock detector), it works flawlessly so I think my root should be OK.

Thanks.
[BetterBatteryStats] Wh1t3Rose:
Can you provide a logcat?
[BetterBatteryStats] fireattack:
http://pastebin.com/Wdi0b5hy
[BetterBatteryStats] jago25_98:
I don't know about you but I won't give root to closed source software. I need the source. So from all the battery apps out there BBS seems the only option.

Is there a way to integrate our research from apps such as wakelockdetector and carat? (BTW batteryfu is a good app if you can handle email delays)
[BetterBatteryStats] Wh1t3Rose:
While normally I would agree with you about the closed source I just want to say that this is an excellent community and [MENTION=1330150]chamonix[/MENTION] has been here a long time. I don't think you have anything to worry about. If [MENTION=1330150]chamonix[/MENTION] had malicious intentions he would have been flagged long ago. We respect him and his contribution here on XDA and we appreciate what he has provided us here on XDA despite it being closed source. I think the Dev has it closed source because he is trying to protect himself. People like to steel other people's work and still it on the play store to make a quick buck. Sad but true.

With that said and with no disrespect intended at [MENTION=1330150]chamonix[/MENTION] if you are really that concerned over closed source then there are a few other alternatives. Though they are limited options.

I do hope you can get past the closed source and stay because this really is an excellent application and it's a must have app for me.
[BetterBatteryStats] Karpfenhai:
Fail [emoji2]

Read again mate, he is stating the opposite.

Regards
[BetterBatteryStats] Elluel:
Just to annoy you.. not really for me :p
[BetterBatteryStats] Wh1t3Rose:
Woooow! I did fail. Hard. I'd delete the post but I'll just leave it for laughs. My apologies. Probably my biggest fail in 5,000 posts across 2 forums. Lol

---------- Post added at 08:11 AM ---------- Previous post was at 08:10 AM ----------

-____________-
[BetterBatteryStats] atrix4nag:
This is my today dump file.. can you check it..
[BetterBatteryStats] cartman_73:
Partial wakelocks are disappeared in dump file

Hi guys,

I've got a strange trouble with BBS.

I'm on PACMAN ROM 4.4.4 with its kernel and BBS was Installed like System app

If I look at the widget at Home I see PWL statistics but if I share the dump I don't see any PWL, what's happening? Can anyone help me?

Thanks

Regards
[BetterBatteryStats] Wh1t3Rose:
Same thing with this log as well. The Lockscreen clock is killing you. Its the weather service. You need to block this using a firewall, disable the weather service or use a different clock only widget

---------- Post added at 09:02 AM ---------- Previous post was at 08:59 AM ----------

I can see the partial wakelocks in the log file. Most of your partial wakelocks are 14 minutes long. Lol.
[BetterBatteryStats] atrix4nag:
I have only default S4 lock screen. But in the custom settings, cLock weather was enabled. Now I disabled it, lets see how it will behave tomorrow.. Thanks for your help..
[BetterBatteryStats] Perseus:
Post an Idle log if you please.
[BetterBatteryStats] cartman_73:
You are right, I'm a stupid man :eek:

I searched "partial wakelocks" and not only wakewlocks

thanks
[BetterBatteryStats] Wh1t3Rose:
You are not stupid. Everybody makes mistakes friend. Just glad I could help you :)
[BetterBatteryStats] AssToast:
Sorry if this has been asked, I can't seem to find it

But what is PowerManagerService.Display
[BetterBatteryStats] Perseus:
[GUIDE] The Total Newb's Guide to Wakelock
[BetterBatteryStats] atrix4nag:
I will post idle log tomorrow morning.. Thank you.
[BetterBatteryStats] chamonix:
I am happy to read that open source is an argument for you.

Could you elaborate a bit on what you meant with "integrate our research"? Feedback and requests are a good way to drive development in the right direction and this thread is absolutely the right place to suggest and discuss new features and the road map of BBS. BBS is a niche product that I started while scratching my own itch but I think is has evolved a lot from the input of this very active community and that is a good thing.
[BetterBatteryStats] Galactus:
Anyone have any ideas about MSM_HSIC_WAKELOCK?

I am aware it is a wakelock due to data but none of my apps are actually using a lot of background data. I left my phone alone for 8 hours whilst I was asleep and yet MSM_HSIC_WAKELOCK kept my phone awake for over an hour. Not sure what else I could do to stop it
[BetterBatteryStats] Perseus:
Please see #8

Kindly note, even if your Apps are not using data, Android processes and Google Play Service will continue to do so. See the network tab for details.
[BetterBatteryStats] Wh1t3Rose:
I suggest you get a packet capture app. I highly recommend Network Log by Pragmatic Software. Then set your phone down for an hour. This will tell you which apps are using data while idle. You can see how many packets each app sends while idle.
[BetterBatteryStats] mephala124:
Nice, will download!
[BetterBatteryStats] Galactus:
Cheers, this should help. I generally have good signal and this issue seems to have cropped up out of no where.

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

Yeah I get that, I just don't understand why my wakelock has suddenly jumped from around 15-30mins over a 24 hour period to a 1 hour wakelock in just 8 hours. Will try the app suggested above though :)
[BetterBatteryStats] Wh1t3Rose:
[MENTION=5990482]mephala124[/MENTION] I forgot to tell you to make sure you turn logging on in case you need to post it here for whatever reason.
[BetterBatteryStats] jago25_98:
BBS is the app that started it all with wakelocks AFAIK with other apps spawned from it's inspiration. AFAIK Carat is trying to gather information in a more automated way than this thread. Github is https://github.com/amplab/carat/

Storage could be an interesting subdir? https://github.com/amplab/carat/blo...b/carat/android/storage/CaratDataStorage.java

Thing is I don't really program so trying to track down the things that the app has learnt is taking me a while. I understand how it does what it does... I don't think it looks at wakelocks per sec... rather simply comparing users various configs and averaging out over thousands of phones. I'm trying now to use Carat as a starting point and then go into BBS to see which wakelock might actually be causing things - just because I want to better understand how things link together. Also AutoRuns can help with understanding.

As for WakelockDetector I'd love to know how it finds which wakelock links to which app... if that's what it does.

I do like Carat for taking a different approach to shortcut via wisdom of the crowd but I still like to know the details if possible.

edit:

Sorry, didn't mean to insult anyone. Didn't relise BSS had gone closed a long time ago. Sorry for the misunderstanding
[BetterBatteryStats] chamonix:
thanks for the sources, I will have a closer look. Personally I don't believe in any magic Blackbox algorithm and prefer the approach of providing info to the user so that he can make decisions. BBS is not perfect, especially for non techies and ai am working on ideas to solve that. I can't tell is bbs was the first app of the kind but my history with wakelocks goes back a while and I started on the subject long before bbs was born.

Fields that keep my mind busy these days are:

- representation over time in a more fine granular fashion than references

- croudsourced knowledge base

- beginner vs expert mode

- alternate ways to visualize information, potentially as a companion Web app

- ways to digest data to enable hinting

Reading your edit I believe now the confusion is complete: BBS has not gotten closed source (see the first posts for this thread for the links to github)
[BetterBatteryStats] Facuu:
I think it's ok as it is, I mean, I wouldn't implement a beginner mode, it's much better to have a full view and start digging things by yourself. Once you learn, you will be able to face some other problems in the future and help others too.

It's better this way, that's just my opinion though
[BetterBatteryStats] Vonnegut:
:good:

Anyway i have to say you made me laugh more with this one --> http://xdaforums.com/showpost.php?p=54797720&postcount=25095
[BetterBatteryStats] Wh1t3Rose:
[MENTION=5666997]Lethargy[/MENTION] can you believe this guy :P. Lol
[BetterBatteryStats] winamp26:
hi

i attach my n5 battery state please see this file and tell me battery usage is good or not.
[BetterBatteryStats] Elluel:
:angel:

Looks like Google Now is taking a little hit at your battery. And because of that, it wakes Play Services too.
[BetterBatteryStats] Wh1t3Rose:
I should be heading to bed but look at his Screen on vs awake. That's a minute difference. If you want to get picky Google search is waking his device which in turn wakes play services. Bit this isn't an accurate reading. He had his phone in airplane mode. See his unknown signal stat? Which means play services wasn't able to phone home. He should not have that many play services alarms in airplane mode.

---------- Post added at 12:35 AM ---------- Previous post was at 12:34 AM ----------

I'm off to get my 4.5 hrs of sleep. I'll be on then. Night [MENTION=5666997]Lethargy[/MENTION]. I know it's morning for you. Or is it noon?
[BetterBatteryStats] Elluel:
Yeah, if you want to get picky. Which you know I am lol. And its 2pm
[BetterBatteryStats] AssToast:
Doesn't seem to be on that thread
[BetterBatteryStats] chamonix:
the motivation for a beginner mode is to lower the barrier of entry by presenting data differently and more naturally. Hiding information is not the only way to simply and I rather think of an approach of folding data by aggregating it to more natural entities, eg apps. The way to start with BBS is to follow a decision tree and this tree should imho be the starting point as a view. This mode also should underline the main aspects of the workflow and give hints as does the FAQ. Summed up the app should imho help educating.
[BetterBatteryStats] atrix4nag:
Here is my todays idle Log..
[BetterBatteryStats] Wh1t3Rose:
OK. First off you still have something Facebook related on your phone. I thought you said you removed Facebook. If you removed FB check for the messaging app. It's separate. Uninstall it. If you can't find it let me know.

Now you also have a couple of Wi-Fi kernel wakelocks. There isn't much you can about that really. I worked with another user with this problem and I posted a small guide on what you can do to attempt to minimize this kernel wakelock. It's a few pages back. Look for it. I'll try to find and update this post with a link to the other post.

Also Viber is creating to many alarms if this is an idle log. Does the app have notifications? If so turn them off or increase the interval. If that isn't an option then Greenify it with gcm push enabled (Greenify donation app required for gcm push).
[BetterBatteryStats] atrix4nag:
I didnt uninstall Facebook, and messsaging apps. I just greenify both of them. As of now, facebook refresh interval was 4 hours, i will change it to never..

_________________________________

Viber, I disabled notifications. I dont have greenify donation app, i have only free app..
[BetterBatteryStats] Wh1t3Rose:
[MENTION=4171026]atrix4nag[/MENTION] see my edit :)
[BetterBatteryStats] atrix4nag:
updated my comment after your edit :)
[BetterBatteryStats] Wh1t3Rose:
OK if you greenified them and disabled notifications then you may have to disable the Apps' offending services. Just do the services with the most alarms. Like for Viber disable the keep alive service.

I'm not sure how this will affect Viber so I would test the app afterwards. Make sure you reboot after disabling the services but before testing the app. Disable/Reboot/Test
[BetterBatteryStats] dimm0k:
every now and then my battery drain spikes like in this log... any ideas how to minimize?

Google Docs, Sheets, and Slides... how do I turn off their sync??

[MENTION=4828464]Sandman-007[/MENTION] I haven't been able to test with turning off the "Always allow scanning" yet... after your suggestion I turned it off that night and when I woke up the battery was down to 3%! Will try that option off this weekend when I don't need an alarm to wake up ;)
[BetterBatteryStats] atrix4nag:
I disabled few services, lets see how it will work.. Thanks for all your help.
[BetterBatteryStats] dorwoo:
Can someone provide some screenshots with services safe to disable? Tapatalk notifications doesn't work and checkin handoff doesn't go away :/
[BetterBatteryStats] atrix4nag:
See the thread in Lethargy's signature

http://xdaforums.com/google-nexus-5/help/battery-life-help-troubleshoot-battery-t2785128
[BetterBatteryStats] Perseus:
The Log shows your Wireless was on. This is due to the setting in Advance Wireless called "Keep Wireless On during sleep" set to Always. Change it to never.

You can turn off Sync under Settings Account > google > sync

The Refresh Frequency of Mailwise is too high. Change to retrieve rather than periodic check. I don't use it so don't know specific settings.
[BetterBatteryStats] dorwoo:
Analytics shouldn't be off?

And also checkin.
[BetterBatteryStats] fireattack:
hi it's me again..

I still can't get BBS's partial wakelocks feature working. As I said before I can't install it as system app due to some reasons, but my device (htc one m7) is rooted. The rom is stock sense 6.0, version 4.4.2. TH bbs version is 1.6.1b2.

Every time I open BBS it shows "batteryinfo service cannot be contacted"- what can I do?

My logcat is attached, thanks.
[BetterBatteryStats] rpr69:
I had the same (or a very similar) issue with my Samsung Skyrocket. Certain chargers (seemed to be ones that were designed for iPhone) would cause a 'vbus_something' wakelock after the charger was removed. The only solution was to reboot or use a different type of charger. There was a Tasker profile to help determine compatible chargers, and I think I had setup Tasker to prompt for a reboot when it detected the wakelock, but I don't recall. Sorry I can't help more than that, my morning routine was unplug from charger, reboot.
[BetterBatteryStats] atrix4nag:
Try clearing cache and data of the BBS app from application manager. Then force stop it and try to open it again. If you still unable to convert to system app, then I will suggest to uninstall after clearing and force stoppin it.

and then reinstall again..

Hope it helps.
[BetterBatteryStats] fireattack:
The reason I can't add it to system app is htc's kernel protection which I'm currently not willing to deal with it, but thanks for your help!

But my point is, from chamonix's FAQ:

Everything should work (w/ his delicate "workaround") w/o system app, isn't it? Is it not true any more?:eek: (imo Since WLD works for me, this "workaround" should still exsit)
[BetterBatteryStats] swat4samp:
Explanation? I turn it off and never seen any wakelocks regarding those services.

Edit: Are you asking whether to turn it off? Well, i do and never had any negative impact. GCM works fine for me.
[BetterBatteryStats] dorwoo:
Yes, in [MENTION=5666997]Lethargy[/MENTION] ss it is on. Anyway seems i got rid off checkin handoff, yay. Thanks so much guys.
[BetterBatteryStats] Wh1t3Rose:
You better fix that typo before [MENTION=5666997]Lethargy[/MENTION] gets here and take a pic of it and posts it here for the whole world to see :P
[BetterBatteryStats] Elluel:
The screenshots are just a general guide of what you can disable lol. I don't disable things I don't need to, only the things that wakelock my device. (also, just because something is being used it doesn't necessarily cause a wakelock, no need to disable every single thing)

Only you lol.
[BetterBatteryStats] Wh1t3Rose:
You saying only I would do that? Or only you take nitpick my mistakes?
[BetterBatteryStats] Elluel:
I notice everyone's ninja edits lol. Unless I'm asleep/busy of course. I do it just to annoy you
[BetterBatteryStats] Wh1t3Rose:
Great thanks -_____-
[BetterBatteryStats] Elluel:
:o
[BetterBatteryStats] dorwoo:
You guys are so funny :D

Is there a method to fix tapatalk 's push notifications?
[BetterBatteryStats] Elluel:
1. don't Greenify

2. or get the Donation Package + Xposed
[BetterBatteryStats] Wh1t3Rose:
Yes I learned this the hard way. Then I :facepalmed:
[BetterBatteryStats] dorwoo:
It's not greenyfied, someone told me to install older apk but i don't want that.
[BetterBatteryStats] jago25_98:
Sometimes the app causing the wakelock is well known but sometimes the stumbling block for me has always been tracing which wakelock goes with which app. That's the main thing for me. Carat doesn't really help trace those 2 things... but it might be able to provide a easier starting point by narrowing things down a bit first.
[BetterBatteryStats] Elluel:
Clear data of the app then re-login. It should work after that.
[BetterBatteryStats] dorwoo:
I did that many times, even reinstalling. It just doesn't freeking work.
[BetterBatteryStats] Elluel:
Then you probably messed with something Gcm related :p
[BetterBatteryStats] dorwoo:
No, i did not. Maybe i need some plugin for forums?
[BetterBatteryStats] Elluel:
What? Lol
[BetterBatteryStats] dorwoo:
This https://tapatalk.com/activate_tapatalk.php?plugin=vbulletin
[BetterBatteryStats] Elluel:
That's the server side plugin LOL
[BetterBatteryStats] kelly66:
For me too it is 55 per hour. Any suggestions how to tame it?

Thanks.

This is with reference to the post on July 23rd:

Originally Posted by BlackBurn85 View Post

Do you know what the "com.google.android.gms.gcm.nts.ACTION_CHECK_QUEUE " alarm refers to?

I have searched the whole internet but didn't find any information

My thought is, that it has something to do with Google Play Services.

Yes to Google Play Service. Its Google Cloud Messenger.
[BetterBatteryStats] gigeaky:
do you guys think i could get some help with this drain?