You can customize the battery style.
Path:
realme UI 3.0 & above versions: Settings > Notification & Status Bar > Status Bar > Battery Style.
realme UI 2.0 & 1.0: Not supported
realme UI R & T & S & Go Edition: Not supported
Related Articles:
How to set the battery percentage?
Battery charging and maintenance tips