So i want to make a project using lithium ion batteries, this project involves me leaving the circuit/batteries unattended for over a month. So i want some kind of undervoltage protection which shuts off the output completly when the voltage goes down to around 3.5v. I have a few relays and voltage regulators/op amps at home. But i don't really know where to start. So i need some tips on how to start building this protection. Thanks!