Discussion: Energy Profiler\n\nFor more info see Ep. 104, Power Struggles\n\n\nApple really wants us to be good citizens of the battery.\nApps that quickly drain the battery will be shunned by users\n\n\nRemember the Facebook background audio \u201cbug\u201d (some say ploy to allow the fb app to stay alive in background)\n\n\n\u201cApp as patient\u201d metaphor\niOS Energy Gauge / Energy Report\n\n\nprovides a high-level overview of energy usage as you test your app\n\n\nEnergy logging on phone\n\n\nGood for long periods of data collection\n\n\nEnergy Instrument\n\n\nfor best results, target an iOS device wirelessly (I wasn\u2019t able to get this working because you need Bonjour and multicast enabled on your wireless network access point)\n20 / 20 is bad, 1 / 20 is good\n\n\nEnergy experts at Apple recommend\n\n\nDo it never (Do it less)\nDo it later\n\n\nUse the background activity scheduler APIs\n\n\nDo it more efficiently\n\n\n\n\n\nPicks\n\nJohn\n\n\nThis Week in Swift from Natasha the Robot