There’s a setting for that. Just go to Settings > Display > Show charging information. Make sure the toggle switch is on.