kdjd2020: what that sensor does is adjust your screen display brightness and your keypad backlight brightness according to how light/dark it is...
i.e. in daytime, your keypad will not light up that much as it is not needed, but at night, in a totally dark room it will work at full power.
this saves some battery life in the end..