Whatsapp wakelock drains my battery - Nexus 4 Q&A, Help & Troubleshooting

Need some help. Since the last update from whatsapp (2days ago) my n4 won't go into deepsleep cause of whatsapp. What can i do beside deleting whatsapp?
Thanks for your help.
Sent from my Nexus 4 using xda app-developers app

Chintao said:
Need some help. Since the last update from whatsapp (2days ago) my n4 won't go into deepsleep cause of whatsapp. What can i do beside deleting whatsapp?
Thanks for your help.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Use Greenify

Chintao said:
Need some help. Since the last update from whatsapp (2days ago) my n4 won't go into deepsleep cause of whatsapp. What can i do beside deleting whatsapp?
Thanks for your help.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Go to settings, scroll down to accounts, tap on whatsapp. There you can turn off contacts synchronization, which is causing the wakelocks.
It will not interfere with your messages as this only sycs your contacts.
Do check once in a while if it stays of as with me it sometimes turns on automatically

Thanks for your help. I will try it
Sent from my Nexus 4 using xda app-developers app

Bram89 said:
Go to settings, scroll down to accounts, tap on whatsapp. There you can turn off contacts synchronization, which is causing the wakelocks.
It will not interfere with your messages as this only sycs your contacts.
Do check once in a while if it stays of as with me it sometimes turns on automatically
Click to expand...
Click to collapse
I'll give this a shot. I was shocked to see that Whatsapp was keeping my phone awake for more than 7 hours over the course of a day. Thanks.

I AM having this problem too. My auto sync is already offline and I still get a huge amount of wakelocks.
What else can I do?

after opening whatsapp..just go to settings->apps-> whtsapp.. and click force close.. u wil have no wakelocks

Try and find the previous apk.

saikat_ace said:
after opening whatsapp..just go to settings->apps-> whtsapp.. and click force close.. u wil have no wakelocks
Click to expand...
Click to collapse
Having the same issue... Don't think that's the best solution - using your method, I'll have to do this everytime I finish conversation.
Nexus 4 @ stock 4.2.2
Alex_Dreyk said:
Use Greenify
Click to expand...
Click to collapse
Greenify will probably "kill" message notifications?

My problem went away after I installed the newest version off their website.

@clankfu,
Thanks, will try it. Seems that Play has 2.10.*** and the latest on their website is 2.11.***

Had this issue with website versions weeks and months ago. Might be that the bug came into the playstore version (although I don't have any issues right now)

gzesku said:
Having the same issue... Don't think that's the best solution - using your method, I'll have to do this everytime I finish conversation.
Nexus 4 @ stock 4.2.2
Greenify will probably "kill" message notifications?
Click to expand...
Click to collapse
It will take it to sleep mode.

I see this once in a while and it'd be good to understand WTF is going on. Why does it take a full 5 minute wakelock?
I'm not even sure if its the contacts sync because I clicked on Whatsapp in the Android Settings menu and it showed that the last sync was at 7pm last night. Yet this morning I had a 5-6 minute wakelock. I unchecked and rechecked and it completed the sync in a second or two.

download LLama or Tasker and you can create a task so that when you are backing out of whats app it will FC it for you. I do this with some system apps that stay open longer than I would like. Although its not the way Android may want it its what I do

specify the tasker profile
playya said:
download LLama or Tasker and you can create a task so that when you are backing out of whats app it will FC it for you. I do this with some system apps that stay open longer than I would like. Although its not the way Android may want it its what I do
Click to expand...
Click to collapse
could you specify the way you do this on tasker? will this action stop the notifications in new message?

Related

Locate your lost phone with SMS / Sick MUST have app: Tasker

I know there are threads on tasker, but i have to say, this is one sick app.
all you have to do is send sms with secret word from any phone and Tasker will enable wifi, gps, and send back a link to google maps with phone location.
That is amazing, but...
Pity the GPS, Compass and Google Maps implementation is completely ****ing broken!
I would definitely love to use this when (or if) the locational services ever do function. Thanks for the heads up -- I had no idea this existed.
There are multiple apps like "Where's my droid" that do this as well.
KerryG said:
There are multiple apps like "Where's my droid" that do this as well.
Click to expand...
Click to collapse
Maybe, but tasker does thousand other things. For me gps works fine, but there is a problem with compass
KerryG said:
There are multiple apps like "Where's my droid" that do this as well.
Click to expand...
Click to collapse
And doesn't 'where is my droid' only rings the phone if u send sms ?
If its not too long, would you mind posting your contexts and tasks to achieve just that exact same you just described? I'm trying to get better with the program although at a very slow pace
Thanks a lot mate!
Sent from my SGH-T959 using XDA App
Yeah i was interested in how you did it as well. I am just learning this tasker app and it doesnt seem that you can import and export tasks easily.
Texag2010 said:
If its not too long, would you mind posting your contexts and tasks to achieve just that exact same you just described? I'm trying to get better with the program although at a very slow pace
Thanks a lot mate!
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
you can find it here: http://tasker.wikidot.com/profile-index
the guy is using GPS only, but its pretty straight forward to include WIFI in this as well (WIFI is for better location without GPS). The time to wait for GPS to get a lock is up to you, I have 1 min.
and as you can see there is a profile there if you wish to lock you phone with SMS and/or play sound. (havent tried that)
For now I have these tasks: 1. If power ON, screen timeout is set to 45 sec (from 15), and lockguard is disabled 2. from 7:30pm to 8am screen brightness set to min and to AUTO other times. 3 Created a widget for "Vibrate" and "Bluetooth" since Vibrant is missing easy access to those functions (in a nice menu widget to save space). 4. I have several tasks killed at boot since they are useless anyway. (for this need to insert WAIT command with whatever time needed since some tasks start after the phone boots)
Thanks a lot for that link! Was able to create my own widget too now!
Sent from my SGH-T959 using XDA App
Worked for me too. Thanks a ton. Too bad you can't hide the sms message.
Sent from my SGH-T959 using XDA App
Lookout does this - good program I've been using since WinMo days.
-bZj
down8 said:
Lookout does this - good program I've been using since WinMo days.
-bZj
Click to expand...
Click to collapse
Read that Lookout drains battery, one of the features of Tasker is to actually save battery.
you already have a good standard version on the sgs
http://www.samsungmobile.co.uk/entertainment/featured-applications/mobile-tracker.do
sareen said:
you already have a good standard version on the sgs
http://www.samsungmobile.co.uk/entertainment/featured-applications/mobile-tracker.do
Click to expand...
Click to collapse
Any idea how to get this installed? I don't have it showing on my phone. Also, it shows it is only available in Germany and the UK. Do you have a work around to allow it to work anywhere?
Shane_pcs said:
Worked for me too. Thanks a ton. Too bad you can't hide the sms message.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Actually, since the latest update, you can hide the SMS.

100% CPU usage with new its update.

Hear reports that the new its update giveaway the 100% CPU usage problem back even with debugging on. Is this true?
Sent from my Desire HD using XDA App
Have a look at post 165 here: http://forum.xda-developers.com/showthread.php?t=885030&page=17
Seems to do the trick for me! (so far anyways!)
had the same 100% cpu after OTA problem,tried almost everything im aware of (ending some tasks,reboots,unistalling apps) but nothing helped me,ended up with factory reseting twice and i got it solved for now.
been monitoring using system pannel and now its more stable.
No such issue for me with the update once everything completed syncing.
Sent from my Desire HD using XDA App
Got this same problem now after update... constant 100% cpu usage, from watchtower it looks like its app called settings storage thats eating cpu time....
yeah for me it's com.android.providers.setings which is killing my battery.
100% in 4 hours!
darkblue68 said:
yeah for me it's com.android.providers.setings which is killing my battery.
100% in 4 hours!
Click to expand...
Click to collapse
Guess i'm lucky, killed my battery in 6 and half hours
I just went into stock application manager, force stopped everything i wasnt interested in (sense, friendstream, facebook, stocks, etc). My cpu useage dropped from 100% to more typical 3 to 20% and has been fine since.
As i stopped so many applications i dont know which was the culprit.
Sent from my Desire HD using XDA App
Sorry for basic question but how do you get CPU use %?
l0w said:
I just went into stock application manager, force stopped everything i wasnt interested in (sense, friendstream, facebook, stocks, etc). My cpu useage dropped from 100% to more typical 3 to 20% and has been fine since.
As i stopped so many applications i dont know which was the culprit.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
worked for me too, closed htc sense dashboard and another sense app trought the stock app manager...
ImmediateModeService
I have killed the "ImmediateModeService" and now the CPU time is normal.
Which app is this? Someone has a solution for this error? Because always when i restart my DHD the same error comes back.
You could try this:
http://forum.xda-developers.com/showpost.php?p=8966211&postcount=1
for me there is no more problem with this setting. I think that by killing applications the problem will be repeat again
gmdata said:
You could try this:
http://forum.xda-developers.com/showpost.php?p=8966211&postcount=1
for me there is no more problem with this setting. I think that by killing applications the problem will be repeat again
Click to expand...
Click to collapse
Do you think i must activate USB-Debugging? I have just activated, but theres always the same error.
gmdata said:
You could try this:
http://forum.xda-developers.com/showpost.php?p=8966211&postcount=1
for me there is no more problem with this setting. I think that by killing applications the problem will be repeat again
Click to expand...
Click to collapse
didnt make any difference on my phone, both usb debugging on and off the cpu usage stayed at 100%...
Clearing HTC sense data worked for me
utor99 said:
Clearing HTC sense data worked for me
Click to expand...
Click to collapse
Me too! just went to settings - accounts and sync - htc sense - remove account.
CPU was back down to under 20%. Added htc sense again and still got nice low CPU usage.... sense still doesnt work to make the phone ring or find its location but happy that the phone works properly again.
Glad I got that sorted, thanks for the tip!!
It worked for me too. Thanks a lot gays.
gmdata said:
You could try this:
http://forum.xda-developers.com/showpost.php?p=8966211&postcount=1
for me there is no more problem with this setting. I think that by killing applications the problem will be repeat again
Click to expand...
Click to collapse
I can confirm the 100% cpu problem has not returned for me. I suspect that the update did not take into account the current sync status variables. If your phone was in a certain sync state when the ota applied it got stuck in a loop. Force stopping clears all temporary variables so returns the phone to the environment in which htc tested the update. So...the problem should not teturn if u force stop the right app. Similarly a hard reset should do the trick.
Sent from my Desire HD using XDA App
If there are people who are still having CPU/Battery issues then you might want to take a look --> HERE
skullnubien has posted a small guide on how he solved it.
xozzx said:
Me too! just went to settings - accounts and sync - htc sense - remove account.
Click to expand...
Click to collapse
Worked for me too

"com.motorola.providers.contacts" eating away battery.

My "com.motorola.providers.contacts" usage is always pretty damn high, with 15-20+ minutes of CPU time.
It always shows up high on the battery usage list.
A thread in the Motorola support forums for the Droid X states that "BlurPhotoDownloadService" eats away at battery life as well. I couldn't seem to find this process on the Atrix, so I'm assuming it's packaged into "com.motorola.providers.contacts".
Anyway, what does this process do?
Furthermore, how can I slow/stop it safely to save my precious battery?
Thanks!
Nobody else having this issue?
i think that process syncs your contacts from gmail or hotmail. you can disable it with titanium backup if you are rooted
Is it safe to freeze this process?
there are three our four apps associated with your phones contacts I think you can freeze 2 of them without losing your contacts. check the thread on what you can freeze or you can try it yourself. freezing these apps won't bricked your phone.
Sent from my MB860 using XDA Premium App
neotekz said:
there are three our four apps associated with your phones contacts I think you can freeze 2 of them without losing your contacts. check the thread on what you can freeze or you can try it yourself. freezing these apps won't bricked your phone.
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
Yup I figured that part out.
I checked the thread but couldn't find anything about com.motorola.providers.contacts. I'm not sure what to freeze to disable syncing.
Today, my phone died 30% in an hour because apparently Twitter had been syncing/using CPU time for 1.5hrs. I havn't opened the app in days either :/
there are other apps that sync and use up your battery. i disabled all email and social media sync and a few others.
neotekz said:
there are other apps that sync and use up your battery. i disabled all email and social media sync and a few others.
Click to expand...
Click to collapse
Hmm alright, I'll freeze some of those mentioned on the list and report back.
Thanks!

S-calendar and Google calendar

I am using both S-calendar and Google calendar: i like the homescreen widget for S-Calendar but I prefer using the Google Calendar app for managing appointments.
Considering that I do not want two notifications, I set notifications only in S-calendar with vibration and turned them off in Google calendar.
Problem is that every time i reboot the tablet, it resets the settings of both calendar apps: it removes vibration in S-calendar and enables notification in Google calendar.
Anyone else?
anyone?
Why you reboot your note?
Mine never rebooted.
Sent from my GT-N8010 using xda app-developers app
bomczz said:
Why you reboot your note?
Mine never rebooted.
Sent from my GT-N8010 using xda app-developers app
Click to expand...
Click to collapse
for example yesterday I upgraded to 4.1.2
btw, just for fun, your answer is like when you ask someone if he's got a lighter and he answers back he doesn't smoke ;-P
yeah, actually I seldon reboot it as well, but still it could happen
bomczz said:
Why you reboot your note?
Mine never rebooted.
Sent from my GT-N8010 using xda app-developers app
Click to expand...
Click to collapse
can you pls still try?
in the s-calendar set ibration and notification time at 30 minutes before, then reboot
thegios said:
can you pls still try?
in the s-calendar set ibration and notification time at 30 minutes before, then reboot
Click to expand...
Click to collapse
Yea I had the same exact issue with mine. I realized that the 2 notifications in both apps are tied together. Meaning if you change one, it'll reset the other on reboot.
I wanted the notifications from S-cal and the googlecalendar app for management as well. I ended up disabling the S-Cal app entirely in the app management settings menu and instead using the google-cal app for everything. I dont think there is a way to separate the 2 apps.
If you find a way I'd like to know as well. Sorry I cant be more helpful.
This won't work on ICS builds, but if you have upgraded to JB 4.1 then in Settings - > Application Manager you can disable notifications on a per app basis.
DaRacerz said:
This won't work on ICS builds, but if you have upgraded to JB 4.1 then in Settings - > Application Manager you can disable notifications on a per app basis.
Click to expand...
Click to collapse
yes this I know, my question was more: why upon restart the notification settings of both google and s calendar are set back to original values?
That I'm not sure. It shouldn't be resetting the setting on a reboot.
Sent from my GT-N8013 using Tapatalk HD

GPS keeps turning on

My GPS keeps turning on randomly. I have location services and such turned off, but they keep turning back on. Anyone know what's causing it, or how I could track down if an app is doing it?
Sent from my LG-D800 using xda app-developers app
Bump
Sent from my LG-D800 using xda app-developers app
Thanks Christ for create this thread as I am about to post the same question.
It has happened in the last couple days. I wouldn't say 100% but surely 98% every time I turn the screen on, there is "searching for GPS" pops up.
It keeps running for from a few seconds to minute then turns back off.
Yes, I DID set to disable GPS.
Does anyway we can figure out which app is actually searching for GPS, gurus?
Facebook does for me and I don't know how to prevent that **** from doing so.
Sent from my LG-D802 using xda app-developers app
Just disable Location in FB/Messenger app.
vPro97 said:
Facebook does for me and I don't know how to prevent that **** from doing so.
Sent from my LG-D802 using xda app-developers app
Click to expand...
Click to collapse
How do you know it's the FB?
It used to search for gps whenever I received a Facebook notification. It might not be the same issues for you. What about the weather widget?
Sent from my LG-D802 using xda app-developers app
I don't set any notification ON and FB isn't running at all.
I suspect the G+ but don't know for sure.
Weather widget is not a culprit.
For me, it was Carrier IQ. Once I disabled that, my random GPS wakes stopped.
redpirate8 said:
For me, it was Carrier IQ. Once I disabled that, my random GPS wakes stopped.
Click to expand...
Click to collapse
Took the words right out of my mouth
redpirate8 said:
For me, it was Carrier IQ. Once I disabled that, my random GPS wakes stopped.
Click to expand...
Click to collapse
Sounds reasonable but I do have CIQ enable from day one w/o any issue.
It just happens in the last couple of days. Maybe 2014 isn't the year for me?
Maybe GSam Battery Monitor can help pinpoint which app is causing the GPS wakes. Or Wakelock Detector.
I also have been noticing the location icon popping up on my status bar every now and then. I cant find what app is triggering it. I dont see cIQ in my application manager to disable it...
Sent from my GT-N8013 using Tapatalk
Running Applications > Android System > IQ Agent Service. Hit stop there and then hit stop for Android System. You'll have to do that at each boot unless you're rooted. If you're rooted, you can use System Tuner.
Here's my shots.
This is probably directly related to the issue or NOT.
Clearly, Location Manager Service goes crazy.
What it is is yet to figure out.
At one point, I saw Google Messaging Service kicked on so I turned off Hangouts SMS feature and along with a reboot, my battery is now better but the "searching for GPS " still pops up.
Is location services turned off also in Google Settings and Maps?
redpirate8 said:
Is location services turned off also in Google Settings and Maps?
Click to expand...
Click to collapse
Absolutely YES
Those photos... completely baffling. Wow. My guess would be all the recommendations above and going through all apps requiring location and disabling it.
Could try Greenify. I use it. It hibernates apps so they won't run until you tell them to

Resources