Microscopic explanation of capacitor discharge principle