Observe Signs of Energy Leaks
When testing and debugging your app, watch for these signs of excessive energy use:
Battery drain
Activity when you expect your app to be idle
An unresponsive or slow user interface
Large amounts of work on the main thread
High use of animations
High use of view opacity
Swapping
Memory stalls and cache misses
Memory warnings
Lock contention
Excessive context switches
Excessive use of timers
Excessive drawing to screen
Excessive or repeated small disk I/O
High-overhead communication, such as network activity with small packets and buffers
Preventing device sleep
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2016-09-13