The ratings are never far from President Trump’s mind.