Our several years old HP laptop has been having problems with the charger connection for a while. I think that the problem is actually a short in the charger cord, so I've spent a few bucks to order a new charger. If that works, I'll be fine.
If not, my understanding of these laptops is that you need to replace the motherboard to fix the internal adaptor. If that's the case, I have a brick.
In the meantime, I'm going to shut this down while it still has some charge left so I can get files off it.