If your Windows laptop charger makes a buzzing, crackling, or static noise, you will have to look at the following aspects & ...
Use HP Support Assistant ... Why does my laptop shut off when I unplug the charger? If your laptop only receives power when the charger is plugged in, this means the battery is unable to charge ...