Wifi battery consuption - Huawei P9 Questions & Answers

I there.
It shows that wi-fi its allways on but i allways turn it off when i dont use it. Whats happening? Im on B378
Sent from my EVA-L09 using XDA-Developers Legacy app

Android will always keep Wi-Fi on as its default behaviour.
When you turn Wi-Fi off, it's not really turned off, it just won't connect to any Wi-Fi hotspot.
If you want Wi-Fi signal to really turn off.
Go to Settings > Wi-Fi > Advanced Settings, and choose "never" for "Keep Wi-Fi on during sleep".

Oh....but if for example i turn it off in those setting, everytime that i dont touch my p9 for about 5 or 10 min and screen turn off, does the wi-fi will turn off too? Cause I want to turn off and on wherever i want, and not when the smarphone wants
Sent from my EVA-L09 using XDA-Developers Legacy app

Related

Toggle between WiFi and mobile data with tasker

Hello. Does anyone knows how to make a script for tasker which switch mobile data off if WiFi is connected and mobile data back on if there's no WiFi connection? For the last 3 or 4 hours I'm searching for this and can't find nothing.
Also, I want if there's no WiFi network, to switch WiFi off (so mobile data will be turned on).
I managed to do something, but it didn't worked. When I enabled the profiles with WiFi and mobile data both turned on, the mobile data turned off, then WiFi off, then mobile data on and so on, in a loop.
Wouldn't that be redundant? The os already does that.
Sent from my Nexus 7 using Tapatalk
Thanks for the response. I know that if WiFi is connected, I'm using the internet from it, but mobile data is still active, right? Even if there's no traffic from mobile data, that's still on. Wouldn't that be a source of battery drain?
I set my data to turn off if my phone is connected for 5 minutes to a wifi. Important: set collision handling to 'abort existing task'.
Here you got pictures.
Edit:
if you are further interested in battery savings, you can read my thread "[BATTERY LIFE] How to get up to 7+h of screen-on-time"
This is absolutely redundant and unnecesary, when the phone connects to a wifi, it disables 3g/LTE data connection by itself. When you connect to a wifi you can see how the 3g/H/H+ icon above radio signal dissapears. The radio chip inside this phones can be used in Wifi mode or 3g/4g mode for data connection, but not both at a time. It is technically not possible.
Accidentally sent from my Xperia Z using Tapatalk
RoberM said:
This is absolutely redundant and unnecesary, when the phone connects to a wifi, it disables 3g/LTE data connection by itself. When you connect to a wifi you can see how the 3g/H/H+ icon above radio signal dissapears. The radio chip inside this phones can be used in Wifi mode or 3g/4g mode for data connection, but not both at a time. It is technically not possible.
Click to expand...
Click to collapse
The moment you don't have wifi anylonger, the phone starts a fullburst search for wifi and 3G/4G networks (even if I don't want wifi/data at the moment). and this drains a hell of a lot of battery. then (if you go out e.g.) it finds a 3g/4g-connection which it tries to keep up (drains a lot battery) and in the same time searches for wifi-networks (also drains battery)... very inefficient use of battery
So I deactivate data after 5 mins automatically via tasker and turn it on manually when I need it (could also automate that, but I'm lazy). This way I circumvent all these battery drains
Additionally:
Under normal circumstances I'd also set wifi to "turn off if not connected" (in settings) and "optimize wifi for battery life", but I use a custom stock kernel that has issues with these settings so I need to leave wifi on all day
sea2605 said:
The moment you don't have wifi anylonger, the phone starts a fullburst search for wifi and 3G/4G networks (even if I don't want wifi/data at the moment). and this drains a hell of a lot of battery. then (if you go out e.g.) it finds a 3g/4g-connection which it tries to keep up (drains a lot battery) and in the same time searches for wifi-networks (also drains battery)... very inefficient use of battery
So I deactivate data after 5 mins automatically via tasker and turn it on manually when I need it (could also automate that, but I'm lazy). This way I circumvent all these battery drains
Additionally:
Under normal circumstances I'd also set wifi to "turn off if not connected" (in settings) and "optimize wifi for battery life", but I use a custom stock kernel that has issues with these settings so I need to leave wifi on all day
Click to expand...
Click to collapse
Umm, ok... But this has nothing to do with what the OP asked, or what I said.
You may try e-robot from play store.
I have a command for that, after wifi disconnects, wait for 30 sec. If still wifi is not connected, automaticcaly disables wifi.
Same as for bluetooth. When i leave my phone in my desk and gone for a while, 60 sec later disable bt.
You can do what ever you want.
Sent from my C6603 using Tapatalk

[Q] Wi-Fi Issues on Galaxy Note 3

Wi-Fi will not work unless I turn off my mobile data. I didn't have an issue with this prior to the update, is there a fix?
It seems to prefer 3G/4G for the initial connection, but it I turn data off, connect to my router, then turn data back on, everything works fine. The Data ON-OFF widget makes that easy.
You don't have the option checked in WiFi settings that says automatically switch between WiFi and cellular do you?
Sent from my SM-N9005 using Tapatalk

Any way to turn on and off wifi calling with wifi?

I'm getting annoyed that every time I turn off wifi the wifo callind feature keeps bugging me to connect to wifi even if I'm not at home or near any wifi... Any way to shut it up so I can still use it at home but it doeant bug me when im not on a wifi area?
Sent from my 831C using XDA Free mobile app
Anyone?
Sent from my 831C using XDA Free mobile app
There is no current way to do this as far as I know as I don't believe there is a tasker plugin for wifi calling. The only thing you could do is set up key presses in tasker so basically a macro to emulate what you want to do. I used this technique to set it up so when I connected to wifi, it would automatically detect that and switch the phone to CDMA only so the phone is not hanging on to a weaker LTE signal for no reason wasting battery. When wi-fi would drop it would go back and set it to LTE. It actually works fairly well and much better battery life especially since I have a repeater in my office.
Found a way!
This breaks ALL notifications from wifi calling but it doesn't break the functionality of calling itself. So when you're on wifi you just gotta trust that wifi calling is connected (or go into settings to see if it's on). Also it DOES break address confirmation but since this should only be a one time deal for most people you can just reenable the service when you need to confirm your address if you're adding a new network or simply want to re-confirm it. You also wont be able to turn the service on and off in settings, but since it's not a radio itself turning of wifi will kill any battery usage by wifi calling:
1. Get ROMtoolbox (I have the pro version so idk if it works on the free version)
2. Go into app manager
3. Find and open wifi calling (make sure its NOT the one from htc)(also dont just select it, make sure you go into the menu)
4. Go right to the advanced section
5. Select advanced freeze
6. Find the service "vowifiservice"
7. Click on it to disable it and agree to the promt
8. *optional* Reboot the phone or refresh the setting to clear any notifications currently showing
9.???
10. Profit
Sent from my 831C using XDA Free mobile app

WiFi HotSpot - Won't Toggle w/3rd Party Apps

So I'm a big Tasker user and I use a 7" Android Tablet in my car as my "infotainment system." I have a Tasker profile that when connected to my Car's Bluetooth, turns on Wifi Hotspot and upon disconnection, turns off Wifi hotspot. I noticed that HotSpot was turning on without a problem, but not turning off.
I also have a Widget Button to toggle WiFi Hotspot on/off. Again, it will turn it on, but it doesn't turn it off. As a test, I also used the app Llama and added an action to turn Wifi Hotspot on and another to turn it off. Again, it was able to turn it on with no problem, but when trying to execute the "off" it gave me the error message "WiFiAccessPoint may not be supported by your phone."
This is really annoying since the only other way to turn it off is to go into phone settings, then More, then Wifi Hotspot, then untick "Hotspot" to turn it off.
Besides wondering if this is working on anyone else's phone, I'm wondering if anyone knows where to write or post such bugs for the Moto programmers to see...
FYI - So I found another bug related to this same issue. Besides 3rd Party Apps (Tasker, Widgetsoid, Llam, basically any app that toggles settings) not being able to turn WiFi off, IF they are used to turn it on then turning it off inside settings will not automatically turn Wifi back on as it should.
If you turn HotSpot on via the Moto HotSpot settings then turning it off will automatically cause wifi to turn back on.
Hoping Moto fixes this issue and allows full toggling of HotSpot via 3rd Party apps as this is really killing my automated in-car hotspot.

Bixby Routines Question

Has anyone figured out how to automatically turn off WiFi when there is no connection?
Not through Bixby routines, but you can do this from Settings.
Settings - Connections - Wi-Fi - (click 3-dot menu) Advanced - Switch To Mobile Data.
Devhux said:
Not through Bixby routines, but you can do this from Settings.
Settings - Connections - Wi-Fi - (click 3-dot menu) Advanced - Switch To Mobile Data.
Click to expand...
Click to collapse
But does that actually turn off WiFi? It sounds like it just switches to data but doesn't turn off WiFi.
I know you're taking automation...but have you tried to set up a Bixby routine like "leave work" or "leave home" and have it turn off wifi when you go. Then an "I'm home" to turn back on
when when arrive at home...or whatever other location you're trying to do this from?
I know you're trying to stick to what's already in the phone with Bixby, but...it's worth to mention
"If this, then that" IFTTT, is one way to be able to IFTTT.
Tasker is another option.
There's also Smart Wifi Toggler.
steelersmb said:
But does that actually turn off WiFi? It sounds like it just switches to data but doesn't turn off WiFi.
Click to expand...
Click to collapse
Hmm, good point.
so you can do: if "Wifi Signal Strength" less than x%" then "turn off wifi" within Bixby
or there is the plain old
"Switch to mobile data" in the adaptive wifi settings - "switch to mobile data whenever your wifi internet connect is slow or unstable"
wilbur said:
so you can do: if "Wifi Signal Strength" less than x%" then "turn off wifi" within Bixby
or there is the plain old
"Switch to mobile data" in the adaptive wifi settings - "switch to mobile data whenever your wifi internet connect is slow or unstable"
Click to expand...
Click to collapse
Thanks for the tip however there isn't a "turn off wifi" available on the "then" screen.
Edit. Actually if you play around with he options you get it. Strange...
Sent from my SM-G975F using Tapatalk
geovass said:
Thanks for the tip however there isn't a "turn off wifi" available on the "then" screen.
Edit. Actually if you play around with he options you get it. Strange...
Click to expand...
Click to collapse
LOL, and so continues the mysteries of Bixby. There must be someone really high up in the company hierarchy that loves Bixby or else by now it would have been discarded beside the road like an empty beer can.
geovass said:
Thanks for the tip however there isn't a "turn off wifi" available on the "then" screen.
Edit. Actually if you play around with he options you get it. Strange...
Sent from my SM-G975F using Tapatalk
Click to expand...
Click to collapse
So how did you play with the options to choose wifi to go off?
nixun said:
So how did you play with the options to choose wifi to go off?
Click to expand...
Click to collapse
Ha! You need to add on the "if" section, the "place" and then it will show the WiFi in the actions lost. Then go back and remove the "place" variable!
Wicked eh? Lol
Sent from my SM-G975F using Tapatalk
Success...
If you include WiFi in the "if" it doesn't offer WiFi in the "then"
--obviously it won't be able to continue to monitor wifi strength after you have turned it off--
But it does work using tips above...
I only use Wi-Fi at home so just setting up the routine for if I'm home, Wi-Fi turns on. If I leave home, it turns it back off. I suppose you could set up multiple routines with different places marked but we shouldn't have to do that
wilbur said:
Success...
If you include WiFi in the "if" it doesn't offer WiFi in the "then"
--obviously it won't be able to continue to monitor wifi strength after you have turned it off--
But it does work using tips above...
Click to expand...
Click to collapse
I have tried but no luck. The routine has been set (I added 5% as WiFi strength) but never triggered. I have changed it now to 15% and will try again.
Sent from my MI PAD 4 using Tapatalk
Use inverse logic. (it might be good for you):
turn off the wifi!
set bixby routines:
if home then wifi on
if XXX then wifi on
This is only good if you know where you want to use the WIFI.
??? Isn't it right there? "Turn on wifi automatically". When you use a network often, you will get a notification that it is added to a list of frequent used networks. It will turn on wifi you are in those arrive at those places with the frequently used wifi. I have atleast noticed that the WiFi is off sometimes, but connects when I arrive at my friend's house for example, it connects to the WiFi. You can

Categories

Resources