onPosition is never called

I am trying to develop a simple app that displays my the location accuracy on the watch. I am using the example in the API docs and I am displaying the accuracy on the watch on the onUpdate function. However, the accuracy displayed is always Null. Any idea why?

var accuracy
Position.enableLocationEvents(Position.LOCATION_ONE_SHOT, method(:onPosition));
function onPosition(info) {
    accuracy = info.accuracy;
}