Hello,
I have an nRF9160 development kit and was measuring the time it takes for switching off the modem
when it has an open data connection.
I did it by sending an UDP packet and then switching off the modem. The time is measured by toggling a GPIO pin:
gpio_pin_set(dev, PIN,1);
err = lte_lc_power_off();
gpio_pin_set(dev, PIN,0);
This gives me about 1.6 seconds. Is this value normal ? If I use instead lte_lc_offline() I get similarly high values.