renyuneyun / Easer

User-defined explicit automation for Android
https://renyuneyun.github.io/Easer/
GNU General Public License v3.0
808 stars 93 forks source link

On/Off cell radio #186

Open racuna opened 6 years ago

racuna commented 6 years ago

It is possible to turn on/off the Cell Radio without root?

Every time when there is no signal my Android go full crazy searching for signal draining the battery very fast.

I'm looking to do an script like this

If there is no signal -> turn off the cell radio, wait 5 minutes, turn it on again an re-check is signal is back

it is possible?

use case: everytime I go to hikking. I need GPS, but not cell signal.

(Sorry if my english is too bad.)

renyuneyun commented 6 years ago

Unfortunately I don't thing so... Every method I'm aware of needs root (or equivalent, e.g. from recovery), or an old version of Android (2.x)...

I think your best bet is to manually change your phone network to 2G (GPRS/EDGE) (if available) when going hiking, because generally 2G has a wider range and (I remember & my personal experience) consumes less battery, and it also saves the time&power for switching between and searching for 2/3/4G. (But 2G is retiring... Not sure if the telecom companies will still support it or not....)

No worry about English. I'm not native English speaker too.

ChristianTacke commented 5 years ago

A little off topic: You might switch to flight mode. I think, this is still possible without root. I think, you can re-enable GPS in flight mode.

racuna commented 5 years ago

@ChristianTacke that was my first idea, but then I read about #182

I will try it anyways and see what happens

bmaupin commented 3 years ago

Is this a duplicate of #118?