A long time ago, before the notch came along to adorn the top of their displays, Apple’s iPhones had the ability to show battery percentage in the status bar. When enabled, you’d see the battery icon showing you, roughly, the current state of your device’s battery charge, and next to it was the exact percentage you have left.
With the iPhone X, Apple killed this feature, presumably as the status bar got significantly smaller with the advent of the notch. You could still see the battery percentage, but you had to swipe down from the upper right corner for it to show up.