You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the SEN5X is connected and the kit is configured, there is a corner-case that drains the battery due to the following issue:
Sensor loop starts
SEN5X takes between 15 to 30s to take readings. These readings are added to the pending sensor list and SEN5X is commanded to take readings.
If the SCK is turned off (by 5s button down), two things can happen:
The SEN5X has finished its readings process. When pressing the button, everything is turned off
The SEN5X hasn't finished its reading process. When pressing the button, we keep the SEN5X on forever
If it coincides that the user configures the kit, and turns it off while it was taking readings, it will keep the SEN5X on forever, hence draining the battery. This roughly consumes 110mA on average, which makes the 2000mAh battery last approximately 18h.
#78 solves the issue by making sure that all sensor groups associated with the SEN5X are stopped when there is a 5s button down event. With this fix, the SCK returns to its normal sleep consumption of 3mA, which would make the battery last 27 days in this situation.
Title is self-explanatory.
Potential rootcauses to analyze:
The text was updated successfully, but these errors were encountered: