Electric razor/trimmer charging typically uses typically a low-wattage proprietary charging stand or USB cable. Grooming devices have small batteries and simple charging circuits, so most work fine with any charger that fits, though wattage above the device’s needs offers no benefit.
Check the connector and rough wattage on the original charger before assuming a generic one will work well for a electric razor/trimmer — small devices are forgiving, but power-hungry ones like projectors are not.