If the power socket on the laptop is damaged, it may be possible to bend the springy metal leaves inside the connector in order to make better contact using a pin or similar tool.