public boolean isAutoTorchEnabled() {
        return autoTorchEnabled;
    }
Default to false.

@return true if the torch is automatically controlled based on ambient light.
zxing-android-embedded/src/com/journeyapps/barcodescanner/camera/CameraSettings.java