Inelastic energy losses for ions with pre-equilibrium charge distribution