Is Xcode 16 a battery drainer?

I've got a 2023 M2 MacBook Pro and used to get great battery life out of it (> 6 hours when using it for development purposes).

Now however, all of a sudden, that has dropped off a cliff, and the only thing that has changed is Xcode 16 has appeared.

As I'm compiling a project I can literally see the % amount of the battery charge remaining tick down in front of my eyes as I watch. I just compiled a project twice and during that time the battery dropped from from %89 to %79 and Xcode is listed as a culprit using significant battery drain.

Anybody else noticed anything similar? Anything that can be done to to decrease Xcode's battery drain?

How long is it since you installed Xcode ?

Xcode may still be doing some tasks in the background to completely set up the environment. That mays last a couple of days.

I updated from 16 beta to 16 proper as soon as it was available. (I've also been having my battery issues for a couple of weeks).

Is Xcode 16 a battery drainer?
 
 
Q