North Carolina lawmakers will hold a midnight session to pass a major energy bill that would lay out a decade or more of policy.