|There may be some issue with connector or how the power management is working.|
You may find clues in event logs.
Might boot to bios and watch any health numbers when you attempt the ac.
Might be other programs to monitor laptop voltages or temps.
"The era of big government is over," said Clinton 1996