Hello,
I recommended stopping gsmd and mobifd just as a precaution, in case they would be able to "wake up" the modem, but it appears that the power is cut to the modem and it completely disconnects and automatically reconnects after a minute or two (at least on RUTX50).
So the command to power off the modem would need to be run quite frequently, and there is no way to wake up the modem from the software.
However, I believe I found a better solution for you. Instead of powering down the modem, you could simply put it into airplane mode. This can be done by running the command
gsmctl -A 'AT+CFUN=4'
After this command is run, mobifd and gsmd will most likely need to be stopped, as they will set CFUN back to 1.
To put the router back into full functionality mode, use this command:
gsmctl -A 'AT+CFUN=1'
Let me know if this method works any better!
Best regards,
DaumantasG