Study of the carbon material electrolyte interface