Since my questions were never answer and no replies during the group lab, I'm posting them here:
-
When does vapor chamber cooling activate on the new iPhone 17 Pro devices? Does the system handle the cooling in those scenarios, can developer activate it?
-
Does volume level affect performance/battery? Can you discuss bluetooth connections to AirPods Pro 3/AirPods Pro Max and impact on battery?
-
Is there an API to detect thermal changes and what are UI changes that can reduce thermal impact when app is in background and foreground?
-
Whats the best way to profile Power usage and battery drain when an application is processing, working in background and multimodal?
Thank you.
Hi extraman, thanks for the question!
- Vapor chamber cooling is not something exposed to developers. Please feel free to file a feedback report describing your use case.
- Volume levels impact battery minimally if at all on the host device, however bluetooth connections can have a major impact. The primary way to minimize this impact is to close all bluetooth accessory connections when the app is not actively or imminently using them. Using AccessorySetupKit will automatically and efficiently manage this for your app.
- The primary way to detect thermal changes at runtime is through the
ProcessInfo.ThermalState, gracefully degrading the app's behavior by reducing or deferring background work in fair thermal state, then reducing or omitting foreground effort, such as reducing framerate, I/O, and level of detail in serious or critical thermal states. - Use the Power Profiler and performance traces and to measure power usage in development, trigger background tasks using debug only lldb hooks. Additionally use Xcode Organizer's energy reports and battery usage metrics to get insight into what your users are experiencing.