Chosen Solution
Powers on intermittently but powers off by itself. Confirmed good battery and A/C power supply. Switch, motherboard?
Check the internal battery contacts and clean with qtip and alcohol…I have cured a similar problem because oil contaminated the contacts.