Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,779,159 Members 46,083 Now Online
XDA Developers Android and Mobile Development Forum
Announcement from abusalimov: Prevents Wi-Fi from waking up on the lock screen or by application Wi-Fi locks

[MOD][XPOSED][KK] Wi-Fi Deep Sleep

Tip us?
 
Netuser
Old
#31  
Netuser's Avatar
Senior Member
Thanks Meter 619
Posts: 1,246
Join Date: Feb 2006
Location: Montreal
There is something I dont understand, I thought that mobile data drain more battery then Wifi when used, so wouldn't turning off Wifi and using Mobile data instead will create more battery drain during the sleep ?
Samsung Galaxy S4 (SGH-M919V)

My Mod: S5 Status Bar for S4 : http://forum.xda-developers.com/show....php?t=2738359

Phone devices used in the past:
Xperia ZL
LG Optimus 2x P990
iPhone 3gs, 3g, 2g
Qtek S110 & S110
SE K800i & K750 & Z700
Nokia 6230 & 8210
+many others
 
maxxhtc
Old
#32  
Senior Member
Thanks Meter 14
Posts: 142
Join Date: Jul 2013
Quote:
Originally Posted by Netuser View Post
There is something I dont understand, I thought that mobile data drain more battery then Wifi when used, so wouldn't turning off Wifi and using Mobile data instead will create more battery drain during the sleep ?
Yeah, that was my question about kind of. Can't really see the benifit atm. I'm sure there is one or else this thread wouldn't exist but keen to find out why
 
abusalimov
Old
(Last edited by abusalimov; 26th May 2014 at 04:34 PM.)
#33  
Member - OP
Thanks Meter 63
Posts: 56
Join Date: Mar 2014
Location: St. Petersburg

 
DONATE TO ME
Quote:
Originally Posted by Netuser View Post
There is something I dont understand, I thought that mobile data drain more battery then Wifi when used, so wouldn't turning off Wifi and using Mobile data instead will create more battery drain during the sleep ?
Quote:
Originally Posted by maxxhtc View Post
Yeah, that was my question about kind of. Can't really see the benifit atm. I'm sure there is one or else this thread wouldn't exist but keen to find out why
Yeah, it is, in theory.
In practice keeping Wi-Fi on often causes certain wakelocks (like wlan_rx_wake) to drain more battery by keeping CPU active than a power needed to maintain a mobile data connection. The amount of time these wakelocks may take place depends on Wi-Fi router, I guess; at my home keeping Wi-Fi on during the night eats a looot more batter than when it is off and mobile internet is used instead. Also note that when Wi-Fi is on, all applications are aware that there is a high speed unlimited connection available, and thus may behave differently (start syncing heavy files, etc.).
The Following User Says Thank You to abusalimov For This Useful Post: [ Click to Expand ]
 
Jsheeler84
Old
#34  
Jsheeler84's Avatar
Member
Thanks Meter 7
Posts: 51
Join Date: May 2012
Having an issue with WiFi not reconnecting after phone is woken up from a deep sleep is this thread still active? Had to disable this module...

Sent from my Nexus 5 using Tapatalk
 
abusalimov
Old
#35  
Member - OP
Thanks Meter 63
Posts: 56
Join Date: Mar 2014
Location: St. Petersburg

 
DONATE TO ME
Quote:
Originally Posted by Jsheeler84 View Post
Having an issue with WiFi not reconnecting after phone is woken up from a deep sleep is this thread still active? Had to disable this module...

Sent from my Nexus 5 using Tapatalk
I've experienced this as well, though quite rarely. Didn't investigate this yet.

Also try enabling [b]Scanning always available[\b], I didn't notice any increase of battery consumption. Effectively the mod will only prevent connecting to a net when showing unlock screen. I'm not sure about whether this would fix your issue though.
 
noneandnonly
Old
#36  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Aug 2014
I'll probably use this and test it a bit on my Huawei Ascend P6 until I find a solution which disables WiFi connectin only for certain apps or whitelists only certain apps.

Or does anyone know about a module or app that allows me to whitelist certain apps (like messengers) so they can use my WiFi but apps not on the whitelist would be blocked from using my WiFi connection (so they won't wake my phone)?
 
Pkt_Lnt
Old
#37  
Pkt_Lnt's Avatar
Senior Member
Thanks Meter 1744
Posts: 3,007
Join Date: Dec 2011
Location: SLO
Quote:
Originally Posted by noneandnonly View Post
I'll probably use this and test it a bit on my Huawei Ascend P6 until I find a solution which disables WiFi connectin only for certain apps or whitelists only certain apps.

Or does anyone know about a module or app that allows me to whitelist certain apps (like messengers) so they can use my WiFi but apps not on the whitelist would be blocked from using my WiFi connection (so they won't wake my phone)?
Better Wifi On/Off will let you whitelist apps for wifi.
Samsung Galaxy S4 Active i9295 GSM /// [[ROM][WIP/Experimental][AOSP][4.4.4_r2] Google Edition for SGS4A (int'l) /// Gravity Box [KK]
Google Galaxy Nexus i9250 GSM /// [ROM] [AOSP] Shiny ROM: OTA-Like, Stock Android [4.4.4] [KTU84P] /// Gravity Box [KK]
Google Nexus 7.2013 /// 4.4.4 [KTU84P] Stock KitKat (unlocked & rooted) /// Gravity Box [KK]

Tags
battery saving, kitkat, wake lock, wi-fi
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes