Touch process code stops voltage reference from working

i'm open to suggestion

Oh, good. Post ALL of your code. The code you posted does not actually call the touch() function. So, it's impossible to tell you what changes you need to make.

But, dealing with the menu AND showing battery status on the same device at the same time are mutually exclusive goals, unless getting the battery status happens in that endless loop function.