Static discharge is excess charge that is neutralized by a flow of charges from or to the surroundings . The spark associated with static electricity is caused by electrostatic discharge , or simply static discharge , as excess charge is neutralized by a flow of charges from or to the surroundings .