Let's say I'm running iOS 6.0.1 on an iPhone 4 and I want to get the temperature of the A4, are there any public APIs that will allow this? If not, can it be done on a jailbroken iPhone? I ride my motorcycle to work, and when it is below 30 degrees F the phone gets cold enough that the chemical reaction in the battery slows to the point that the phone shuts down. I would like to write an iPhone App (Shiver) that ramps up the GPU and CPU usage when the CPU cools to below a certain threshold (if the CPU is at 60 degrees F, it would be safe to assume that the battery is probably at 50 or less and quickly approaching the point at which it quits putting out enough power even though it has plenty of charge left). You'd turn on such an app when you are about to ride 20 miles or more in the cold, or ride your snow mobile for 20 miles or so. The app would run your battery down a lot faster, but 2 hours of functioning phone would be better than 25 minutes and then dead until you can warm it back up. If I had access to the temperature of the CPU I could ramp up the CPU usage only as much as necessary and only when necessary. The extra draw of voltage from the battery would also heat the battery directly in addition to heating it indirectly from the heat radiating off the CPU and GPU. Other question, is how much are background processes in iOS allowed to tax the CPU and can they make the GPU work hard with the screen locked and off?
closed as off topic by Daniel Lawson♦ Nov 29 '12 at 19:14
Questions on Ask Different are expected to relate to Apple hardware or software within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
You can use iStat (iTunes: https://itunes.apple.com/app/istat-sys-monitoring-battery/id303034517?mt=8), but it costs .99$, but it should show you the processor temperature