C
CodeMonkey
Guest
I think there is signal percent context you can use?
If signal is less than x% then, turn on Airplane mode (turn off Background/Data sync, etc.), or something like that? Use a time context, too, so it doesn't airplane on you during the workday...I'm assuming your games are after work hours
Quite correct, in system variables:
From userguide
Code:
Cell Signal Strength (dynamic,monitored)
%CELLSIG
The current phone signal level from 0-8 inclusive on a rougly linear scale. On some CDMA phones, the level will rise in steps of 2 (0,2,4,6,8). The value is -1 if the value is unknown or there is e.g. no service.
There is a bug with some Android versions that the reported signal strength is not updated until the device is turned off and on.
Cell Service State (dynamic,monitored)
%CELLSRV
The current phone service state. One of unknown, service, noservice, emergency, nopower.