Timings are important for the performance of the sensor, therefore you must indeed follow the 3s or 300s sampling period requirement, and wake-up your system in time for the next measurement if needed.
The esp32DeepSleep example could be used as reference for other platforms.
... View more