This is for a battery operated device. Say this circuit is connected to a lithium-ion battery pack that is 22.2v at 0% charge and 25.2v at 100% charge. If I want the circuit to turn off at say 10% (22.5v) and turn back on at say 20% (22.8v), how would I go about accomplishing this?