The law requires major energy companies in the state to cut carbon dioxide emissions by 25 percent by 2020 .