my BME680 seems to work fine (readings are meaningful and IAQ is calculated after few minutes), however it seems like I'm doing something wrong since the power consumption I get from my custom device (nRF52832+BME680) is always around 6 mA (regardless of the power mode: LP or ULP).
Such problem is not due to other FW functionalities since if I disable the BME680 then I get an expected power consumption of 5 uA, so there must be something wrong in my use of BSEC library.
I've verified that the while loop within the bsec_iot_loop() is running at the correct period, depending on LP or ULP mode.
Maybe the sensor is never going to sleep? Any suggestion on how to solve this?
I'm attaching relevant project files. I've cleared out the project for convenient reading: what I'm doing now is just reading the sensor, running BSEC library and sending its output via BLE when output_ready().