Despite the urgency that Mr. McCain attached to the problem, Democrats noted that Mr. McCain had missed every vote on a 2007 energy bill that increased fuel economy standards for the first time in three decades. Mr. McCain also missed all eight votes on a renewable energy bill that was defeated last month.