backport light sensor code from old kernel base