Open the panel and every program is ranked by how much power it draws right now. The screen sits in the same list, so the numbers add up to the whole Mac. On battery it shows how much is left and a time estimate that mixes the last five minutes with your usual pace.
Seven rules watch in the background. When a program gets stuck, or something draws four times its normal for the week, a notice pops up with a Quit it button, and it clears itself when the cause goes away. You can look back over any stretch from an hour to seven days to see what used the power, and a condition page says how the battery itself is holding up.