Next time you want to find out a wifi password in a public place try an app called four squares. People post all types of things about a restaurant including wifi passwords.
I’ve run into this problem before. Your at a hotel and your kids take all the outlets and your iPhone is about to die. I was saved be the USB port on the back of the LCD TV.
Protect yourself from cybercrimals. Arm yourself with knowledge.