When my touchbar is sleeping (watching netflix etc) it will flash the rectangle a couple of times, wait a while, and repeat. I have BetterTouchBar installed, but uninstalled it and the same happens.
Any ideas? Is this an issue to go to Apple with? Macbook Pro 2018