Does a LUA / AF App restart on resume from Low power mode?

If I have an AF application running in a loop with a shedule.wait(60) and the modem goes into low power mode, will the application pick back up where it left off or does it restart? I want to test the time difference in a loop from the previous tcp send and if it is 15min then send again and start the new timer. It never seems to happen even when the modem wakes up. Do I have to store persistent variables or is the code just suspended and picks up where it left off?