Does Battery Usage metrics include active VPN tunnel statistics?

Hi, we have an iOS VPN app that uses NEPacketTunnelProvider. One of the Metrics that we track in XCode Organizer is Battery Usage (On-Screen Battery Usage, Background Battery Usage).

Could you clarify:

  • Does Battery Usage statistics in XCode combine app's and active tunnel's battery usage or just the app's battery usage?

  • When the app is not active and not in background, but VPN tunnel is active, does this reflect in Battery Usage statistics per app versions?

Answered by Technology Evangelist in 799155022

The Battery Usage metric in Xcode organizer should include power attributed to your app extensions in addition to your app.

The Battery Usage metric in Xcode organizer should include power attributed to your app extensions in addition to your app.

Does Battery Usage metrics include active VPN tunnel statistics?
 
 
Q