This happens at a highly-frequented SBux in Lisbon's Rossio train terminal. There's a code on the receipt for 45 min of usage but, the one and only time I went there, I used the net for hours and it didn't turn off. I think it's just to deter people.