yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Karpfenhai:
Duo you have some kind of "Wi-Fi on while charging" setting activated?

If the kwl is named

"deleted-Wakelock", then I would consider it as normal.

Regards

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

Did you disable certain services for Google check-in?

If so, disable also the corresponding receivers!

Regards
[BetterBatteryStats] st@@tz:
I don't have a problem with wakelocks.

All is fine but the widget displays way too high counts in KWL.
[BetterBatteryStats] imoblife:
i never care about the battery life, i just take the power bank anytime and anywhere..but good app:)
[BetterBatteryStats] Lord_Flaya:
Just followed the guide mentioned earlier, fully charged my phone, rebooted and ran bbs once. Will let it sit as is till low batt warning and then pull another log. Hopefully afterwards i can get better life out of it. :)
[BetterBatteryStats] dh4645:
been trying to get those wakelocks down for what i'm assuming is probably google now/location services for the last few days trying different things. i switched to power savings on location services and have everything else on so google now functions.

My mail was on push notifications for part of yesterday (put it back to 15 min), so i think thats why they are so high.

not sure why the google photo sync is on there. i said to not sync my photos to g+.

i'm using greenify for some of the other wakelocks like facebook.

what else could i do?

thanks.
[BetterBatteryStats] Perseus:
[MENTION=4669272]Lord_Flaya[/MENTION]

Your Log is not looking good. You need to apply [MENTION=4355376]Karpfenhai[/MENTION]'s Mod as you said. That should bring this down.

[MENTION=2862772]dh4645[/MENTION]

Google Now is a horrendous drain not much can be done there. What you have done is what I'd have suggested. Perhaps turn off Location service alltogether ?
[BetterBatteryStats] dh4645:
thanks. yeah, i wasn't sure if i could do more than i already have with it still active.

i heard there are some xposed modules that block wakelocks somehow (i really don't need NOW on in the middle of the night...or to tell me how long it's going to take to get home right after i arrive at work....ha), but i havent looked into them yet to see which would actually help bring the drain down.

it's not real bad, it was on for over a day without being plugged in, but i didnt use it a whole lot either.
[BetterBatteryStats] Perseus:
Try Tasker to turn on and of on a Schedule. See [TUT] The Ultimate Noob/Beginners Guide to Tasker
[BetterBatteryStats] Lord_Flaya:
Ok, well as i said before all i do is wake the device and it starts the drain but seems to never stop. Yes, hopefully it will make it better. :)
[BetterBatteryStats] dh4645:
tasker seems cool, but i don't have the time to figure it out.

unless if i could just install it and copy what someone has already come up with to stop NOW wake locks for different times of the day and turn them back on.
[BetterBatteryStats] chamonix:
do never ever use any app or tool preventing / blocking wakelocks. It will cause more harm than good. Wakelocks are a symptom and not a cause and I guess you'd agree that healing symptoms is not the right way to handle a disease either
[BetterBatteryStats] Perseus:
[MENTION=4669272]Lord_Flaya[/MENTION]

Do you see

Checkin Handoff (Google-tjänster): 3 h 15 m 45 s (11745 s) Count:9 33,3%

In your Log ? That indicates the Mod was not applied completely. You need to uncheck all the Receivers that have the word Checkin in their name.
[BetterBatteryStats] Lord_Flaya:
It seems that i missed one, yes. Had to go through both framework and play services. Will provide new log.
[BetterBatteryStats] hugobitola:
Delayed response...

I was out trying several ROMs, uninstalling Facebook, setting up everything to try to find my wakelock.

My last resort was to wipe everything (Dalvik Cache, Cache, System, Data, Internal Storage, Android Secure) and install CM11 M9 and don't install GAPPS.

I did this, installed BBS and left it idle for almost one hour.

Turns out that even after a clean install my phone isn't being capable of going to deep sleep.

Isn't this anything related to Android 4.4.4?

Maybe I should step back to 4.1.2 which was (as far as I remember) the last one I used without this permanent undetectable wakelock...

Any advice?
[BetterBatteryStats] blackbirdsinging:
Anyone able to take a look at these for me?

[MENTION=3639717]Perseus71[/MENTION] had been helping to go over my results a few months ago, but that got halted when my motherboard fried (noooooooooo.)

Anyway, here's a fresh set of logs taken this morning. My battery life on 3G/4G has been worse than ever lately- when the screen is on I'm losing about 20% per hour, it's taken a real nose dive and I'm about at my wits end. I've frozen most system apps and games and am running 4.1.2 stock on a rooted GS3, US Sprint variant.

The other variable in place is that we have ATT UVerse for our home network, however their service has been down for the last four days with no explanation and no promises as to when it will be back up (yes. really. UVerse is the worst) so these results are with the phone on mobile data only.

-I've been holding off on the idea of flashing a custom ROM because I'm very inexperienced and don't necessarily trust myself not to goof it up, but now I'm thinking it may be the only option because I can't seem to get a handle on the battery loss.

-Would replacing the battery help any? The phone is 16 months old.
[BetterBatteryStats] Darke5tShad0w:
It is best to leave an overnight idle log, a 3 hour log is abit to short.
[BetterBatteryStats] blackbirdsinging:
Okay thanks- will try again this evening. Knew there was something I had to be missing. Also- I can't seem to get it to show alarm wakelocks no matter what I do in BBS. Am I missing something huge and obvious? I've checked all the settings in BBS.
[BetterBatteryStats] Darke5tShad0w:
Try installing the latest version (1.16.1.0B2) and rebooting to see if that helps.
[BetterBatteryStats] Perseus:
@Lord_Flaya that log looks good.

@hugobitola Don't think this is 4.4.4 related. Did you grab a log from that 1 hour you had BBS without Gapps ?

@blackbirdsinging for normal usage that log seems pretty normal. Post me an overnight Idle log.
[BetterBatteryStats] der_Kief:
Hi All,

i wanted to ask if there is a way to change the text color of the widgets ? Or a least the possibility of changing the brightness of the standard white color ?
[BetterBatteryStats] dimm0k:
can anyone please shed some light on how I can cut down the battery drain? here's my log
[BetterBatteryStats] kapil_dheer:
Boy......you hit a milestone.....25000th post

com.devexpert.weather.Weather & Clock Widget and MAIL_SERVICE- com.syntomo.email.MailWise

These Are your main Battery hogs along with google Battery eaters like hangouts and gmail sync

You already have tasker.

Use tasker and greenify to control these.

Correct these and post a log again to find further ......smaller thieves.
[BetterBatteryStats] chamonix:
no, only the transparency
[BetterBatteryStats] chamonix:
When I started this thread I couldn't imagine that it would come so far. I mean take a look at the view and post stats!

This is only possible because of the active users and dedicated supporters in this thread who invest their time in helping users to optimize and to learn, and help me making bbs a better tool.

Thank you for that!!!
[BetterBatteryStats] CM17X:
Here, have a tear of full respect.
[BetterBatteryStats] nic85:
installed as a system app, not working on my D855 LG G3
[BetterBatteryStats] chamonix:
well, if you would give us a little bit more details we could possibly help you
[BetterBatteryStats] floepie:
It's been quite a while since this has been happening, and it could be that I never noticed, but what do the percentages mean exactly in the display of "kernel wakelocks". The percentages are always less than expected. I would assume that the duration of the wakelocks would be expressed as a percentage of the time the device has spent off the charger since the last charge if that is what is to be displayed. In the screenshot for instance, the duration of the first wakelock is 8m53s. And, the total time on battery is 8h36m. I would expect a percentage on that line to be 1.7%, but instead shows 0.8%. Why is that?

Screenshot: https://drive.google.com/file/d/0B7DtgwmU19xGZnoyNHZsdjVoSEE/edit?usp=sharing

EDIT: I see that in 'advanced settings' that 'enable while charging' is enabled. I could have done that by accident. Is that on now by default?
[BetterBatteryStats] nic85:
when I launch it, It shows me that black screen with uninstall button
[BetterBatteryStats] Dudebowski:
https://encrypted-tbn2.gstatic.com/...029XIAC59IMCGobXyvUVL4umgSgeLjlLXg_TyuF9jwevA
[BetterBatteryStats] PhilDX:
I have to second this...it's actually kind of hard to read in my opinion, especially if a small text size is chosen (like when resizing the widget smaller to conserve screen real estate).
[BetterBatteryStats] chamonix:
that is the system app but not the main app. I guess that you have installed the system app with the CWM zip. Reinstall the main app and you will be fine.
[BetterBatteryStats] chamonix:
added: #488
[BetterBatteryStats] dorwoo:
Please take a look, what is checkin handoff wakelock?
[BetterBatteryStats] atrix4nag:
My Battery stats

Please find my attached dump file. My phone is awake for the whole time. Can youhelp me whats happening with myphone?
[BetterBatteryStats] Wh1t3Rose:
I suggest you read the last 2-3 pages of this thread. Look for my screen shots. I was having the same issue. [MENTION=5666997]Lethargy[/MENTION] and [MENTION=4478993]swat4samp[/MENTION] helped me out :good:

http://xdaforums.com/showthread.php?t=2785128
[BetterBatteryStats] Elluel:
Did you edit this post too? Lol
[BetterBatteryStats] Wh1t3Rose:
It seems google plus is throwing a fit apparently. Do u use it? If not just freeze it. If you do use it do you have "auto-upload pics" enabled? Do you take a lot of photos? That could be the cause. Disable it. That's all I can really think of for G+
[BetterBatteryStats] swat4samp:
So, finally you solved your problem with play services wakelocks? One down, still many to go :p
[BetterBatteryStats] Wh1t3Rose:
Go see my edited post in the other thread :/
[BetterBatteryStats] atrix4nag:
Thanks for prompt response. I dont use Google+, I use it only to backup my photos. and also, my auto back up is set to uploade while charging only and only on wifi. Do you think, still it can be a problem? I will switch off my auto upload and i will see the results tomorrow.

Once again thanks for your help.
[BetterBatteryStats] dorwoo:
I wiped data for goggle play services and seems to be gone for now. But it is odd, i had all checkin services disabled including gsf and still got wakelocks.
[BetterBatteryStats] Perseus:
For normal usage, this is pretty good.

Its a wakelock for when Google Play checks in with the Server.
[BetterBatteryStats] dorwoo:
I installed xposed module app settings and removed wakelock permission for play services, it's that enough?
[BetterBatteryStats] Perseus:
No that will do more damage than good. Don't try to kill wakelocks that way.
[BetterBatteryStats] Wh1t3Rose:
I disagree. I have used this method along with a few other users I know and we have not seen any negative side effects. While it can be dangerous if you don't know what you doing and choose the wrong services, for GSF and Google play services this should be fine.
[BetterBatteryStats] Elluel:
I've denied Google Play Services' wakelock permission ever since I got my Nexus 5. Never had a single issue with it and everything runs perfectly fine.
[BetterBatteryStats] dimm0k:
haven't had a chance to post, any way to cut down on battery consumption? moved to 4.4.2 KitKat and it seems like things have gone up instead of down for some reason...
[BetterBatteryStats] Lord_Flaya:
Can anyone tell if anything can be improved here? The bottom two i dont even know what they are.
[BetterBatteryStats] Wh1t3Rose:
Is that supposed to say 29/hour or 2.9/hr?

---------- Post added at 06:20 PM ---------- Previous post was at 06:04 PM ----------

It seems wlan_rx_wakelock Is your main issue here. It's actually not that bad actually. I've seen people wake up to a dead battery overnight with this wakelock being the culprit. So basically what is causing this wakelock is an AP constantly waking your device to ping it or to send out packets that are lagging behind in network traffic (network congestion).

You need to figure out which network this is. I don't know how many networks you use but you can use wireshark for Android when you see this wakelock appear to track down the offending packets. Also Network App will tell you which apps are constantly waking up to send/receive packets.

A couple of solutions could include:

Change from DHCP to a static IP

Disable IPV6 on your device. You can use Android firewall for this or edit appropriate system files to disable it permanently

Turn off UPNP on your router

Change router channel to use only 2.4 ghz
[BetterBatteryStats] gelo01:
hello! :) may i ask, what app/xposed module are you using to deny wakelock permission of GSF and google play services? thank you. :)
[BetterBatteryStats] Wh1t3Rose:
We both use App Ops in combination with App Settings Xposed module.
[BetterBatteryStats] Titchener17:
[/URL] Please apply [GUIDE] Insanely Better Battery Life When Idle - Battery Life Thread

There's a second part to that mod about Google Play service that links back to this thread. Apply that too. You will need Android Tuner app for that latter part.

Perseus,

will the old green system tuner version suffice instead of android tuner?

have updated rom, and started over.
[BetterBatteryStats] lexluthor:
I finally just figured out that this represents usage from dolphin browser (I'm using dolphin jetpack too).

So I guess not a problem at all, but why is dolphin being represented that way?
[BetterBatteryStats] elsworth1983:
Hi can anybody help me with this wakelock I've just spotted it for the first time, My device is a HTC M8 running renovate with flars kernel, it's called HTCshutdownthread I've never seen it before. :what:
[BetterBatteryStats] Wh1t3Rose:
@E Click on the wakelock so we can see the exact processes
[BetterBatteryStats] elsworth1983:
Thanks for the info, I did click on it but it copied txt to clipboard. & being Idiot I rebooted to see if it would dissappear & it has for now, if it comes back I shall try to click it again and post details
[BetterBatteryStats] Wh1t3Rose:
OK. It copied it to the clipboard because you long pressed it. Just click it :)

What happens if you click on "boot" option? Does it just a "since unplugged"? Pick that and see if the wakelock is listed.
[BetterBatteryStats] elsworth1983:
Since unplugged isn't there it's just the boot option,
[BetterBatteryStats] Perseus:
Yes old one works just fine.

That is the Process Id assigned when an instance of Dolphin process was created. You have to understand this Linux at heart.
[BetterBatteryStats] Lord_Flaya:
2,9/h of course. At 29%/h i would throw the phone of a cliff. ;)
[BetterBatteryStats] Wh1t3Rose:
You still have a , instead of a . Lol anyway I know what you mean. At 2.9/ that's normal. I'd say that's actually really good. It's usually higher. Be happy
[BetterBatteryStats] Perseus:
Under Idle circumstances, this should be between 0.3 % to 0.7 %. If its higher than that then we have a issue.
[BetterBatteryStats] Facuu:
Guys, this could have been answered tons of times but i don't know where they could be

what can we disable con gsf and google play services to reduce those wakelocks and still have the push notifications from apps like whatsapp, line, kakao, messenger, etc ?

Also if we disable some services, and we still have notifications, is there some kind of problem if after that we greenify those apps with donation package so we can use the gcm push feature?

hope something can be done, regards!
[BetterBatteryStats] Wh1t3Rose:
I don't quite understand what your asking in your last paragraph but basically as long as you don't disable the GCM services your other apps should have push notifications. To reduce the wakelocks kill google play services then disable the service that BBS lists under alarms like location service for Play Services.
[BetterBatteryStats] Facuu:
What should I disable here?
[BetterBatteryStats] Perseus:
Please search this thread for [MENTION=4355376]Karpfenhai[/MENTION]'s Mod. You'd need android Tuner app to apply.
[BetterBatteryStats] floepie:
I have an app which appears in the Partial Wakelocks list in the form of AlarmManager whose total time contributed to the wakelocks is only a few minutes, which is fine. However, the sheer number of wakelocks (alarms?) created by this app can approach 30,000 by the end of the day! This doesn't sound good, but I'm not really concerned about it, as it doesn't prevent deep sleep of course due to the limited wakelock times. But, certainly the system must be doing *something* 30,000 times a day, which seems extremely excessive. Thoughts?
[BetterBatteryStats] Perseus:
Alarms keep your phone wide awake. You need to reduce the number by some means such as reducing refresh frequency or something.
[BetterBatteryStats] floepie:
I realize that, and so far at this moment, this app's wakelock (under partial wakelocks) the time is 34 seconds with a count of close to 14,000. The phone sleeps like a baby though, and I don't seem to be having major battery concerns or anything. I'm just curious about this count number. Are these actually alarms, or "false alarms"? If I take a look at the app total alarms created, it's a whopping 0. I just don't understand the relationship between AlarmManager counts (14,000) and actual alarms?
[BetterBatteryStats] Wh1t3Rose:
[MENTION=284716]floepie[/MENTION] can you provide screen shots of the alarms page. Then click on the alarm and take another screen shot? Then one of the details section of the partial wakelock as well. So 3 SS
[BetterBatteryStats] floepie:
OK, thanks. See attachments.

https://drive.google.com/file/d/0B7DtgwmU19xGTHIwOGJVOXY2SjQ/edit?usp=sharing

https://drive.google.com/file/d/0B7DtgwmU19xGakJrQW8tbzJyYTQ/edit?usp=sharing

https://drive.google.com/file/d/0B7DtgwmU19xGZmxycmM4dkhmVWs/edit?usp=sharing
[BetterBatteryStats] Wh1t3Rose:
[MENTION=284716]floepie[/MENTION] are running the latest BBS? Things don't look right.
[BetterBatteryStats] floepie:
Yes, running latest b2 installed as system app. What doesn't look right? Everything seems normal to me, and I've been running this for 2 years. Just puzzled with the high counts yet no alarms of this one app.
[BetterBatteryStats] Perseus:
Be kind and attach the Text log here please. I have firewall issues.
[BetterBatteryStats] Wh1t3Rose:
The fact that everything says 0 alarms. That isn't right. You are supposed to have some alarms even if it's only a couple every hour. It's part of Android. BBS isn't calculating them.
[BetterBatteryStats] floepie:
I have lots of alarms, its just the ones at the bottom of the list that have 0 alarms. I just took a screenshot with the app in question.
[BetterBatteryStats] floepie:
Sure, thanks...
[BetterBatteryStats] Lord_Flaya:
Exactly my point. Problem is i dont know what to do.. I think its the bottom to on the screenshot thats the problem, but how to disable them?
[BetterBatteryStats] Lord_Flaya:
This is screens of my top 2 drainers.
[BetterBatteryStats] Wh1t3Rose:
You are seriously sweating over nothing. 3 alarms per hour is fine and those alarms are probably happening when you are actually using your device anyway. Don't sweat those
[BetterBatteryStats] Lord_Flaya:
Hmm.. Drain is still too high, and no my device is idle from boot to screenshot. And besides you can never have too good batterylife. ;)
[BetterBatteryStats] chamonix:
and ai disagree. What you describe is like taking pain killers and go on running a marathon. Hiding symptoms is not curing the disease
[BetterBatteryStats] chamonix:
the alarm manager wakelock is held when an app reconfigured or reschedule alarms. This happens when the device is awake and is not a cause of worry per se (even if it can be potentially optimized by the dev). I wouldn't worry too much about that if I were in your place and would rather focus on Wakeups (alarms)
[BetterBatteryStats] chamonix:
alarm manager wakelocks are held when an app reconfigured / reschedule it's alarms. eg I could schedule hourly alarms for the next 10 days at boot and reschedule these every time the device wakes up. It would be in that particular case a poor design.
[BetterBatteryStats] Wh1t3Rose:
Disabling the service is not "hiding symptoms". It's the cure for me because my wakelocks and alarms disappeared. As the matter of fact this is the only solution I've seen so far to this wakelock that has been on every Android version since GB or ICS days.
[BetterBatteryStats] chamonix:
Tracing the discussion of back to the source the topic was revoking wakelock perms to an app and that IS curing a symptom. A wakelock is a mechanism that makes sure that a piece of code is able to execute without being interrupted by the device going to sleep. Revoking that mechanism is preventing the app to rely on the fact that a piece of code does not get interrupted. This is applying a mechanism to prevent a symptom (wakelock) to occur instead of fixing the cause (wakeup)

edit: autocomplete, typo
[BetterBatteryStats] dorwoo:
The screen on-awake ratio, how is it?

I had drain over night about 0.2-0.3%/h which is fine. That checkin handoff still occurs but mostly when the screen is on and connected to the internet.
[BetterBatteryStats] lexluthor:
Why is the process ID for this dolphin traffic the same every time then? If I didn't just happen to look at bbs just after unplugging and realize that the only network traffic I used was dolphin, I may never have figured it out. There's no better way to figure out what that was?
[BetterBatteryStats] Karpfenhai:
Hey there, if you don't mind replace mobi lockdown with smart app protector which does basically the same for a test cycle and see how that goes.

Next time we prefer a straight idle dump.

Regards

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

Looks like you did something wrong like disabling autostart but not the corresponding receivers, rework your adjustments.

Regards
[BetterBatteryStats] atrix4nag:
I removed google plus sync, and these are my stats.. Is that good,or still i need to tweak anything?
[BetterBatteryStats] Wh1t3Rose:
Everything looks good to me except for this line here

WeatherUpdateService (com.cyanogenmod.lockclock.cLock): 18 m 53 s (1133 s) Count:3 10.0%

Is this a clock/Weather widget on your Lock screen? I suggest you either put the weather portion on a longer sync interval or even manual sync. That should fix that.

Other than that I'd say you are golden though I personally would watch things over the next couple of days just to be sure :good:

Side Note:

Can I just say I love tracking down battery issue for users? It's so much fun lol. I love this thread.
[BetterBatteryStats] Elluel:
How about how much you hate me? Jk ;)
[BetterBatteryStats] Wh1t3Rose:
Hate you? Never! Lol. :silly:

---------- Post added at 07:34 AM ---------- Previous post was at 07:33 AM ----------

@atrix4nag Also that Power Manager kernel wakelock should go down when you fix the partial wakelock I mentioned above
[BetterBatteryStats] dimm0k:
[MENTION=4828464]Sandman-007[/MENTION] I've done everything you've suggested except for the IPV6 at the moment and that particular wakelock looks to still be generating quite some usage. at home, which is where I'm using BBS to log stats when I sleep, I only have one AP that I connect to. Are you saying that another AP that I'm not connected to could also be keeping my device awake? I'll give the two apps you've mentioned a run and see.
[BetterBatteryStats] Wh1t3Rose:
Hey man. No if you are not connected to the AP it won't keep your phone awake. Only AP you connect to.

Do you have Settings/WI-FI/Advanced/Scanning always available enabled on your phone? Disable it if you do.
[BetterBatteryStats] Elluel:
Sureeeee. </3 :angel:

You should link the battery help thread in your signature too