An electrotherapy device is provided that includes a battery pack which is detachably connected to a stimulation pack that includes a waveform generator and control circuits. The stimulation pack can include a microprocessor, digital and analog circuits such as waveform generator, memory, IO pin, oscillator, and/or ADC and DAC. The battery pack includes a battery holder a charging and protection circuit and a battery indicator.