This article explains how to charge your Chromebook without its original AC charging cable. If you’ve lost, forgotten, or damaged your original power cord, or if the charging port itself is damaged, there are still ways to charge.
How to charge a Chromebook without a charger || charge a Chromebook via USB type C
If your Chromebook has a USB Type-C port, you may be able to charge your Chromebook using that as well. There are a few caveats to this. If you want to use your Chromebook while it's charging, you'll need a charger that supports USB Power Delivery (USB PD). If USB Type-C Power Delivery is an option, you'll find that option in Settings.
Click Time > Settings, indicated by the gear icon.
Next to Power Source, click the USB-C port you want to receive power from.