Patent ID: 11881135
Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 0:
1. A method for determining a screen light intensity value, applied to a terminal provided with a light sensor, the method comprising:
obtaining a screen light intensity detection value detected by the light sensor, and obtaining a current environment temperature when the light sensor detects the screen light intensity detection value;
determining a light intensity calibration coefficient corresponding to a value of the current environment temperature based on a corresponding relationship between a temperature and the light intensity calibration coefficient; and
determining the screen light intensity value of the terminal based on the determined light intensity calibration coefficient and the screen light intensity detection value,
wherein the light sensor comprises a plurality of sensing channels, and wherein for each sensing channel of the plurality of sensing channels, the corresponding relationship between the temperature and the light intensity calibration coefficient is determined based on:
determining a first screen light intensity detection value, the first screen light intensity detection value comprising a screen light intensity detection value collected by the light sensor at a reference environment temperature;
adjusting an environment temperature of the light sensor with a predetermined temperature adjustment step based on the reference environment temperature, and synchronously obtaining a second screen light intensity detection value collected by the light sensor at the adjusted temperature;
when an absolute value of a difference between the second screen light intensity detection value and the first screen light intensity detection value is greater than an error threshold, determining a first temperature corresponding to the second screen light intensity detection value; and
determining a ratio between the first screen light intensity detection value and the second screen light intensity detection value as a light intensity calibration coefficient corresponding to the first temperature.