If you don't want to be bothered, why would you be working on a coffee shop? Libraries (or pretty much anywhere else) offer more privacy for real work.
I think people who go to work to coffee shops are there to be noticed. There's plenty of places you can work at without the bother. Let's be real about this.