My laptop will only charge when I hold the charger in. I have purchased a brand new battery thinking that would solve the problem. Could it be something wrong with the socket adapter is plugged into. Once I stop holding adapter in the computer will stay on for 2 seconds to ten minutes depending on how hard I type.