Fix sleep issue after using GPS