TravelCenters of America reported net income of $1.2 million for the second quarter, compared to a loss of $15 million during the same quarter a year ago.