The motion activated ones go off when you move a little, not when you stand up. I've had them go off twice while trying to go, then not go off when he was finally done. It is not pleasant to have a toilet flush under you.
If there is anything to hang it from, a long strip of toilet tissue, hung down in front of the sensor eye, generally prevents this effect of premature flushing.