Adjust cutoff threshold

Also need to put new sleep code in so that it works properly.  LED
current was unstable with sleep code in place.