WifiOffDelayIfNotUsed Battery drain - Android Q&A, Help & Troubleshooting

Hi I have noticed that system have use more battery than usual, so in better battery stats and wakelock detector showed me that wakelock called "WifiOffDelayIfNotUsed" is cause of problems. How to prevent this wakelock? I tought this was caused because I have smart lock enabled but I changed screen lock to swipe and turned off smart lock in 'trusted agents' and drain still remains, please help...?
I've allredy tried clearing data and cache for google services and rebooting but it has no effect.
I am trying to avoid factory reset, there must be easy way than fighting an ant with nuke.
I don't have root and can't (won't) to do it. Device is LG K8 dual (K350NDS).

Professor Woland said:
Hi I have noticed that system have use more battery than usual, so in better battery stats and wakelock detector showed me that wakelock called "WifiOffDelayIfNotUsed" is cause of problems. How to prevent this wakelock? I tought this was caused because I have smart lock enabled but I changed screen lock to swipe and turned off smart lock in 'trusted agents' and drain still remains, please help...?
I've allredy tried clearing data and cache for google services and rebooting but it has no effect.
I am trying to avoid factory reset, there must be easy way than fighting an ant with nuke.
I don't have root and can't (won't) to do it. Device is LG K8 dual (K350NDS).
Click to expand...
Click to collapse
Have you enable wifi scanning always enable in wifi settings. If yes then set it to never.

Ashwinrg said:
Have you enable wifi scanning always enable in wifi settings. If yes then set it to never.
Click to expand...
Click to collapse
Weird thing is that I don't even have that option in wi-fi>advanced only "keep wi-fi on when screen is off" i set it to no but there isn't any difference not in the drain not in the wi-fi functionating, btw in location settings wi-fi an bt scanning is off.

Related

[Q] Wifi sleep policy bug, wifi not turning off with screen off

Got the galaxy s2 running XWKE7
Under wifi settings>advanced>Wifi sleep policy. selecting turn off wifi when screen is off setting does not seem to take effect.
Tested by pinging it and continues to ping even 5-10 mins after screen is turned off.
anybody else having the same issue ?
Have the same issue, want my wifi to turn off when the screen turns off but wifi stays connected.
Only thing I can think of is that i restored my access point with titanium.
Can this cause any problem and if it can, can I delete the restored settings?
My sleep policy works fine when turning screen off. When i turn on the screen, the wi-fi icon appears after a few seconds. Also the battery usage shows that wi-fi is off when screen is off and phone inactive. Might be related to one of your apps that conflicts with the wi-fi policy. Happened to me when using an app that had options to turn on/off wi-fi scanning.
Sp1tfire said:
My sleep policy works fine when turning screen off. When i turn on the screen, the wi-fi icon appears after a few seconds. Also the battery usage shows that wi-fi is off when screen is off and phone inactive. Might be related to one of your apps that conflicts with the wi-fi policy. Happened to me when using an app that had options to turn on/off wi-fi scanning.
Click to expand...
Click to collapse
Weird, will have to check this up.
But as far as I know I don't have any other app that manages wifi.
As you can see in my screenshot, wifi is on at all time even when sleep policy is set to sleep when screen off.
Currently I'm not connected to any wifi since I don´t have any in range at work but it looks exactly the same when I´m connected to my home network.
Sp1tfire said:
My sleep policy works fine when turning screen off. When i turn on the screen, the wi-fi icon appears after a few seconds. Also the battery usage shows that wi-fi is off when screen is off and phone inactive. Might be related to one of your apps that conflicts with the wi-fi policy. Happened to me when using an app that had options to turn on/off wi-fi scanning.
Click to expand...
Click to collapse
Hi, I have the opposite problem, I don't want my WF turns off when is sleeping. I remember that a program ask me to turn WiFi in energy save mode but I cannot remember which app and I have no clue how to go back...
Any help?
Tks a lot!
Max
maxgajo said:
Hi, I have the opposite problem, I don't want my WF turns off when is sleeping. I remember that a program ask me to turn WiFi in energy save mode but I cannot remember which app and I have no clue how to go back...
Any help?
Tks a lot!
Max
Click to expand...
Click to collapse
Have you tried setting the sleep policy to 'never'?
Has anyone found a solution to this problem? I did a factory reset (XXKI4) and it was still the same. Screen off, policy set to turn off when screen is off but I can still ping the phone after a few minutes.....?!?
EDIT: I remembered ;-) Had the same thing on my original Galaxy over a year ago.
Needed to edit a database:
http://forum.xda-developers.com/showpost.php?p=7998204&postcount=459
Cant save sleep settings.....
I have a slightly stranger problem that's just started. I'm aware of the situation where wifi takes 15 mins to turn off after screen turns off was never bothered with that aspect.
However, since today I found wifi was staying on continuously - checked in settings & wifi sleep policy had reverted to 'never' - I always had it set to 'sleep when screen turns off'.
The problem now is that I change it to sleep when screen turns off' and 'save' this setting but it's not saving - when wifi goes off & then back on again or if I reboot phone, it reverts to 'never'.
Any ideas folks?
Back-up data and factory reset .
jje
Would like to know this too.
Wouldn't like to back up and reset everytime this happens.
Also couldn't find the files in /dbdata folder as indicated by the Galaxy S thread pointed to.
Is there any other solution?
someone says using static IP will solved this issue but It didn't...
Any news on that?
Sp1tfire said:
My sleep policy works fine when turning screen off. When i turn on the screen, the wi-fi icon appears after a few seconds. Also the battery usage shows that wi-fi is off when screen is off and phone inactive. Might be related to one of your apps that conflicts with the wi-fi policy. Happened to me when using an app that had options to turn on/off wi-fi scanning.
Click to expand...
Click to collapse
Thanks a lot !!! solved
ipkalgrp said:
Thanks a lot !!! solved
Click to expand...
Click to collapse
how did you solved this ?
I have the same problem....
PsyOr said:
how did you solved this ?
I have the same problem....
Click to expand...
Click to collapse
Me too! Any word on that?
Had the same problem, where the battery no longer lasted the whole day.
When I checked under "Settings/ Battery" and clicked on the graph I could see that whilst the phone was sleeping, WiFi was not.
I have done a few "factory resets." All seemed okay to start off with and then after a while I would notice the same problem.
This last time I found that "Google Now" is the culprit.
Just click on the blue Google Icon, under Applications, then bring up the menu, click on "Privacy and Accounts" then "Google Location Settings", then "Location Access" and make sure "Use wireless networks" is not checked. (also available from "Settings/ Location services")
That fixed it for me!!
David.T said:
Had the same problem, where the battery no longer lasted the whole day.
When I checked under "Settings/ Battery" and clicked on the graph I could see that whilst the phone was sleeping, WiFi was not.
I have done a few "factory resets." All seemed okay to start off with and then after a while I would notice the same problem.
This last time I found that "Google Now" is the culprit.
Just click on the blue Google Icon, under Applications, then bring up the menu, click on "Privacy and Accounts" then "Google Location Settings", then "Location Access" and make sure "Use wireless networks" is not checked. (also available from "Settings/ Location services")
That fixed it for me!!
Click to expand...
Click to collapse
Mine is not checked and its still keep 'on' for almost hour...
as far as I know its better to be on wifi instead of data, eat less battery... but anyway I guess its have its own wakelocks...

Data keeps turning off

Hi all,
I'm facing an interesting predicament. Lately I've noticed that my mobile data is turning off by itself. Initially I thought it was JuiceDefender throwing a wobbly, but then I noticed that its event log was full of comments like "Mobile data is back under JD control" and something about reloading a profile. By watching the notification in the drop down menu I noticed that it was perpetually restarting itself.
I uninstalled it, and tried another app called 2x Battery and the same thing was happening. The data toggle in the setting menu of MIUI was greyed out to show data had been turned off, and 2x Battery stated that data had been toggled by the user.
It seems to be that a third party app is deactivating mobile data. Is there any app out there that can log when an app deactivates data, so I can find out the culprit? Has anyone else experienced this kind of issue before? Any other ideas/suggestions?
Any help appreciated
CyanideJack said:
Hi all,
I'm facing an interesting predicament. Lately I've noticed that my mobile data is turning off by itself. Initially I thought it was JuiceDefender throwing a wobbly, but then I noticed that its event log was full of comments like "Mobile data is back under JD control" and something about reloading a profile. By watching the notification in the drop down menu I noticed that it was perpetually restarting itself.
I uninstalled it, and tried another app called 2x Battery and the same thing was happening. The data toggle in the setting menu of MIUI was greyed out to show data had been turned off, and 2x Battery stated that data had been toggled by the user.
It seems to be that a third party app is deactivating mobile data. Is there any app out there that can log when an app deactivates data, so I can find out the culprit? Has anyone else experienced this kind of issue before? Any other ideas/suggestions?
Any help appreciated
Click to expand...
Click to collapse
i would suggest u to safe ure stuff and make a hardreset if the problems is still there afterwards reflash your rom
Thanks jiffer1991.
Sorry, I should have pointed out that I had already performed a factory reset/wipe plus Dalvik cache wipe and a fresh install of MIUI and it didn't seem to make a difference.
I am currently on my second factory reset and install of MIUI, this time without installing JuiceDefender at all. I am now seeing if the problem persists without JD. If it doesn't I may try using a Tasker profile to emulate JD's data controls. So far, things seem promising as there has been no issues so far. I'll keep this post updated, in case anyone else is having the same experience.
CyanideJack said:
Thanks jiffer1991.
Sorry, I should have pointed out that I had already performed a factory reset/wipe plus Dalvik cache wipe and a fresh install of MIUI and it didn't seem to make a difference.
I am currently on my second factory reset and install of MIUI, this time without installing JuiceDefender at all. I am now seeing if the problem persists without JD. If it doesn't I may try using a Tasker profile to emulate JD's data controls. So far, things seem promising as there has been no issues so far. I'll keep this post updated, in case anyone else is having the same experience.
Click to expand...
Click to collapse
oh ure using miui rom
i heard of that error when iam remembering right...
have a look at this
http://www.droidxforums.com/forum/miui/40697-miui-problem.html
Ok, so the saga continues.
I have created a basic Tasker profile to turn off my mobile data 5 minutes after the screen is turned off, and turn it on again when the screen is turned on It all seemed to be working fine until just now when I turned my screen on, data started as normal, I opened up my browser and started surfing only to be met with "No internet connection". I checked and lo and behold, the data has turned itself back off again.
@jiffer1991 - I've already tried a reinstall of MIUI, plus the cache wipes, to no effect.
I'm starting to run out of ideas here! Any thoughts anyone?
CyanideJack said:
Ok, so the saga continues.
I have created a basic Tasker profile to turn off my mobile data 5 minutes after the screen is turned off, and turn it on again when the screen is turned on It all seemed to be working fine until just now when I turned my screen on, data started as normal, I opened up my browser and started surfing only to be met with "No internet connection". I checked and lo and behold, the data has turned itself back off again.
@jiffer1991 - I've already tried a reinstall of MIUI, plus the cache wipes, to no effect.
I'm starting to run out of ideas here! Any thoughts anyone?
Click to expand...
Click to collapse
whats about this they found another solution
http://miuiandroid.com/community/th...working-about-phone-status-not-working.17106/
Try setting/Battry and perfomance/Mange app baatry usage
Under power saving mode option
Off >Restrict background activity.
I did some Googling and confirmed that every time I turn on the Mobile Hotspot it immediately deactivates the Data Saver. So now the question is whether there is an app that can automatically turn the Data Saver back on onnce the hotspot is turned off?
I also encountered that problem in Redmi Y2 even after hard reset...
I don't know what to do...
Pls help me out...
[email protected]

[Q] S3 Battery drain

Hello! I bet you have seen this a heap of times. Well guess what, so have I. Alas, nothing has been found - I checked Android Central, the T-Mobile and AT&T websites and all sorts of other techy places but to no avail. So here I am, scavenging information, doing stuff to my phone - I am finally to the end point - writing a post myself.
So, heres my problem: awful battery and when I charge while using the phone, the battery goes DOWN!
Lets start with this
What I have done:
Factory reset
Cleared cache
Deleted every program (app)
Airplane mode
No sim card
Downgrade to 4.1.2
Rooted and calibrated battery
Full discharge to full charge
Now please check the eye candy down below in the attachments..
So.. What else?! It isn't a hardware problem because when it is turned off and charging, it seems to be fine.
Some system specs:
Galaxy S3
International
OmniRom 4.4 (btw, this ALSO has drain, I install hoping it wouldn't)
Wrong section just post in q& a section...
Install BBS and see what's eating your battery..
Sent from my GT-I9300
Go into Google Settings and Turn Location Reporting Off. If you want a more agressive power saving go into WiFi settings and turn Always Scanning Off.
Clean
I had this problem of the phone discharging while charging (no pun intended) and the only solution I found was to clean the phone's USB charging port with an Contacts cleaner Spray (the one that has a "pipe/tube", let it dry out and clean the usb plug likewise. That solved my problem. But mind you: my problem was phone discharging while charging
Gold_Diesel said:
Go into Google Settings and Turn Location Reporting Off. If you want a more agressive power saving go into WiFi settings and turn Always Scanning Off.
Click to expand...
Click to collapse
Thanks for the info. I did both, yet, noticing a little less awaking, it still drains when charging and rather abnormally when not and just using it. The only thing waking my phone up now seems to be Google Search? (in wake lock detector) Cant anyone explain that?
Install an app disable services and disable Google services which are active in background... But disable then one by one as it may affect your play store functionality...
Sent from my GT-I9300
kunal1540 said:
Install an app disable services and disable Google services which are active in background... But disable then one by one as it may affect your play store functionality...
Sent from my GT-I9300
Click to expand...
Click to collapse
using wake lock detector I noticed the apps name (google search) was com.google.android.googlequicksearch... but, using a service disabling app, I couldn't find that name under the system app ''google search'' tab?
*EDIT: I tracked all the wakelocks (ALL of them) and they lead to location services! Simply turning it off gives me no more wake locks. Not a permanent solution as I am completely unsatisfied, but a temporary one nonetheless. Going to keep monitoring battery as it seems to be fine, but I haven't nailed down the discharg while charging problem yet...

Kernel wakelock lli_cp_wlock

One day phone started to lose battery. Using betterBatteryStats I've found that it is caused by kernel wakelock lli_cp_wlock. It appears without any pattern and I can stop it only rebooting the phone. I've tried to reinstall the system and flash newest firmware, but it hasn't helped. Searching the internet I've found that lli is low latency interface controller which is connected in some way to the modem. Any idea how to deal with it? samsung g850f android 5.0.2 stock rom
P.S. sorry for my english, it is not my native language
Same problem exactly here. Doesn't anybody have any clue on what a solution would be? This "lli_cp_wlock" wakelock comes and goes wherever it wants.
magukraine said:
One day phone started to lose battery. Using betterBatteryStats I've found that it is caused by kernel wakelock lli_cp_wlock. It appears without any pattern and I can stop it only rebooting the phone. I've tried to reinstall the system and flash newest firmware, but it hasn't helped. Searching the internet I've found that lli is low latency interface controller which is connected in some way to the modem. Any idea how to deal with it? samsung g850f android 5.0.2 stock rom
P.S. sorry for my english, it is not my native language
Click to expand...
Click to collapse
teo_3 said:
Same problem exactly here. Doesn't anybody have any clue on what a solution would be? This "lli_cp_wlock" wakelock comes and goes wherever it wants.
Click to expand...
Click to collapse
Try to turn off functions or apps that use GPS/location or background syncing,
and turn on GPS/location manually only when you need it.
Functions that use GPS/location like:
Google Location History
My places/Find my phone
Google remote control
Samsung remote control
GeoLookout(weather notifications)
Weather syncing(use current location)
Just check everything in settings/Google settings and turn off those you don't use.
And social networking/messaging/email apps would background sync
or check for push message regularly,
try to turn off sync or turn off app features that use locations or uninstall them
and see if there's difference in battery usage.
hcckyy said:
Try to turn off functions or apps that use GPS/location or background syncing,
and turn on GPS/location manually only when you need it.
Functions that use GPS/location like:
Google Location History
My places/Find my phone
Google remote control
Samsung remote control
GeoLookout(weather notifications)
Weather syncing(use current location)
Just check everything in settings/Google settings and turn off those you don't use.
And social networking/messaging/email apps would background sync
or check for push message regularly,
try to turn off sync or turn off app features that use locations or uninstall them
and see if there's difference in battery usage.
Click to expand...
Click to collapse
All these are done from my part at least and more. Nothing happens. It is not an app problem, it is an Android System battery drain.
I installed BetterBatteryStats_xdaedition_2.2.0.0B5 as a system app,
and here's what I've noticed so far:
The percentage in "Kernel Wakelock" is percentage of time,
not percentage of battery usage.
My percentage of lli_cp_wlock is less than 1%,
so if your percentage is high, it should be related to some apps.
The percentage of battery usage is in "Process",
check here to see what apps drain the battery the most.
The percentage in "Alarms" is percentage of wakeup counts,
have you checked the numbers here?

When wifi discounnects or turn off, the mobile data turns off automatically too!

So whenever I left wifi area or turn off the wifi soon after the mobile data gets automatically turned off, the icon of it shows not just for specific app.
Even when I turn off the data saver, it doesnt help.
This is very bothersome as I will miss alot of stuff.
johnson8c said:
So whenever I left wifi area or turn off the wifi soon after the mobile data gets automatically turned off, the icon of it shows not just for specific app.
Even when I turn off the data saver, it doesnt help.
This is very bothersome as I will miss alot of stuff.
Click to expand...
Click to collapse
Anyone experiencing or heard such problem with Huawei Phone? Need help.
Are you talking about missing notifications?
If you enable Developer Options (settings/system/about phone...then press build number 5 times) then in Developer Options there is an option you can tick to always keep mobile data active. I use it for faster network switching and it doesn't have much of an impact on data use or battery drain.
But if you are talking about missing notifications that might not solve your problem.
You want to remove any apps that need timely notifications from battery optomization in the power settings. Make sure after you choose to manually manage the apps that they are allowed to run at startup and remain running in the background. (All 3 options should be allowed).
If that doesn't solve your problem then you might also need to remove Google Play Services from automatic power management since that service is normally responsible for syncing Android phones.
Huawei has more aggressive power management than most Android phones which provides great battery life but also annoys many people because they can miss important notifications.
jhs39 said:
Are you talking about missing notifications?
If you enable Developer Options (settings/system/about phone...then press build number 5 times) then in Developer Options there is an option you can tick to always keep mobile data active. I use it for faster network switching and it doesn't have much of an impact on data use or battery drain.
But if you are talking about missing notifications that might not solve your problem.
You want to remove any apps that need timely notifications from battery optomization in the power settings. Make sure after you choose to manually manage the apps that they are allowed to run at startup and remain running in the background. (All 3 options should be allowed).
If that doesn't solve your problem then you might also need to remove Google Play Services from automatic power management since that service is normally responsible for syncing Android phones.
Huawei has more aggressive power management than most Android phones which provides great battery life but also annoys many people because they can miss important notifications.
Click to expand...
Click to collapse
No, the entire data just cut off after leaving wifi even thou the mobile data was on prior to leaving the wifi spots or just turning off the wifi. Does that make sense? I have had so many different phone this has never happend to me. I even turn off the data saver mode too.
johnson8c said:
No, the entire data just cut off after leaving wifi even thou the mobile data was on prior to leaving the wifi spots or just turning off the wifi. Does that make sense? I have had so many different phone this has never happend to me. I even turn off the data saver mode too.
Click to expand...
Click to collapse
If I turn that option on in dev mode "always leave the mobile data on" even when the wifi is on (even when wlan is active) does that mean it may sometimes suck up my mobile data while wifi is on, i dont want that.
johnson8c said:
If I turn that option on in dev mode "always leave the mobile data on" even when the wifi is on (even when wlan is active) does that mean it may sometimes suck up my mobile data while wifi is on, i dont want that.
Click to expand...
Click to collapse
Ok after tons of digging found the problem. a function i have never seen on previous phones.
basically you go to mobile data setting and go to more and then (wlan/mobile switcher) go in there and thats where the problem is.
I now select switch to mobile data.
johnson8c said:
Ok after tons of digging found the problem. a function i have never seen on previous phones.
basically you go to mobile data setting and go to more and then (wlan/mobile switcher) go in there and thats where the problem is.
I now select switch to mobile data.
Click to expand...
Click to collapse
I don't see that setting. Does this fix the fact that when you use hotpsot the phone is incapable of any data? I can't use hotspot at the same time as data on the phone itself.

Categories

Resources