California invests in battery energy storage, leaving rolling blackouts behind