Good evening,
If your elitebook 840 g1 does not have an integrated graphics card, 45 watts should be sufficient according to the HP website. If you have a graphics card installed, e.g. AMD or NVIDIA, the device requires 65 watts.
Information without guarantee on my part, source:
https://support.hp.com/ch-de...