Offline mode issues

I’m facing a problem in working in offline mode while using deep sleep, i want save some sensor data to EEPROM while device is offline. Unfortunately, the device is still in the setup part.
Is there any hope.

I’m not sure I understand your question, but I’ve got a feeling you need to look into system modes and/or system threading.
Could you further clarify your question and/or show us some code?