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 usage – Allow background usage (*Not the toggle button, but the left-side area).  Then, Allow background usage: ON and select Unrestricted, to exclude from battery optimisation.
‘

