I think my question will be useful for others. I have battery drain issue and want to find out where it is.
I use xcode instruments: Enter profile then Energy Diagnostics, but I see nothing in energy usage section.
How can I enable information in Energy Usage section?
Energy profiling is a bit more tricky. You need to:
Now you'll see the energy usage statistics.
You can also try to log the power consumption programatically.
Several ways of doing this can be found in the BatteryChart project: https://github.com/nst/BatteryChart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With