I have reviewed the material relating to the location, only I need the latitude and longitude, I have seen that the GPS library is the best way to go, but I doubt about the battery life.
Other libraries seem confusing to me what I need, and there is a lot of material about the subject, but I have not found the way to go.
Can you help me what is the right way to get the location without much pain?
Change the interval and the PRIORITY to a lower level.
Also, if you don't need really high precision, you can also change your Android location settings to "Battery save". It will make use of wifi and phone cells where available to get location