It could be your charger or your AC Jack where your power cord plugs into computer. I have a Gateway, and the jack is the problem. It only cost about $15 if you do it yourself. Probably $100 plus if shop repair.
Sorry, I meant DC jack. Edison/Tesla, I get confused.