I've heard it referred to as the "laptop hobo" problem: customers that come and buy a small coffee and take up a table for 4+ hours.
How have you seen cafe owners handle this well so that they sustain the business and avoid the freeloader problem?
Sometimes I see "No Laptops" signs in cafes, but I'm sure there are better approaches.