it ask add to main screen so i did thinking i could uninstall it if i didn't like it but its not a installed app it was attached to google play services which can't be removed. Nearby drains your battery and data and i want it gone
Welcome to the forums. If it was put on the home screen, you can remove it by longpressing the icon, but that won't uninstall the service. It's possible that it is a function of Maps and needs high accuracy on, which can cause a higher than normal battery drain. You can turn off high accuracy in setting>location.
Get it off my f@.!:/=g phone ASAP please. I'm sure someone has already figured out how to make a mainstream hack and my psycho ex girlfriend will be stalking my every move within hours. I can't stand apps that can be hacked and follow people, yet aren't removable. Its crap. I'm going boycott Androids forever after this of it doesn't get fixed. F$'&8! GOOGLE!
Go to Settings> Google > (scroll down) to Location > App level permissions. Now slide off Action services. This may also turn off some other services too(not sure), and this process is for Android Oreo.