Screen keeps flickering on lower brightness

Since I replaced the mainboard with the AI 340, the laptop’s built-in screen has sometimes flickered. The problem has gone away after a few minutes.