Best practices


Perform computations on Movesense, transmit only the results

This approach is more energy-efficient than sending large amount of data through BLE and processing them on the mobile side. BLE is not designed for streaming data. This might also cause problems with stability of the BLE connection.

Avoid subscribing sensors at frequencies higher than needed

Up to 52 Hz, accelerometer runs in low-power mode. There is significant difference in power consumption between 52 and 104 Hz. Higher frequency also means higher CPU load in order to process data.

Perform sanity checks to incoming data

Each Movesense sensor notification has a timestamp value attached. It is a good idea to perform sanity checks for data it self as well as timestamps to detect missing data and invalid measurements.

For example packets lost in communications can be noticed when timestamp difference is double or triple of the usual. Sensor FIFO overflow situation (can happen on high ECG samplerates) is detected by longer, non-multiple difference of timestamp values.

Also data values themselves can indicate an issue. For example ECG is typically +-5mV or less. If the received ECG are much higher there is external interference (e.g. static electricity) that is not valid data.

Avoid staying connected for longer than needed - prefer connections on demand

Movesense system automatically reduces CPU frequency based on computation demand so this is the easiest way to reduce power consumption. After unsubscribing all providers and disconnecting Bluetooth you can get down to as low as 10uA current consumption, while still maintaining all aplication data and RTC (Real-Time Clock):

Note! If something goes wrong with your BLE wakeup procedure and you're unable to wake up your device again, you can manually enable DFU mode (device firmware update) and flash the sensor with working firmware. ( Refer to: FAQ )

If possible, use system mode Full Power Off when device is left unused for a longer period of time

Device can be woken up by a configurable event from accelerometer (any movement, single tap, double tap, etc.) or analog front-end (AFE, by touching HR belt connectors). However, be aware that system time will be reset during full power off.