Variability of the minimum detectable energy of an APD as an electron detector