kivancsikert / ugly-duckling

Firmware for FarmHub devices
0 stars 0 forks source link

Do not boot with depleted battery #174

Closed lptr closed 1 month ago

lptr commented 1 month ago

Fixes #173.

We simply go back to deep sleep for 10 seconds if the voltage is below 3V. This is to prevent the device from booting and immediately shutting down due to the high current draw of the boot process.