You can view your battery level and usage for the past 24 hours or the past few days. Battery usage is broken down by app and can be viewed as a percentage or time.
Apple provides totals for 'Avg. Screen On Usage' and 'Avg. Screen Off Usage'. Developers can check out the new Battery menu from the Settings app.
Click here to learn more about what's new in iOS 12 and please follow iClarified on Twitter, Facebook, Google+, or RSS for updates.