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.