There are adapters which take a USB-C connector on one side and offer a barrel connector on the other one. They're available in many sizes for a few €$¥£. Saves you a brick assuming you already have the required USB-PD adapter.