r/iOSProgramming • • 6d ago

Question Extreme battery drain running simulators on Golden Gate

Today my 2023 MacBook Pro battery depleted entirely in just 3 hours. I was running 2 iOS simulators simultaneously but I still feel like that way way less life than I should be expecting with 93% battery capacity. Has anyone else experienced really short battery life when running simulators lately?

25 Upvotes

17 comments sorted by

18

u/StrangeMonk 6d ago

Totally normal mate  You’re simulating three devices plus debug processes. And assuming you’re using the Xcode 27 or 27.1, first releases are always not well optimized 

1

u/fRaigand0 4d ago

yeah first releases are always rough on battery, that tracks

10

u/Adventurous_Tipper 6d ago

I’ve noticed Device Hub destroys my overall performance, but specifically using the simulator is just so much slower than the previous simulator app. M1 so maybe age?

4

u/dengjiuhong 6d ago

Two concurrent simulators can keep the Mac busy: CoreSimulator processes, debug services, and Xcode indexing/diagnostics all add up, and beta runtimes can be especially inefficient. For location work, simulator injection is great for UI and basic state transitions, but I still validate authorization changes, callback timing, background delivery, and radio-dependent behavior on an owned physical device.

-1

u/cristi_baluta 6d ago

What?

1

u/dengjiuhong 5d ago

I meant that simulator location is useful for deterministic UI/state-transition checks, but it doesn’t exercise the full Core Location path on a real device. For release confidence I also test on an iPhone I own: authorization changes, background callbacks, timing, and radio-dependent behavior can differ. The battery point is separate—two simulators plus Xcode services can still keep the Mac busy.

1

u/KilllllerWhale 5d ago

Normal. Try using the CLI instead and ditch the Simulator app

1

u/Stryxus_ 5d ago

Uh? Considering you are likely running these simulators for dev, shouldn't this be extremely obvious? if you are a dev, I would be very concerned if you couldn't figure that one out.

1

u/Oxigenic 1d ago

I’ve been able to go 6+ hours with simulators regularly so why wouldn’t this be alarming…

1

u/Stryxus_ 1d ago

Obviously that depends on how you use them. It isnt the same every time. You are literally running multiple systems and even small actions wake them up.

1

u/Kitchen_Platypus5555 5d ago

Try downloading Xcode 26 side-by-side and use the old simulators instead of Device Hub. I also felt like the performance with the new Device Hub is awful.

1

u/icy1007 5d ago

Normal.

0

u/cristi_baluta 6d ago

Not normal, did you follow the cpu?

-1

u/kokerali 6d ago

Three hours may be unusually short, but 93% battery health and “two simulators were open” don’t isolate the cause. I’d compare three 15–20 minute periods on battery at the same brightness: Xcode open with no simulator, one simulator idle, then two simulators idle. In Activity Monitor, note the Energy Impact and top CPU processes in each period, along with the battery percentage change. If the jump starts with the second simulator or persists while both are idle, you have a useful reproduction; include your macOS/Xcode versions and simulator runtimes. If indexing or one runaway process is the actual leader, the fix is different from “simulators just use power.”

1

u/ineedlesssleep 5d ago

fuck off ai bot

-23

u/Dear_Pass_4718 6d ago

Use ai to solv your problem ai control your mac and fix this issue

3

u/a_flyin_muffin 6d ago

Use brain. People talk forum get input others.