If the sensovalue is <150,
That's not what the code says.
Why don't you post your code and the serial output?