On Android 15, how to exclude from battery optimisation?

On Android 15, the settings for excluding apps from battery optimisation have changed.

Open App Info of FRep2, from Android Settings or by tapping App info button at bottom-right of FRep2 Setup. Choose App battery usageAllow background usage (*Not the toggle button, but the left-side area). Then, Allow background usage: ON and select Unrestricted, to exclude from battery optimisation.