A disposable flexible vessel contains a septum, dividing a first chamber from a second chamber. Upon connection to the battery, the battery powered device acquires the voltage threshold or thresholds from the battery and programs itself with the threshold or thresholds. For example, the vascular closure device may be used to close the hole in an artery after a medical procedure that required access to the artery.