You can go to Settings--Battery--Power consumption ranking to view the ratio of the power consumption of each app to the total power consumption of the phone.
Note: Currently, only some models support this feature.

Is this helpful?