Added ambient light sensor API