Estimating the energy in current signals during electrical sounding: a novel approach