In order to use the camera light while scanning the barcodes, just turn it on in scanning mode by tapping the "flashlight" icon.