Maryland Gov. Larry Hogan may have the approval ratings. But the Democrats who control both houses of the state legislature have the votes. Despite vigorous opposition from the popular Republican governor, the Maryland Senate voted 32 to 13 on Thursday to override Hogan’s veto of a bill to boost the state’s use of renewable energy. The House of Delegates voted to reverse the veto earlier this week. That means the measure — which requires Maryland to obtain 25 percent of its energy from wind, solar and other renewable sources by 2020, instead of 20 percent by 2022 — will become law. Legislative analysts estimate that the annual compliance costs for energy companies would average $28 million to $111 million from 2017 through 2025, an expense that will probably be passed on to consumers.