Generally it has to be usb-pd and 45W or more in my experience.
Depends on the charger and on the laptop whether that works.
i could not charge my late 2016 pro with my huawei charger (45w)
The 2016 model will charge in sleep mode on a 30w charger, it's just glacially slow, 2-3% per hour at best. 65W seems to be the universal standard for day-to-day use with laptops.