After enabling Allow background activity, no restrictions or optimizations are performed on the background activity of the app, which may lead to increased power consumption.
Setting method:
realme UI 6.0: Settings > Battery > Power saving settings > App battery management > Corresponding App > Allow Background Activity
realme UI 5.0 & 4.0: Settings > Battery > More settings > App battery management > Corresponding App > Allow Background Activity
realme UI 3.0 & 2.0 & 1.0: Settings > Battery > Battery usage > Corresponding App > Allow Background Activity
realme UI R & Go & S & T & U Edition: Settings > Battery > Battery usage > Corresponding App > Unrestricted
Related Articles:
How to lock applications in the background?
How to disable apps from running in the background