Location rarely updates without persistent connection

I have location turned on on my android app and some automations tied to it. I’ve had persistent connnection set to always but it’s drained a lot of battery so I’ve decided set it to never. But now, location sends almost never, usually only sends if I load up the app manually. It has background access, unrestricted battery and data. I’ve tried to turn persistent connection back on and the locations started sending every minute again like they should.

Is this intended or am I doing something wrong?

edit: apparently custom roms dont support or limit google’s location tracking api so i just use owntracks now and it works flawlessly