MILWAUKEE — Former President Barack Obama criticized what he called Republican hypocrisy on Friday during a rally with Democrats in Wisconsin, claiming that conservatives have shown themselves not to be trusted on issues ranging from health care to national security and the deficit.

Mr. Obama’s impassioned plea came just 11 days before November’s midterm elections, in a state where Democrats are hoping to hold a Senate seat, make gains in Republican-held House districts and defeat the Republican governor, Scott Walker.

He also defended Hillary Clinton, the failed 2016 Democratic nominee for president who was dogged by allegations that she had mishandled classified information on a personal email server.

If Republicans cared about Mrs. Clinton’s emails, Mr. Obama said, “they’d be up in arms right now as the Chinese are listening to the president’s iPhone that he leaves in his golf cart.”