Open Cycle Maps is free, so either zoom into the area you’re interested in to cache it, or save the map tiles down as an offline map.
I use my phone all the time for nav on the bike, mounted on the stem, and with wifi and mobile data switched off, get more than enough hours out of it (ie after 6 hours, still have 30%-40% battery).
Just need to use it as you would a paper map – ie check it every so often, rather than using it as a proxy for turn by turn nav. It’s the screen which uses most of the battery normally, so as long as you set it up to switch off after 30 seconds, job’s a good-un.
If I’m even the slightest bit worried about battery life, can turn on aeroplane mode but still maintain GPS reception. GPS on it’s own drains battery very little in my experience.