Is there a way to create a routine that would drop the screen lighting

… when the battery level reaches 5%.

I had that in my old Galaxy A14 and I’m missing it in my CMF by Nothing Phone 1.

Thank you for your help.

Regain your privacy! Adopt /e/OS the deGoogled mobile OS and online services

Yes you can configure the battery saver mode.

How ? There’s nothing there that allows that. Just pop up a notification when the battery drops to 10 %.
It doesn’t act on the screen light level.

I think battery saver will vary a bit by device, this image shows what it does on my phone.

Settings > Battery > Battery saver

That’s what it does on mine too.