Testing AI Apps on Real Devices: Thermals, Battery and Fragmentation
On-device AI behaves differently on real phones than in the lab. How to test thermals, battery drain and device fragmentation before your users find the problems first.

AI apps are easy to demo and hard to ship. On a developer's desk, with a flagship phone plugged into power and a cool room, a model runs fast, the output looks great, and everything feels done. Then real users open the app on a three-year-old phone on a hot train, run the same feature for the fifth time in a row, and watch it slow down, heat up and drain the battery. The gap between the demo and the real world is where on-device AI apps live or die, and the only way to close it is testing on real devices.
LLM Hub Studio is an Australian software studio specialising in on-device AI app development: private, offline-first AI that runs on phones, laptops, browsers and edge hardware. We ship two apps ourselves — LLM Hub, with 15+ AI models running entirely on the phone, and OpenSleep, a phone-only sleep tracker with an on-device AI sleep coach. Both live on the App Store and Google Play. This article is a practical guide to the testing we do before a feature reaches users, written for teams building AI features that run on the device rather than on a server.
Why simulators and emulators lie to you
Simulators and emulators are useful for layout, navigation and logic. They are misleading for AI. A simulator runs on your Mac or PC, with a desktop processor, active cooling, mains power and gigabytes of spare memory. A real phone has a small chip in a sealed glass slab, a battery, and a thermal budget measured in minutes.
That difference shows up in three ways that matter for AI features:
- Speed on the first run is not speed on the tenth run. A model may generate text quickly when the chip is cold, then slow dramatically once the phone warms up. If you only ever test a single prompt, you will never see it.
- Battery cost is invisible on a plugged-in device. A feature that feels free on a desk can be the single biggest battery drain in the app on a real phone.
- Hardware variation does not exist on a simulator. Your simulator is one device. Your users own hundreds of different ones.
None of this is a reason to abandon simulators. It is a reason to treat them as the first step, not the last one. The real test happens on hardware your users actually carry.
Thermals: the test that changes everything
Thermal throttling is the single most underestimated problem in on-device AI. A phone processor can run at full speed for a short burst, then the system slows it down to keep the chip within safe temperatures. Sustained AI work — generating a long reply, rendering an image, transcribing minutes of audio — is exactly the kind of sustained load that triggers it.
The practical effect is that performance is time-dependent. The first image generation in a session might take five seconds. The fifth, on the same phone, in the same session, might take twelve. The tenth might take twenty, with the phone noticeably warm in the hand. If you test only the first run, your performance numbers are fiction.
How to test for it:
- Run long sessions, not single prompts. Test a feature the way a real user uses it: several generations in a row, a long chat, a full transcription. Measure the first, fifth and tenth run, and record how the numbers change.
- Test in realistic conditions. A phone on a desk in an air-conditioned office stays cool. A phone in a pocket, in a car, or in summer heat does not. Run your thermal tests at room temperature and above, and with the phone in a case if your users wear one.
- Watch the frame rate and the UI, not just the model. Throttling does not only slow the model. It slows the whole phone. If the UI stutters while a generation is running, users will blame the app, not the chip.
- Set a heat budget for each feature. Decide in advance how warm the phone is allowed to get and how much a feature is allowed to slow down. If a feature cannot stay inside that budget on your target devices, it needs a smaller model, a shorter generation, or a different approach.
This is not a problem you can solve once. Every new model and every new device changes the thermal picture, so thermal testing has to be part of every release cycle.
Battery: measure it like a user would
Battery drain is the complaint users notice first and forgive least. An app that drains 20% of a battery in ten minutes will be uninstalled, however good its output is. And because AI work is among the most power-hungry things a phone can do, battery testing deserves the same rigour as functional testing.
A practical approach:
- Test unplugged, from a full charge. Start at 100%, run the feature for a fixed time — say, ten minutes of continuous use — and record the percentage used. Repeat on the same device to check consistency.
- Measure per feature, not per app. Users do not experience "the app's battery use". They experience chat draining the battery, or image generation draining the battery. Attribute drain to the feature that caused it, so you know what to fix.
- Compare against the job, not against zero. Every feature costs battery. The question is whether the cost is reasonable for what the user gets. A transcription feature that uses 5% for ten minutes of audio is a different conversation from a chat reply that uses 5%.
- Watch background drain too. An AI feature that keeps a model loaded in memory after the user leaves the screen will keep costing battery. Unload models when they are not needed.
- Test the low-battery state. Phones behave differently below 20%: low-power modes kick in, background work is restricted, and some accelerators are throttled. Test your AI features in that state, because that is when users are most likely to be annoyed by a failure.
Be honest about the results. If a feature is heavy, say so in the app — a note that image generation uses more battery, or a setting that lets users choose a lighter model. Users accept trade-offs they understand. They do not accept surprises.
Fragmentation: the device matrix is the product
Android fragmentation is famous, but the problem is wider than Android. Even within a single platform, phones differ in chips, memory, cooling, operating system version and AI accelerators. An app that runs well on a current flagship can be slow, unstable or simply unable to load a model on a mid-range phone from two years ago — and that mid-range phone may be the device most of your users own.
LLM Hub runs its models across CPU, GPU and NPU, which means the same feature can take three different paths through the hardware, each with its own speed, heat and battery profile. That is the reality for any on-device AI app that wants to reach more than the newest phones: you are not shipping one app, you are shipping one app across a matrix of hardware.
Building a test matrix that works:
- Cover the range, not just the top. At minimum: a recent flagship, a mid-range phone from two or three years ago, and the lowest-spec device you claim to support. If you support a device, you must test on it.
- Test each compute path separately. A model that is fast on the NPU may be unusably slow on the CPU of an older phone. If you support CPU, GPU and NPU paths, each one needs its own test pass on each device class.
- Test with realistic memory pressure. Users do not run your app alone. They run it alongside messaging apps, a browser with a dozen tabs, and a music player. Test with other apps open, and with the phone low on free storage, because that is the normal state of a real phone.
- Test OS versions, not just devices. An OS update can change how accelerators are exposed, how background work is scheduled, or how much memory an app is allowed to use. Test on the oldest OS version you support as well as the newest.
- Keep a device library, even a small one. You do not need a hundred phones. A shelf of six to ten devices covering your real user base — different brands, ages and price points — catches the majority of fragmentation problems. Buy them second-hand if you have to; a used phone that matches your users' hardware is worth more than a new flagship that does not.
The most common fragmentation failure is not a crash. It is a feature that works, but so slowly that users assume it is broken. A chat reply that takes thirty seconds on an older phone is a bug, even if the code is correct. The fix is usually a smaller model for that device or an honest message that the feature needs newer hardware.
What to do when a device cannot keep up
No app runs well on every phone. The question is what happens on the phones where it does not. The worst outcome is a silent failure: a freeze, a crash, or a generation that never finishes. The best outcome is a graceful one.
A few patterns that work:
- Detect capability before you run. Check the device's memory, chip and accelerator support, and choose the model size that fits. Do this at first launch, not mid-generation.
- Offer a lighter path. Where a smaller model or a reduced-quality mode exists, offer it automatically on weaker devices, and let the user switch back if they prefer quality over speed.
- Say what is happening. A short, plain message — "switching to the lighter model for this device" or "this model needs a newer phone" — keeps users far happier than a spinner that never ends.
- Never fake it. If a feature cannot run on a device, do not pretend it can by quietly sending the work to a server. For an app that promises on-device processing, that would break the promise the user chose the app for.
A testing checklist for every release
Before a release that touches an AI feature, run through this list on real hardware:
- Long sessions: run each AI feature repeatedly for at least ten minutes on each test device, and record the first, fifth and tenth run times.
- Battery: measure drain per feature from a full charge, unplugged, for a fixed duration.
- Heat: note when the phone gets warm, and whether performance drops as it does.
- Low-spec device: run the full feature set on the weakest supported device, with other apps open.
- Low battery: repeat the key features below 20% charge, with low-power mode on.
- Offline: test every AI feature with connectivity off, because an on-device feature that secretly needs a network is a broken promise.
- Memory pressure: load a large model, then switch to another app and back, and confirm the model is still usable and the app has not been killed.
- OS range: run the same pass on the oldest supported OS version as well as the newest.
None of this is glamorous work. It is slow, repetitive and device-heavy. It is also the difference between an AI app users trust and one they delete after a week. The model is only half the product. The other half is how it behaves on the phone in someone's hand, on a hot day, with 18% battery left.
If you are building an AI app and want help with the on-device side — model choice, device coverage, or the testing setup — LLM Hub Studio does this work for clients as well as for our own apps. You can reach us at timmy@llmhub.com.au.
Questions
Why do AI apps need testing on real devices instead of emulators?
Emulators and simulators run on desktop hardware with unlimited cooling and power, so they hide the three problems that matter most for on-device AI: thermal throttling, battery drain and hardware variation. A model that generates text at full speed for ten minutes on a simulator may slow to a crawl on a real phone once the chip heats up. Only a physical device shows you that.
What is thermal throttling and how does it affect AI apps?
Thermal throttling is the phone reducing its chip speed to stop overheating. Sustained AI work — generating text, images or audio — heats the processor, and after a few minutes the system slows it down to protect the hardware. The same prompt can take twice as long on the fifth run as on the first. Test AI features in long, repeated sessions on real hardware, not just single runs.
How much battery should an on-device AI feature use?
There is no single acceptable number — it depends on the task, the model and the device. What matters is measuring it honestly and setting expectations: run the feature for a fixed time on a charged device, record the percentage used, and compare it against what users will tolerate for that job. A feature that drains 20% of a battery in ten minutes will get uninstalled, however good its output is.
How many devices do you need to test an on-device AI app?
More than feels comfortable. Phones differ in chips, memory, cooling, operating system version and AI accelerators, and an app that runs well on one phone can be slow or unstable on another. Cover the range your users actually own: a recent flagship, a mid-range phone from two or three years ago, and the lowest-spec device you claim to support. LLM Hub, for example, runs its models across CPU, GPU and NPU on phones of very different ages and capabilities.
What is the difference between CPU, GPU and NPU testing?
The same model can run on the phone's CPU, GPU or neural processing unit (NPU), and each path behaves differently: speed, heat, battery use and even which model sizes fit in memory. Test each path you support separately, on each device class you support, because a model that is fast on the NPU may be unusably slow on the CPU of an older phone.
How should an AI app handle a device that cannot run a feature well?
Gracefully and honestly. Detect the device's capability, offer a smaller model or a reduced-quality mode where one exists, and tell the user what is happening instead of letting the app freeze or crash. A clear message — 'this model needs a newer device' or 'switching to the lighter model' — keeps users far happier than a silent failure.
LLM Hub 

