One thing worth trying is getting the (if applicable) mag safe charging port replaced. Generally a cheap way to start a diagnosis.
open