Low-light conditions detection