Sorry if already posted but search was not working for me
I've noticed that after a while if I don't use my phone that the wifi will turn off, I guess because of doze. I checked and I have it set to stay on even when the phone goes to sleep, obviously Android isn't recognizing it. How do I prevent this from happening? Also I do not want to root the phone.
Bump, any help would be appreciated.
Only suggestion I can think of is exclude the application you need from doze.
Related
Hi, is there a way to keep wifi ALWAYS on?
My mom doesn't have a data plan, she doesn't need one. She spends 22 hours a day at home with a wifi connection, so I got her this phone. But the problem is that wifi automatically turns itself off after a while! She has to turn it on to get the notifications. Is there a way to always keep it on so that notifications always come through? I've tried the battery management profiles, but unless I'm doing something wrong, it doesn't work correctly!
Any ideas? Apps? Or tweaks or something?
Thanks!
NEVERMIND! FIXED IT! I couldn't find the sleep policy but now I did ^^ Thanks guys!
OK, NEVERMIND! It's STILL not working! I got the policy to ALWAYS ON, but after a little bit the wifi connection disconnects! I went through the battery saving profiles as well, and same thing. Is there an application or a setting I can use to fix this?
Thanks!
you can try "soft locker" apps in market to keep your phone not "100%" sleep when the display turned off . .
adityo97 said:
you can try "soft locker" apps in market to keep your phone not "100%" sleep when the display turned off . .
Click to expand...
Click to collapse
I'll give it a try. What about any of those battery saving apps? The ones that auto turn on / off your wifi and 3G based on time. Do you think any of those could also work? I wrote Motorola and let's see what they say.
Thanks though I"ll give it a try today
It appears that applications, such as textplus, are unable to notify the User while the program is not in focus due to push notifications not being compatible with the fire. Is this something that can be turned on or installed or is it further down than that? I clearly don't know a ton about the system, just figuring this stuff out. Any information you can offer is appreciated. Thanks!
I think the problem is that wifi shuts off when the screen is turned off. Anyone have a solution for this?
Even if I am using the device I wont get a notification. However, if wifi is off with the screen that is a huge problem as well. I didn't even think about that. Thanks
Wifi keep alive app will help.
Hey guys,
Sorry if this has been asked before, I did a search and didn't see anything.
A few weeks ago I noticed that my 2013 Flo was randomly powering down. I have noticed that this only occurs when the screen is shut down and it is allowed to go into deepsleep or hibernation as it will only occur after the screen has been off a few minutes. There is sometimes a series of four beeps after which the device powers down. If I turn on the screen after the beeps it comes up with the shutting down dialog as if I manually shut it down. I have tired to use various log recorders but all of them keep the system in wakelock and thus prevent this from happening.
I was wondering if anyone else has been having this issue, or know of any methods to debug this, and if it is a hardware issue thus meaning I should return my device or not.
Also: I am running PA 3.98 rather then stock but do not believe it to be caused by the rom.
There are some threads where people mention this happening because the "keep wi-fi on during sleep" setting not being checked as the root cause.
What's yours set to?
cowabunga said:
There are some threads where people mention this happening because the "keep wi-fi on during sleep" setting not being checked as the root cause.
What's yours set to?
Click to expand...
Click to collapse
It was set to never. Just put it on always. I'll see if that fixes it. Thanks
This just happened again so I dont think that fixed it.
Sorry for bumping this but it still is happening and I think I have tried everything. Does anyone know a way to fix this or should I try and swap my device for a new one and hope that works?
Swap it IMO
Sent from my HTC Sensation using xda app-developers app
If you are on Stock Motorola Lollipop 5.0.2, check your Battery History in System Settings - you may notice Wi-Fi is constantly active, even when you turn it off.
In my case, the following setting in Viber was the cause: Settings > General > Wi-Fi sleep policy > Change to 'Use device's settings'
Instructions:
Firstly, go to: Settings > Wi-Fi > Advanced Wi-Fi > Keep Wi-Fi on during sleep > Change to 'Never.'
The issue appears to be that certain apps are keeping Wi-Fi active in Lollipop. Not every app may offer this setting related to 'sleep policy', a workaround is to use the App Settings Xposed Module - which allows you to disable such a permission for individual apps.
The permission can be known as: Change_Network_State.
After making these changes you may need to turn off Wi-Fi and restart phone.
Related: https://code.google.com/p/android/issues/detail?id=79368
Thanks . it solve my real problem.
i have question. If we have change Keep Wi-Fi on during sleep to 'Never.' Will programs like Whatsapp or Viber get the gcm notifications when phone is going to sleep?
Dizzyrul3z said:
i have question. If we have change Keep Wi-Fi on during sleep to 'Never.' Will programs like Whatsapp or Viber get the gcm notifications when phone is going to sleep?
Click to expand...
Click to collapse
This is true, when phone sleeps - there is no Wi-Fi data connection.
Rather than leaving Wi-Fi on however, some people might prefer the phone wakes up every 15 minutes / 30 minutes / 1 hour, and enables Wi-Fi for 1 minute - allowing any messages to arrive. Many apps can do this, one example is DS Battery Saver.
There is also an argument that if you use Wi-Fi a lot, it's better to leave Wi-Fi on during sleep, because excessively enabling and disabling it is costly in terms of battery-life.
I've been using stock Lollipop on XT1008(Moto G Forte, I read it was just a "commercial" variant of the XT1032).
As far as I can tell, my phone doesn't report high Wi-Fi usage, but I disabled an option that I think it´s more responsible than the one mentioned here, that's "Search Always Available", this one was turning on my wifi when I even shut it down, wasting more battery than keeping it on.
Currently, my phone has been on like 13 hours and has 13% left, with a WiFi usage around 85% of the time.
Thanks for making us aware of that option in Viber.
But even after disabling that option in Viber, in the battery graphic seems like wi-fi is always active. Is it because I will also need to set "Keep Wi-Fi on during sleep" to "never"? But if it's set to never, doesn't it mean that when phone screen is off, it automatically switches off wi-fi even if you kept it on from the toggle?
lollerblade said:
Thanks for making us aware of that option in Viber.
But even after disabling that option in Viber, in the battery graphic seems like wi-fi is always active. Is it because I will also need to set "Keep Wi-Fi on during sleep" to "never"? But if it's set to never, doesn't it mean that when phone screen is off, it automatically switches off wi-fi even if you kept it on from the toggle?
Click to expand...
Click to collapse
Yes, 'never' means Wi-Fi is off when phone is sleeping. There is also the advance Wi-Fi option 'Scanning always available - which' you might want to disable.
Double check you have changed the setting in Viber, and you may need to reboot phone. It's also possible another app is causing Wi-Fi to always be active, for some it's Whatsapp.
lost101 said:
Yes, 'never' means Wi-Fi is off when phone is sleeping. There is also the advance Wi-Fi option 'Scanning always available - which' you might want to disable.
Double check you have changed the setting in Viber, and you may need to reboot phone. It's also possible another app is causing Wi-Fi to always be active, for some it's Whatsapp.
Click to expand...
Click to collapse
Ok so that option works as I thought, so for correctly receiving notifications with screen off it should be set on "always". I double checked on Viber's option and it's set correctly, then rebooted, plus scanning always available is off, geolocation (which can keep wi-fi on) is off and apparently there are no things that can keep wi-fi on.
Whatsapp does not allow to set wi-fi behavior, and the strange thing is that I have the same apps I had on Kitkat, where I didn't have such problem of viewing in battery graphic.
I am having the doubt if this may be only a Lollipop graphic issue or if wi-fi actually stays on...
lollerblade said:
Whatsapp does not allow to set wi-fi behavior, and the strange thing is that I have the same apps I had on Kitkat, where I didn't have such problem of viewing in battery graphic.
Click to expand...
Click to collapse
That's why I mention the 'App Settings' module in OP. I believe Whatsapp can and does cause this issue - there is just no setting within the app itself. You can check what permissions apps have by using 'App Settings.'
lost101 said:
That's why I mention the 'App Settings' module in OP. I believe Whatsapp can and does cause this issue. You can check what permissions apps have by using 'App Settings.'
Click to expand...
Click to collapse
Mmm yes I saw that...but I'm guessing that without root there's nothing else to do, right?
lollerblade said:
Mmm yes I saw that...but I'm guessing that without root there's nothing else to do, right?
Click to expand...
Click to collapse
No. Root would be necessary for changing permissions. However this issue may have been resolved in Android 5.1 - removing the need for this fix.
Wifi should be lefy alone as default to "never sleep"
Wifi should never sleep, even if the phone's cpu sleeps. Wifi will receive messages from whatsapp or whatever and wake up the cpu.
But if you put wifi chip to sleep, the phone will connect using 2g or worse, 3g or HSPA, and drain even more battery.
Wifi comes by default to "never sleep" for this reason, it is more battery efficient than 2g/3g.
And if you dont have wifi at home, all you have to do is slide down the menu and turn of Wifi. No need to change internal configuration on behaviour who only make things worse.
On the other hand, Viber is known for years to be a battery abuser.
I have been using android for years, and wifi policy was always the same, and my phones have idle times of several days
i even published some screen shots of my moto defy and moto G with a full week Idle without charging.with whatsapp and Wifi polocy never sleep.. With viber i wouldnt even try to make it last 2 days.
On every rom based on lineage I have had pretty much constant awake time even thru the overnight hours and with greenify aggressive doze. I've tried just about all I can think of, I'll lose about 7 or 8 percent overnight where on stock it's around 3 percent
Is anyone else experiencing this? Is it common? Also the only thing to come up on wake lock detector is a Google service on wake up triggers
Any insight would be appreciated.
I don't know if it applies to all ROMs, but make sure you delete the systemapp for NFC. It's likely trying to communicate with your nonexistent NFC chip. I noticed my phone would never enter deep sleep, deleted it, and now it enters deep sleep seconds after shutting the screen off.
username8611 said:
I don't know if it applies to all ROMs, but make sure you delete the systemapp for NFC. It's likely trying to communicate with your nonexistent NFC chip. I noticed my phone would never enter deep sleep, deleted it, and now it enters deep sleep seconds after shutting the screen off.
Click to expand...
Click to collapse
I'm trying to locate it, found the around nfc app but it doesn't come up in titanium
I used Link2sd to unistall it. It's called NfcNci.apk. once i unistalled it, the phone went to sleep.
isTos said:
I used Link2sd to unistall it. It's called NfcNci.apk. once i unistalled it, the phone went to sleep.
Click to expand...
Click to collapse
Worked like a charm. Thanks!
This def fixed my deep sleep issues. Thanks!
Here's a flashable zip you can use to remove NFC. I made it for use with ROMs that have a built in updater with a flash after update feature. This way ROM updates won't re-enable NFC. Tested it on AospExtended but should work on other ROMs as its designed to just remove the NFC apk from system.
Flash from recovery:
https://drive.google.com/file/d/0B3WSJXjA-ygYUjNoZ3F3c0VIWDg/view?usp=sharing
I did not create this zip but edited one that I found from here:
https://forums.oneplus.net/threads/flashable-zip-to-remove-apps.419810/