Isn't that the default behaviour? I never switch manually, but always use WiFi at home and mobile data when I'm out.
WiFi and mobile data are activated all the time.
Samsung Galaxy S10 Android 12
A place to discuss anything related to Android or Android adjacent.
INFO:
No attacking others based on their phone preferences. Criticizing OEMs/devices is allowed. Attacking users because a different brand/device works for them isn't.
Obvious spam will be removed.
Anything directly or indirectly related to Android is allowed.
Check Out Our Partner Communities:
Isn't that the default behaviour? I never switch manually, but always use WiFi at home and mobile data when I'm out.
WiFi and mobile data are activated all the time.
Samsung Galaxy S10 Android 12
WiFi and mobile data are activated all the time.
In our case, there are several problems with activating both WiFi and mobile data all the time:
I'm charging my phone every night due to Sleep as Android, so battery drain isn't really a thing I'm looking after. But you are absolutely right here.
As already suggested you might take a look at IFTT.
I use Tasker for stuff like this, but it can be pretty daunting just due to the huge amount of options.
This is what I came to suggest! I love Tasker! It definitely can feel daunting when you first start out, but there are lots of guides and tutorials out there to help.
Samsung has Bixby Routines. Should cover all of this.
I do WiFi geofencing with MacroDroid.
https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid
Assuming Samsung didn't remove it, Android has this built in. Search 'rules' in settings.
You could do it via tasker, if you learn out to use it. It can be a little frightening at first but is stupidly powerful.
I guess Bixby routines could work as well.
Can't you just create a rule for this?
Samsung has this built in. Got to settings and search "routines," it should come up. I have one set up that toggles my wifi on/off when I leave the house since I don't like my phone looking for wifi constantly while I'm out doing stuff.
Try using ITTT (If This Than That).