Is your battery charge limit set below 100%? If so, welcome to the club. Kick it back up to 100 to enjoy stability while destroying your battery’s longevity: External display loses signal when charging via docking station
It happens on windows, linux, and FreeBSD so I suspect its a bug in framework’s firmware.