LED table lamp eye protection sensor