Removed the solution after seeing more information on this when searching…
Lineage apparently has this as mentioned here with a user complaining that it was not working for them.
Following the path mentioned in a comment there I found the setting on my phone in /e/OS:
so theoretically it should be working. So now I’m wondering what it is that Lineage did that fixed the issue for the user in that thread, since they said there would be a fix in the next nightly six months ago.