Current version of this project works by pressing against thickened fragment at pins base - if those are absent from your charger the cap might be completely loose.

Indented lines on the sides make for surprisingly good grip.
Printing:
15% - 25% infill will be more than sufficient for “outside shell”, i suggest adding 100% infill modifier between holes (cube 18mm x 5mm x 20mm) for extra strength. (included in .3mf and .gcode files)

The author marked this model as their own original creation.