I've used gpslogger for a very long time (Currently for Traccar and a daily gpx to gdrive, but have used it for other things over the years), and it's possibly the most tweakable app of its type.
Settings, Performance is the place to adjust for battery life.
My settings are below, it's a fair balance for what I want. Basic rule is - fewer fixes and sends, the less battery is used. using the GPS uses battery, so does sending data somewhere. Reducing that frequency and the battery will last longer.
Log GPS locations - yes. Choose best accuracy in duration - yes Rest of toggles turned off.
Logging interval: 15s Distance 3m Accuracy filter 40m Duration to match 20s Absolute time to fix, 20s