I'm not sure what it is, but I have had several devices get into states where they will neither charge nor power on, until the battery drains fully, then they are ok again.  All have been usb-c but I'm not sure if this is a coincidence or if it's some cable problem.