Receive data from linear potentiometer?

It sounds like you are not connecting the wiper to the analogue input but to one of the rails. Then when you are at one end you have the whole supply across a very small resistor and you are drawing a lot of current. Check again the data sheet and make sure both ends of the pot are connected across the supply not the wiper.