BatteryTest is an iOS application developed with Swift to measure the battery impact of individual hardware sensors of iPhones.
For cleanest results, we recommend installing BatteryTest on a freshly factory-reset device running iOS 16.6 or newer. Battery reporting has changed in iOS 18, so you might see 5% intervals being logged. We recommend following our riguous hardware & software protocol to ensure reproducibility of results and minimal background interference. Select a sensor and set configuration parameters accordingly. You can prematurely end an experiment by long-pressing for 5 seconds on the black screen.
Smartphone Sensor Battery Consumption: A Standardized and Reproducible Test Protocol F. Schweizer, J. Yu, E. Mille, L.M. Reimer, M. Kapsecker, J. Klinker, S.M. Jonas DOI: TBD
If you use this software for academic work, please cite the paper above.
If you use this software, please cite TBD:
@article{schweizer2026sensorbattery, author = {...}, title = {...}, journal = {...}, year = {...}, doi = {...} }
This software is licensed under the MIT license. Reuse is actively encouraged. We recommend following the software & hardware protocol presented in the above publication.