It charges over USB-C like your other phones probably do, so you don't have dig through drawers to find an old proprietary ...
If your phone won't charge when you plug it in, try this easy solution at home before spending money on a repair.