The documentation suggests using Spark.sleep() to put the WiFi module to sleep and wake up after some time interval.
The documentation references WiFi.status(). WiFi.status does not exist.
The documentation also suggests SYSTEM_MODES
However this seems like we take a lot of ownership on managing the spark connection.
I thought I would ask the community the best way to manage the WiFi connection. Spark.sleep seems like a good approach but not sure how to implement w/o WiFi.status.