In addition to the ban happening in 2035, most people are charging their cars late at night, when there is surplus power. Although commuters may want to charge while at work.
BTW, for the people shitting on California's ban, people seem to be forgetting that a number of automakers, including Ford, GM, Mercedes-Benz, have announced they are ending production of gasoline powered cars in... you guessed it, 2035.
This is about economics. The gas powered car will soon be dead.