@jwosnick
Very strange as in my case this library work well with sleep() on battery-powered node.
Look like it's nessesary to add delay(2000); before or after sleep() as sleep mode stops all timers, so
currenttime - _lastreadtime =0
and function returns with no new measurements.