[Q] Crazy wakelocks when internet is not available - Galaxy S II Q&A, Help & Troubleshooting

On my girlfriend's new device, I have version 2.3.5 installed. stock rom. CF-ROOT...
Nothing special is installed.
She's having troubles with data connection from Orange, so they turning her data on/off every now and then...
So of course, we're working on it, and talking with them and at the moment she have internet connection.
BUT I noticed something crucial, In about 3 hours she lost 33% of her battery.
why?
Massive wakelocks from Google services (40mins, 261count), Lookout (24mins, 5count), fullsync (Whatsapp, 13mins, 1count), Google talk (7mins, 19count).
Even after having data connection (the signal bars are green) something was wrong, as the phone heated to 34degrees (in normal its 29-31)
I appreciate your help in solving that issue.
I find it a bit inappropriate that every time I dont have internet connection the phone will lose it mind.

eranyanay;18196
why?
Massive wakelocks from Google services (40mins said:
Read the millions of battery posts may help.
But you have multiple apps trying repeatedly to access a connection .
Lookout is one well known battery drainer .
jje
Click to expand...
Click to collapse

So as long as I have data connection ON but my internet from Orange is actually blocked, applications will repeatidly try to access the internet?
The only cure for this is to disable data as long as I dont actually get one?
Lookout is a battery drainer? What else can I use for protection if not lookout?
I didnt notice wakelocks on my own device (which has data connection available) and I heard around that lookout is not a big battery drainer.
I use it just for scanning new apps I download from here and there...no freq. scans or anything like that

Related

[Q] Strange massive battery drain

Ok today I got massive battery drain, nearly empty after 8 hours.
The culprits are
Datacounterwidget (26% - used to keep track of amount of data I use each month)
WiFi sharing (18% - what is this? I dont think Ive used this before)
Openwatch (14% - bluetooth connection app to my bluetooth watch - didnt use it today)
Display (14%)
Android System (9%)
These numbers seem pretty strange to me, usually it will be screen about 45% android system about 30% and the rest split over the other things.
I have noticed wifi sharing pop up before and take a sizeable chunk out of the battery and I am thinking that may be the cause of the massive battery drain. Datacounter widget has never been up this high before and I think is just a by product of the wifi sharing.
Anyone know how I can prevent this from running? Or what it is?
Thanks
WiFi sharing is that not letting others use your WiFi connection as a free access point .
jje
That's what it sounds like to me but I haven't set that up :S
Can't even see an option for it (well I see options for wifi hotspots but this and tethering are disabled)
badasschris said:
That's what it sounds like to me but I haven't set that up :S
Can't even see an option for it (well I see options for wifi hotspots but this and tethering are disabled)
Click to expand...
Click to collapse
Set it up then disable it ;-)
Sent from my GT-I9100 using Tapatalk
My observation is that WiFi sharing and WiFi sharing manager will start in the background as soon as a WiFi connection has been established. They remain in the background even after you've turned off the WiFi and continue draining the battery. I've formed the habit of manually stopping both WiFi sharing and WiFi sharing manager every time I finished using the WiFi and they no longer appear in the battery-eater list. I've been wondering whether this could be automated and even better, when the WiFi-sharing battery drain will be fixed.
I have turned off the positioning by network option and now wifi sharing dosent appear on the list anymore. ... so i think it has something to do whit this
Sent from my GT-I9100 using XDA App
use Titanium Backup and "Freeze" Wifi Sharing... bam! not eating battery anymore. plus if I need it I can just unfreeze it.

[Q] 3G or Wifi?

Which is better for the batterylife, 3G or Wifi?
At home and at work I'm connected to Wifi, but yesterday I noticed when I turned off Wifi and used 3G instead 3G seems to use less battery. However, this could also be because of several wakelocks I had when I was using Wifi.
I would understand Wifi is better for heavy internet use and 3G for push messages, but I couldn't find an answer anywhere on the forum, sorry if I missed it.
Bommeke said:
Which is better for the batterylife, 3G or Wifi?
At home and at work I'm connected to Wifi, but yesterday I noticed when I turned off Wifi and used 3G instead 3G seems to use less battery. However, this could also be because of several wakelocks I had when I was using Wifi.
I would understand Wifi is better for heavy internet use and 3G for push messages, but I couldn't find an answer anywhere on the forum, sorry if I missed it.
Click to expand...
Click to collapse
Hi there!
Wifi uses a lot less battery life, especially if you browse or do anything.
Having wifi ON always uses a certain amount of battery life, now, if you're receiving emails, downloading, browsing, it easily makes up for it. The reason for this is that Wifi is a "local" communication signal. It's for short distances, therefore your phone doesn't have to emit that strong of a signal, nor does it use up that much battery to receive. So Wifi is the way to go if you're just going to use it even a little bit.
3G uses more energy because of the radio spectrum itself and the distance and having to maintain it. It's true while having wifi you also maintain 3G, but you're not emitting constant data, it's just the "I'm still alive" packet to your operator.
Summary:
Use wifi if you're going to use your phone on the internet even a little bit. Turn it off when you don't have wifi near you, otherwise it'll be looking for a new wifi hotspot and that'll drain some battery.
Don't use wifi if you're not home.
Thanks for the clear answer!
Glad to have helped
New problem
The last 2/3 days my batterylife decreased. My phone was awake most of the time even though the screen was off and this hadn't happened before. After installing BetterBatteryStats (BBS) I could see the process wlan_rx_wake was on top (about 6,5 hours of the total 10 hours the phone was on).
My first thought was some app was responsible for this, however when I turned off Wifi and started using 3G again my batterylife seems to be normal again. Checking BBS the wlan_rx_wake seems to be renamed to deleted_wake_locks.
The last things that changed just before the problems started occurring was installing the Facebook and Twitter app, and updated to the latest ICS Vertumes theme (I was on 1.5 and now I'm on 1.6). So I uninstalled the Facebook and Twitter app but this didnt help at all. I already uninstalled Google Maps. The only thing I haven't tried yet is changing to the original theme, but it doesn't make sense this could be the solution.
Any ideas?
I had the same problem with the twitter app, it kept waking my device so i uninstalled it and use Ubersocial now.
I use Juicedefender (Ultimate version if you want to pay)
Juicedefender can turn off your wifi and 3g when your screen is off. It can be set to ping your data/wifi every few minutes if required to check emails tweets.
But Twitter nor Facebook is the problem. When uninstalled the problem still exists. Dont want to turn off wifi or 3G when the screen is off as then my mail or whatsapp wont sync.
Read something that it could be the type of router, but this isn't it as well. I've got the problem at home, work and at my parents house. All different routers.
Think I might just do a full-wipe and hope that solves it..
Before you do a full wipe try freezing Wifi Sharing and Wifi Sharing Manager with Titanium or Bloat Freezer Free to see if that makes a difference.
Sorry I recognize twitter was not an issue for you, it was the app that first alerted me to my issues about the wakelocks
LocationManagerService
Hmm... LocationManagerService is active over more than 4 hours. What could that be? GPS and the Google location stuff is already disabled..
logout of maps and check if that helped.
---------- Post added at 12:22 AM ---------- Previous post was at 12:17 AM ----------
wakelocks by apps that needs to sync can still be left even if u have deleted the actual apps that's requesting on-line data.residuals i would say.but try to check each and every apps that you have installed and see if they have sync or update requests and prolly modify them to manual.see also if ICS has a push notification request like "send errors to" or "check updates"
3G ofcourse
Maybe it's the kernel. Currently using Speedmod K2-18-test12. Lost 50% battery during the night. The phone wasnt awake but didnt enter deep sleep either.
Will try Speedmod K2-18-test16 next. If that doesnt solve it I'll try a whole different kernel.

[4.0.3 stock] Need help tracking wireless battery drain

Baseband: I9100XXLPW
Build: IML74K.XWLPD
I saw some similar topics, but they either didn't fully cover my problem or necroing them would not help. If I missed a more suitable topic, please direct me to that one, my searches might have missed it.
Anyway, on this telephone at home I get between 1d-2d of battery life using WiFi, depending on what I do with it. My router at home is an old Linksys WRT54G running DD-WRT.
I also had no problems at work for a while, but since a few weeks whenever I connect to the WiFi here, which are Ciscos, my wireless icon in the notification bar has the download arrow (orange) almost constantly lit. This doesn't happen when just using 3G, only when I switch on wireless. Consequently the phone never enters deep sleep and the battery is drained at the end of day.
How can I best track down what is keeping the download side of my WiFi lit up? I've tried various tools, but they are all very, very generic in that they only seem to log aggregate data used over WiFi, yet no application exists, that I know of, that shows me which application or service is pulling data at the moment over WiFi.
Is it even an application that's causing this? I mean, given I have no problems at home with excessive drain and wireless, can it simply be something changed at work with regard to wireless that's causing it?
Since you're at home anyway, just plug it in.
You don't mention what tools you allegedly found, so:
https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats
https://play.google.com/store/apps/details?id=lv.n3o.shark
oinkylicious said:
Since you're at home anyway, just plug it in.
Click to expand...
Click to collapse
How do you mean? When I am at home I do not have these issues at all, the WiFi is behaving as it should and no excessive drain happens.
You don't mention what tools you allegedly found, so:
Click to expand...
Click to collapse
...snip, can't quote URLs just yet...
I knew I forgot to mention something:
I use Wifi Analyzer to check the various SSIDs on the channels.
For the battery information I tried, in the past, Watchdog Lite, Spare Parts Plus!, Data Traffic Monitor, Traffic Monitor, and Network Counter.
Guess I should just buy BetterBatteryStats and see if adds anything. And I missed that WireShark port! Now to see about rooting my phone to make use of it.
Edit: BetterBatteryStats confirms that using WiFi at home and 3G on the road has no kernel wakelocks. Just using WiFi at the office for a few minutes already shows 2m of wlan_rx_wake/wlan_wake, just like the icon showed it was doing. So next is rooting and sniffing to see just what's going on.

[Q] wlan_wake wakelock on Hyperdrive RLS 12 on Verizon Galaxy S4

Hey guys,
On my second samsung device and my fifth rom (including eclipse TW, eclipse AOSP, aokp, CM10, now hyperdrive). Have to say thay I'm satisfied with pretty much everything Hyperdrive has to offer, its freaking amazing! One issue doesn't seem to be resolving despite many attempts. My phone stays awake nearly 100% of the time with a wlan_wake wakelock. This isnt the well documented wlan_rx_wake wakelock, which I've also had in the past but managed to squash. I'll recount my findings in some order below.
I installed Hyperdrive, restored some some vital apps. Waited a couple days and found the battery wasn't what I'd hoped it'd be. I usually run with auto sync enabled for total 8 mins per hour (via Tasker) and wifi and mobile data on. I've also used a script that disables IPv6 whenever it connects to a wifi network -- work network has tons of IPv6 broadcasts that were triggering massive wlan_rx_wake wakelocks which were vastly reduced with this fix. Even with these throttles, I noticed that some time after boot (10-15 minutes) on my work as well as home network (10 mixed devices on a belkin router), a wlan_wake wakelock would start triggering and my phone would then stay awake 90-100% of the time, screen on or off.
I went ahead factory reset the phone, loaded just my google account, and found the same problem with autosync on, autosync off, GPS was off, Wifi "always allow scanning" option was disabled in the advanced menu, Google's Wifi network location was disabled, and no 3rd party apps except for BBS installed. Of course, with Wifi disabled, the issue abated but 3g/4g doesn't offer much better battery life than the phone staying awake the whole time. During this time, I used Network Logger and Shark for Root to attempt to identify Wifi traffic and found that a few apps were transmitting frequently, but not enough to keep the phone awake for the amount of time the wakelock indicated. Total battery drain is up to 8-10%/hour with absolutely minimal use. I've never had this particular issue with any other OS i've installed, any ideas what could be going on? Really looking forward to being able to rip through days without charging on Hyperdrive!
I have a Samsung Note 3 and I too have this same problem (except that a factory reset solves it). Can't seem to find a fix. People on internet suggest that it's because of some rogue app but my phone starts behaving like this randomly until I do a factory reset.

Wifi Icon keeps turning to white and orange within seconds

Hi all,
I am getting a strange issue with my Google Play services and GCM_Reconnect wakelock.
My wifi icon keeps changing from white to orange within seconds and this creates lots of GCM_Reconnect wakelocks and eats my battery too much.
I tried to go deeper to see what exactly it's happening but other than watching few connecting and disconnected errors I couldn't find any relative helpful information to sort it out and searching didn't provide me any info about this specific issue too. I tried google as well as xda too.
If I disable my wifi, my phone is fine and these wakelocks doesn't occur anymore but as soon as I activate my wifi, these wakelocks come back and wifi icons start going from white to orange and white and then orange thus showing how aggressively my phone connects and disconnects with google servers.
I couldn't find a reason to this or how to sort it out, any help is greatly appreciated.
PS. I have removed every kind of restriction through Privacy guard but no positive result.
Thank you.
how did you get to the screen that shows the "Ping, Connect, Disconnect, Events"?
I'll explain something but you have to apply it to your situation.
These apps you can get that protect privacy, control wakelocks, control network aspects of apps, startups, processes etc etc that people claim to save battery are all, to put it in a reasonable term, crap.
They do exactly what they say they do but one thing that is never explained is that android is its own entity and will do what it does regardless of what anyone tells it to do, or not do.
An example of this would be, you run an app that changes the running status of another app. The problem is that android will always run the closed app and the app that was used to close the app will always use wakelocks to determine if the app is running or not. If it IS running the app closes it, android picks this up and runs it again so the app wakelocks and finds the app is running so closes it again. Rinse and repeat, you have a war going on in your phone!.
Android will automatically close unnecessary apps and apps you dont use or need over time. But it will ALWAYS FILL THE RAM WITH APPS. Android is natured for that.
So the be all and end all is to get rid of the apps that attempt to control your device as they are the ones responsible for the battery issues by causing app wars on your phone.
Beamed in by telepathy.

Categories

Resources