Project-CETI / whale-tag-embedded

Source code for the software that is used to build the image for the embedded computer inside the Whale Tags to be deployed onto sperm whales for project CETI
Apache License 2.0
13 stars 5 forks source link

Disable automatic low voltage shutdown when battery is charging #30

Closed MattCummings0517 closed 1 year ago

MattCummings0517 commented 1 year ago

In a post-recovery data upload/recharge use scenario, if an operator forgets to stop the ceti-tag-data-capture service at boot time and a battery cell is below 3V, the system will shut itself off about 30 seconds after boot, even if the batteries are charging. This may confuse the operator. It would be better if the tagMonitor.sh supervisor script recognized that the Tag is being charged and disable the auto shutdown behavior

MattCummings0517 commented 1 year ago

This issue has been separately resolved with the implementation of a new battery monitor service that is independent of the recorder app. This new service provides a grace period of 2 minutes after application of the charger before the cells are checked. If the cells are below threshold, the operator can shutdown the battery monitor service manually during this time so that the cells can be restored.