When I plug my Lumia 950 into the PC via any USB-C cable, it charges. If I unlock the phone, it asks if I want to connect for data transfer, if I say no it charges.
Don't 1phones and droids do that? Honest question.
Even so, I'd never plug my phone into a public charger.
I did read somewhere...