Turn hotspot off after 0 devices connected for 3 minutes? - General Questions and Answers

I want to set up an nfc tag to turn on hotspot for my car head unit to connect to, and then when i turn my car (and head unit) off and get out of my car, I want my phone's hotspot to be turned off, and wi-fi re-enabled (After a 3 minute delay).
I believe this could be done with a check for 0 devices connected to hotspot, and then a delay, before turning off hotspot and turning on wi-fi. I think tasker could do this once provided with the proper parameters, but maybe another app would be better, anyone have any ideas?

Related

[Q] How to turn on Wi-Fi hotspot permanently?

Hello,
I have an old android 2.2 phone (Karbonn A1) and I use it as a Wi-Fi hotspot. Its battery is dead so I just plug it in my PC via USB cable and it turns on and it turns off as soon as the PC shuts down. Now every-time I turn my PC on, on the phone I have to go to setting and then turn on the Portable Wi-Fi hotspot on every single time. So is there any way that I can permanently turn on the Wi-Fi hotspot, like when the phone is turned off and then turned on the data connection is always on until I turn it off manually but the Wi-Fi hotspot turns off when the phone is turned off. My phone is rooted.
Any help would be appreciated.
AadilValconi said:
Hello,
I have an old android 2.2 phone (Karbonn A1) and I use it as a Wi-Fi hotspot. Its battery is dead so I just plug it in my PC via USB cable and it turns on and it turns off as soon as the PC shuts down. Now every-time I turn my PC on, on the phone I have to go to setting and then turn on the Portable Wi-Fi hotspot on every single time. So is there any way that I can permanently turn on the Wi-Fi hotspot, like when the phone is turned off and then turned on the data connection is always on until I turn it off manually but the Wi-Fi hotspot turns off when the phone is turned off. My phone is rooted.
Any help would be appreciated.
Click to expand...
Click to collapse
im not sure if it will work on a system version that old, but there is an app called llama that will turn it on automatically.
how you would set it up is:
-delete all the pre installed events as you wont need them
-create a new event
-add condition, "enter/in area" and choose "home"
-add action, "wifi hotspot"
-back out and it will save
-now go to "areas/home", long press and select "learn". i recommend at least 2 hours for best results.
thats it. it should now boot up and turn on the hotspot (provided you are home).
it uses cell signatures, not gps. so it wont tax your already dead battery
hope that helps

Location based WiFi-what's that about?

On most android phones you can stop them from connecting to open WiFi, so it only connects to your home WiFi and other predefined locations.
The Z3 has an option on the Stamina page:
Location based WiFi- WiFi activated automatically when in range of a saved WiFi network.
I've played with this but i don't get it. If that's activated and I've turned WiFi off it doesn't seem to turn WiFi on, and if WiFi is turned on it'll connect anyway so this option is redundant.
The power policy makes no difference, and I've added my WiFi point to the list.
Maybe you need to turn on "background scanning" in advanced settings which checks for WiFi in intervals even when WiFi set to off.
If you leave wifi enabled the feature will automatically turn it off when you are not near the location of one of your saved networks, and then back on when you are again near that location. Don't manually turn off wifi, the feature won't turn it back on in that state.
I was wondering the same thing. I'll test this out today.
The description should say that WiFi will turn off when not in range of saved networks.
Sony makes it sound like we need to have WiFi off, and it'll turn back on automatically when in range.
Sent from my D6616 using XDA Free mobile app
shilent said:
The description should say that WiFi will turn off when not in range of saved networks.
Sony makes it sound like we need to have WiFi off, and it'll turn back on automatically when in range.
Click to expand...
Click to collapse
Exactly, especially when another option, on the advanced wifi option page, says:
"Scanning always available: Let google's location service and other apps scan for networks, even when wi-fi is turned off"
because it gives the impression you can enable that, turn wifi off, but use the "location based" option to override your wifi disable to turn it back on again.
Scanning always available is a battery killer.
What I have noticed is that my Wi-Fi turns off when I leave my residence to work and stays off the entire time. It doesn't turn on automatically when you come home until something runs a scan of your location. I believe that is how it works and when it senses that you're near where your WiFi is it will turn it on automatically.

Androud 7.0 Bluetooth Keeps Disconnecting - How To Fix?

LG G6 on Android 7.0 ( I suspect this issue is not specific to this phone.) This happened to me like a year ago. Bluetooth in my car kept disconnecting and it had to do with me turning on some sort of feature where the phone keeps scanning for nearby Wi-Fi networks to notify me about. Of course as you drive your car around it periodically picks up a strong enough (nearby) networks. But I think it was doing it even without notifying me on the screen. Anyway, the setting was sort of buried but I eventually found where to turn it off and the bluetooth disconnect stopped.
So I replaced my phone with a new G6 because I switched providers from a GSM to a CDMA provider. I restored my apps and everything was working but then something changed and it started happening again. So I backed up the apps, factory reset, and restored just my bare minimum apps. Worked fine again. I didn't really add any apps that would affect this type of thing and then today I went for a walk and listened to an Audible book for about 45 min. Returned back and disconnected the headphone. About an hour later reconnected them and started listening to music and it started happening again. I have Wi-Fi Notification and Show Wi-Fi popup disabled in Advanced Wi-Fi and when this was happening driving around I can confirm Wi-Fi was turned off (I have a Llama event that automatically turned Wi-Fi off when I connect to my care Bluetooth)
Any ideas what is causing this issue?
I believe I determined the problem. I have a Pebble 2 watch. It was disconnected and while playing music over bluetooth, I went to reconnect it and for the first time I saw some message about allowing the app to turn on bluetooth (even though it was already on.) I enabled it and immediately lost my speaker bluetooth connection. So my guess is my watch app was repeatedly trying to connect to the watch every couple of minutes or so and each time that is what would cause the other bluetooth connection to disconnect. Maybe if I go into the watch app permissions and disable bluetooth toggle permissions that will prevent it from doing it when the watch is disconnected.

Android Auto using WiFi

I am using my Note 20 with my Android Auto WiFi. I am having a unique issue / warning upon connecting to my head unit. When I connect to my head unit I get the warning from my phone, "Internet may not be available......." and I have 2 options, either Keep Wi-Fi connection or Disconnect.
Obviously if I disconnect then I am no longer connected to my cars head unit.
If I click keep connection that is where it gets weird. Under Advanced WiFi I DO have switch to mobile data turned on, I also DO have Mobile data on and my head unit DOES show up under Network exceptions.........
All the above SOUNDS like it would be the right thing.... HOWEVER, when I do that, I have NO DATA at all and obviously it does NOT work.
IF when the warning comes up i just IGNORE it or hit the HOME button and it goes away. WiFi stays connected, DATA stays connected and EVERYTHING works RIGHT!!!! However.... I am tired of having to do that every time I connect. I am sure there is something that I am missing, so I figured that I would ask the smart people. Thanks in advance.
Do you have tethering on?
Nope, no tethering on

Bluetooth connection abort in standby

Hi there,
I'm using my old Nexus 5 for navigation. Each time when the phone is going to standby, the bluetooth connection (tethering by another phone) get lost.
Is there a solution to avoid this?
Bluetooth timeout is one of the most common reasons Bluetooth is turned off without warning. By default, after about 10 minutes of being idle, your device will usually go into "standby" mode to conserve power. This turns the screen off and removes certain connections, like Bluetooth.
Is there anybody possibility to change the timeout? I can't find this option in developers options.
Guaranteed not to be found under Developer Options.
Not all devices will let you control when your Bluetooth turns itself off automatically.
Every smartphone or device is different when it comes to setting Bluetooth connections and connectivity preferences. You can usually find instructions on how to alter your Bluetooth online by searching for your phone model.

Categories

Resources