Charge-state dependence of energy loss in random solids