Either your home wiring is incorrectly done or the issue is only with the particular wall socket. Contact an electrician to check the wiring of your home and fix this issue. If the issue persists ...
The wall socket you are using to charge your laptop might have incorrect wiring or it might be faulty. This is the first step that you should take. Hard reset your laptop and see if it helps.