Macbook pro keeps charging and stopping every few seconds
Tonight, for no reason at all, my Macbook charge kept switching on and off (e.g. the charging light kept going off and on every few minutes), and the charging kept going on and off.
I used the same charger that came with the machine, the same electrical outlet I always use (and tried a different one), and the same devices attached that always are.
I have unattached all devices and rebooted, but I have the same issue.
Any ideas?
(Macbook Pro M2 Max)
MacBook Pro (M2 Max, 2023)