Loose connections can cause this humming or buzzing sound from the laptop charger. Make sure that the connections are not loose. Turn off the main switch, and remove the charger from the wall socket.