C2DMHandlerThread Wakelock? - Honor 8 Questions & Answers

Okay so I have experienced this wakelock since I got this phone and I never really knew what caused it as "Android System" was the top consumer and looked like it was the thing that caused the wakelock.
So today I decided to use Wakelock Detector and I found something called "C2DMHandlerThread" that's hiding in the normal "Android System" bunch of apps in battery management information.
What is it and how do I stop it from waking up my device without factory reset (Which worked for another XDA User)?
Any help is appreciated!

c2dm is an old android API, you'll have to track down the app using it

I also have this wakelock

I also have this wakelock.. did you resolve?

Same on Mate 9. Only getting 30% deep sleep due to this!

kazprotos said:
Same on Mate 9. Only getting 30% deep sleep due to this!
Click to expand...
Click to collapse
Try turning on flight mode during the night, wakelock seems to be gone when it's enabled...
Sent from my Honor 8 using XDA Labs

Kind of defeats the purpose of a smartphone for me. Haven't had more than 1% loss at night in a phone for years!

In disable service only thing I can pick that might bd related is in android system > com.huawei.android.pushagentproxy.push service
Scared to disable and maybe brick
I'll make a nandy and try it later on.
Is there a way we might be able to lower the wl frequency or completely turn it off?

Related

Android System keeping the Xoom awake?

I noticed this recently so I'm guessing it might be related to an app but now my Android System keeps the Xoom awake always even with the screen off. Anybody else with the same problem? If so what apps do you have installed? Maybe we can find the common one amongst us that is causing this. Luckily the battery is so good that this isn't a huge issue but I want to fix it.
Sent from my Xoom using XDA App
Having the same issue. Wifi only model, I had wifi off for my 1hr commute to work, and it was awake the entire time.
k0smo86 said:
Having the same issue. Wifi only model, I had wifi off for my 1hr commute to work, and it was awake the entire time.
Click to expand...
Click to collapse
It's definitely an app or something because I know in the past it hasn't done that at all. Can you list what apps you're using? Or if yours is new enough maybe do a factory reset and see if that fixes the problem?
Either way it's definitely software not hardware.
P.S. I have a Verizon XOOM.
What do you guys mean by the xoom staying awake? the screen not turning off or the android system not going into a sleep/standby mode.
spitfirerx said:
What do you guys mean by the xoom staying awake? the screen not turning off or the android system not going into a sleep/standby mode.
Click to expand...
Click to collapse
If you go into Settings -> About -> Battery and you click on Android System it will say how long it's been awake. Mine currently has an awake time that equals the total time the Xoom is off the battery - i.e. it never is not awake. The screen turns off fine and the battery usage is low but not as low as if the Xoom was sleeping. When it's sleeping it goes into a lower power state but since Android System is keeping the XOOM awake it can't do that. Other than reduced battery there is no other problem with it though.
Under "Included Packages" for Android System in battery usage the following is listed:
PGM System
Settings
Google Backup Transport
Android System
Settings Storage
System UI
Motorola Location Proxy Service
In the main battery usage list nothing is above 3% usage. 5h 31m on, awake for 5h 11m.
Screebl Pro!
I am long time fan and user of "Screebl Pro" By Key Labs. It takes into account the screens orientation and keeps your device (Tablet or Smartphone) backlit. Its great.
I did a factory reset. The problem seems to be about 99% better. There is still awake time under Android System, but it's verrrrry minimal and not even close to the amount of time the display or system has been on. Leaving the Xoom idle for a while to check once again.
I was sort of dreading that. Please check often after you install apps so we can see if there's a particular app that's causing that.
Sent from my ADR6300 using XDA App
No apps are over 1-2% after being on for 4 hours. 4 min of awake time under Android System. Looks like the issue is solved.
It turned out being Weatherbug. I uninstslled and reinstalled and I'm back to being able to sleep.
Sent from my Xoom using XDA App
After much testing it turned out to actually be having more than one CNN stack on my homescreen. Don't ask me why this causes this problem but it does. Weatherbug seems to be ok. I hope we get Android updates soon to address these bugs.
Sent from my Xoom using XDA App
k0smo86 said:
No apps are over 1-2% after being on for 4 hours. 4 min of awake time under Android System. Looks like the issue is solved.
Click to expand...
Click to collapse
It's resolved, but not really solved. If anyone notices an underlying application or setting causing this, please be a dear and update this thread?
I just noticed this today. 100% wake time even with long stretches of the screen off. Happened before installing weathebug. I do have 1 CNN stack on my home screen gonna remove it and test.
Very perplexing. You will see much better battery life if the system actually sleeps lol.
Edit: Yep looks like it was the CNN widget. Took it off the home screen and the Xoom started sleeping. Weird.
I FOUND IT! Listen up folks there is a bug in the latest CNN app that was released recently.
When you have 1 or more CNN widgets and you click on a story VIA the widget it launches a service called BangoAnalyticsService or something and THIS is keeping the XOOM awake. Very easy to test, if you go into Applications -> Running Services -> CNN and terminate just the Bango service you will see the XOOM sleep immediately.
Good news is that you can launch stories using the CNN app (NOT the widget) and it will not launch this service so XOOM will sleep.
I've already reported this issue but PLEASE can you all do the same.
Here is how.
1. Make sure you have latest CNN app
2. Have at least 1 widget on your homescreen
3. Launch a story from the widget
4. Go back to home
5. Go to Settings->Applications->Running Services
6. Click on CNN (1 process, 2 services)
7. Click on BangoAnalytics or whatever it is and click on "REPORT"
Put a nasty comment in there for good measure too!!
Glad at least I know what it is. More people that complain, the quicker it will be fixed.
Workaround: Logout of CNN app if you're logged in. Now it appears you can use the CNN app (not the widget) and it will not launch the Bango service that is the culprit. Let me know if you see other issues.
Is there any concern in "Tablet idle" being at like 3%?
Accuweather Bug
I can confirm that the application Accuweather was keeping my wifi xoom awake. Please note that I checked the in app settings for a run in background or update interval setting which it did not have. Once I uninstalled the problem ressolved.
mobilehavoc said:
I FOUND IT!
Glad at least I know what it is. More people that complain, the quicker it will be fixed.
Workaround: Logout of CNN app if you're logged in. Now it appears you can use the CNN app (not the widget) and it will not launch the Bango service that is the culprit. Let me know if you see other issues.
Click to expand...
Click to collapse
Just did this. This was the cause of my 100% wake times. Amazing though I still got 9hrs of life on the first 50% of my battery weven with constant awake lol.
k0smo86 said:
Is there any concern in "Tablet idle" being at like 3%?
Click to expand...
Click to collapse
nope.
Thank you! CNN widget was the culprit for me as well.
Device keeps to be ON and Heats up really bad and drains battery
Mine Xoom after the ICS 4.0 keeps running Android OS @ 90% use and keeps screen on and drains battery within 2 hours.
After hard reset, it seem to be disappeared, but once I've installed some app updates and minimum apps that I had to use, same thing happening.
So far after removing the DrawEverything app, it works better but have to test it and see further.
It is weird, and seem to me some sort of the memory leak causing device to enter into this state.
I will call Motorola and see if I could get any additional information.
Thank you for everyone posting an updates here.

Help! Very poor battery life

Hi. I would like to discuss regarding my Z5 dual battery life. I am a regular user. I already removed Facebook. All apps are greenified, no sync settings, just FB messenger and Viber. I never leave my bluetooth open, or location, nfc.
I noticed my phone doesnt sleep, it's always awake. Android System consumes most of the battery. With just 2-3 hrs screen time. Can someone give me an idea or solution to this?
I am on stock, rooted, locked bootloader Marshmallow. With Xperia X system UI. I already miss my Z2 amazing battery life.
Wi-Fi is always on, what setting is it on in the Keep Wi-Fi on during sleep?
Keep awake 15h 03m 36s (with only ~2h or screen on time) = Something is preventing your phone from going into deep sleep.
I've had a similar problem in the past and, in my case, the culprit was "Google Backup & restore" under "Backup & reset" in Settings. I disabled it, rebooter and re-enabled it. Problem gone.
It could be totally different in your case (I don't know what you're using) but if you're rooted, I'd suggest you to install BetterBatteryStats to determine what is keeping your device awake
burnthepriest said:
Wi-Fi is always on, what setting is it on in the Keep Wi-Fi on during sleep?
Click to expand...
Click to collapse
Yes I keep wifi on during sleep, but i never had this kind of drain in my previous Z2. I recently got this Z5, like 3 weeks ago. Im starting to miss Stamina Modr, that was way better than doze.
Phazonclash said:
Keep awake 15h 03m 36s (with only ~2h or screen on time) = Something is preventing your phone from going into deep sleep.
I've had a similar problem in the past and, in my case, the culprit was "Google Backup & restore" under "Backup & reset" in Settings. I disabled it, rebooter and re-enabled it. Problem gone.
It could be totally different in your case (I don't know what you're using) but if you're rooted, I'd suggest you to install BetterBatteryStats to determine what is keeping your device awake
Click to expand...
Click to collapse
I just did install but i couldnt understand how to do it. Anway will try to disable the google backup and auto restore and see. Which part in the BEtterbatterystats should i look at?

what on earth is keeping my phone awake? wakelock detector screenshots included.

I recently installed wakelock detector to help me save battery life with greenify. Looking at what it says it seems my phone never goes into deep sleep. This screenshot only shows the past hour and a half as before that I greenified things that looked like it might be causing the problem, but it looks the same now as it did before, 0.0 of deep sleep no matter how long I leave it, but none of the listed wakelocks seem to be that long, so I can't figure out why my phone wouldn't be deep sleeping.
Its a rooted Sony Xperia e4 running 4.4.4
Any thoughts?
You should also check Settings -> Battery -> tap on battery graph to open History details. There can be some dependencies between 'Awake' data and other data. Or you can post the screenshot of it here.
Hi, Sorry it took so long for me to respond, I was hoping to get a screenshot from a period where I hadn't touched my phone for longer but I kept forgetting at night time. I notice this time it actually says my screen has been on the whole time (though I never used it in this period at all, and when I picked it up the screen was off) So I have also included a screenshot of the screen wakelock page. Frustratingly, a lot of the things on the cpu wakelock page are already greenified and I manually hibernated them before turning the screen off, so not sure why they are still causing issues.
Either way, none of it adds up to the time awake
I posted a reply on this earlier but it seems to have disappeared. Anyway, I installed betterbatterystats and it showed that *backup* was keeping my phone from sleeping.
Google suggests it isn't altogether unconmon, and following some instructions I found I disabled back up, cleaeed dalvik cache and enabled back up again
So far its worked brilliantly, hopefully it stays that way.
Just an update on case anyone googkes and reads my solution above, it didn't work. Restarting my phone makes it go away for a little while and my phone gets plenty of deep sleep even in only a short space of time, but then *backup* comes back and its all over again. I can't keep restarting my phone every couple of hours. Maybe turning backuo off permanently will help, but then I have no backups, so hardly av good solution.
Hi,
*backup* is a wakelock from Google's Backup service. Wakelocks are so crazy because it regularly backups your data (such as Contacts, your Play Games' progresses, WiFi passwords, app data, etc) to Google's server. Disabling this equals to no longer having up-to-date backups.
You could actually disable the automatic backup, but make sure you backup your data periodically.
It's better for me to use BBS instead for checking for wakelocks.
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
Hi,
*backup* is a wakelock from Google's Backup service. Wakelocks are so crazy because it regularly backups your data (such as Contacts, your Play Games' progresses, WiFi passwords, app data, etc) to Google's server. Disabling this equals to no longer having up-to-date backups.
You could actually disable the automatic backup, but make sure you backup your data periodically.
It's better for me to use BBS instead for checking for wakelocks.
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
Yes I've found BBS better to, never would have found the problem otherwise. I turned off back up maybe 13 hours ago and so far so good. Not the ideal solution though eh. Hopefully google will fix it soon

Hidden Wakelocks by Whatsapp

I am running into a Wakelock issue and I am completely stumped. For some reason, my phone refuses to go into deep sleep for hours on end. Better Battery Stats shows that the phone spends the majority of its time with the CPU at its lowest frequency, but refuses to go into deep sleep. The issue started when I clean flashed LinageOS back when I tried 14.1. Since 15.1 has recently released, I tried to have another go, yet the problem remains. I am using a Oneplus 5.
The very weird thing about these Wakelocks is, is that they are completely invisible. Wakelock Detector isn't showing any specific wakelocks (Advanced mode enabled), but does show that the phone isn't entering the deep sleep state. Not even for a single second. Better Battery Stats shows the same thing, with zero seconds spent in Screen off (deep sleep) and all the time spent in Screen off (Awake). No application is listed anywhere that's causing these wakelocks. They aren't visible under partial wakelocks nor kernel wakelocks.
Now this is where things get bizarre. I tried removing all my applications and reinstalling them one by one to find out if it was an app that was causing the issues. Each time I installed an app, I would check whether the phone would go into deep sleep when I wasn't using it. It turns out that the phone stopped going into deep as soon as Whatsapp was installed. Yet Whatsapp would never register more than a few seconds of wakelocks each passing hour.
I'm not sure where to even begin to try and solve this issue. Has anyone else ever experienced these kind of invisible / hidden wakelocks, and if so, how did you manage to fix these issues? Thank you very much in advance for helping me out
Nobody with a similar problem to mine? It's really killing battery life for me
Mushoz said:
Nobody with a similar problem to mine? It's really killing battery life for me
Click to expand...
Click to collapse
I think I may have something similar happening with WhatsApp. My stats show lots of time spent with CPU on and screen off. Wakelock detector shows WhatsApp at the top of the list. But I don't really understand how to solve it other than deleting WhatsApp, which I don't want to do. Did you get anywhere with it?
Ian
IanHodgson said:
I think I may have something similar happening with WhatsApp. My stats show lots of time spent with CPU on and screen off. Wakelock detector shows WhatsApp at the top of the list. But I don't really understand how to solve it other than deleting WhatsApp, which I don't want to do. Did you get anywhere with it?
Ian
Click to expand...
Click to collapse
No, I still have the same issue unfortunately. Though my issue seems to be slightly different than yours in the sense that Whatsapp is very low in the list. The total minutes of Wakelock is far below the total minutes of awake (screen off). But uninstalling Whatsapp instantly solves the wakelock issue. Out of interest, what phone are you using and what rom?
Mushoz said:
Out of interest, what phone are you using and what rom?
Click to expand...
Click to collapse
Redmi Note 4, Pixel Experience Oreo 8.1
I got here through a google search. I am not sure it's whatsapp causing this (haven't removed it yet) but on a Moto G3 with LOS 15.1 unofficial by Rahul I have the same symptoms.

Insanely high alarms by "com.google.android.location.ALARM_WAKEUP_ACTIVITY _DETECTION"

Insanely high alarms by "com.google.android.location.ALARM_WAKEUP_ACTIVITY _DETECTION"
Hi there, I've been using OOS 9.0.2 and I got some excessive wakelocks by *walarm*:com.google.android.location.ALARM_WAKEUP_ACTIVITY_DETECTION which happens about every 60 seconds. I'm not sure if this is normal or what the culprit could be as the location services are deactivated all the time, yet it occurs. Any idea what it could be? Can it be related to Android Wear?
UPDATE: It appears that Sleep as Android is causing it even when not using the app. I've contacted them now. For me the options are using Greenify during the day for the app, uninstalling it or ignoring it for now.
Macusercom said:
UPDATE: It appears that Sleep as Android is causing it even when not using the app. I've contacted them now. For me the options are using Greenify during the day for the app, uninstalling it or ignoring it for now.
Click to expand...
Click to collapse
How did you figure that one out? Just curious. Maybe the next person can use the same tools or methods
spartan268 said:
How did you figure that one out? Just curious. Maybe the next person can use the same tools or methods
Click to expand...
Click to collapse
I wish I could say I simply used a wakelock detector or something like that. I loaded my apps to a secondary device and disabled them one by one. I wasn't sure whether Greenify would prevent it but it did. So greenifying different apps and see if it changes was how I figured it out.
My battery consumption during standby went significantly down. Even though alarms are just the triggers and not the wakelocks, triggering the Network Location Provider every 60 seconds prevents the device from deep sleeping and was a main cause of the standby issues. I suggest to check it for yourself with BetterBatteryStats.
My ALARM_WAKEUP_ACTIVITY_DETECTION exceeded 1000 alarms by the end of the day. While I still get a few Android Wear wakelocks if my smartwatch is not connected. They make up at least 150 too. What I'm trying to say is that I don't say you should have no alarms anymore, but even 150 seem normal for Google Play Services. But over 500 or 1000 definitely isn't normal.
I don't that greenify is needed anymore hence we are on android 9.0 , DOZE does that work pretty good.
oksagi said:
I don't that greenify is needed anymore hence we are on android 9.0 , DOZE does that work pretty good.
Click to expand...
Click to collapse
That's my point. Even with light doze active apps still have a maintenance window and Sleep as Android seems to have permanently used sensors via Play Services. Once greenified it stops using it completely and I went from 1.2%/h idle drain to under 0.7%/h or less. I'm just trying to help people who have the same issue as I do. If no app seems to use any sensor, location etc. you don't need Greenify of course. But it can help with some apps.

Categories

Resources