Patent attributes
This document describes systems and directed at rejecting display leakage light in under-display sensors. In aspects, an ambient light sensor of an electronic device rejects leakage light originating from pixels in a display using a look-up table and an ambient light calculating formula. In implementations, the look-up table is developed based on a variety of operating conditions that the electronic device may experience, including variable refresh rates and display luminosities. The look-up table includes pre-calculated values of a leakage light ratio, for given operating conditions, that can be used to reject leakage light originating from displays by computing the ambient light calculating formula.