The California State Senate on Wednesday passed a bill that calls for the state to use 100% renewable electricity by 2045.