You can always use a „PD Decoy“ if the voltage is USB compatible. A 5 / 9 / 12 / 15 / 20 Volt barrel plug is trivially USB powerable.