Depends on the laptop PSU, can you link to this make/model?
On some, the 3rd wire is to signal to the laptop that it has the genuine PSU plugged in instead of a some random aftermarket/etc, causing the laptop to run at reduced speed or not charge the battery if it does not get this signal, but...