I used an app named Activity Launcher and found under SystemUI an activity called System UI demo mode(com.android.systemui.DemoMode).
There it has three categories; status bar, Do Not Disturb and Ambient Display
Under Ambient Display there is an Always On toggle. After setting this to on and powering off the screen the Pixel Ambient Display shows of but only for a few seconds. After that it blinks for a few times before it goes completely off. If you trigger the Ambient Display with the proximity sensor it does the same routine. Why is this happening? Is there a way to fix that blinking?
There it has three categories; status bar, Do Not Disturb and Ambient Display
Under Ambient Display there is an Always On toggle. After setting this to on and powering off the screen the Pixel Ambient Display shows of but only for a few seconds. After that it blinks for a few times before it goes completely off. If you trigger the Ambient Display with the proximity sensor it does the same routine. Why is this happening? Is there a way to fix that blinking?