You had the same assumptions as Julia when using the logging function, and I think your assumptions are more natural than mine so I will try to change the behavior of the meter to meet yours. It’s easy to develop tunnel vision when you’re working on a product.
An approximate list of changes I have on the to-do list:
– When connected over BLE, only write to the SD card at the rate set by the logging interval (presently every sample taken by the meter is written to SD, the logging interval just determines how long to sleep when disconnected)
– Account for sampling and wake time in the logging interval: samples taken with 10s logging interval should end up 10s apart in the log file. The extra 1.3 seconds you’re seeing is the sampling time and the wake time.
Thanks again for the feedback, these kinds of interactions really do drive the product development.