I own a Hp Pavillion dv5 laptop, and my main problem with it is that the LED light that indicates the laptop is charging doesn't light up fully. Instead the light blinks/flashes and doesn't charge the laptop at all. If the laptop is turned off however, the LED light will light up without blinking and charge the battery. I've already tried buying a new battery and it didn't solve the issue

Thanks in advance.