California is poised to become the second state (after Hawaii) committed to generating 100 percent of its electricity from renewable and zero-carbon sources.