Sounds like something is shorting. Sounds like the only recourse is to take it in and have it looked at. Depending on how old it is, is there still a warranty? Otherwise, it might be too expensive to fix as opposed to getting something newer, especially if it's an older laptop.
It could also just be a loose connection somewhere that needs to be reseated. Laptops are funny creatures at times, though.