Charge generation and electrostatic equilibrium for single granules during sliding