Frequently asked detail questions about smartphone studies
Most data gaps in smartphone studies have known causes: operating systems suspend apps in the background, notifications are not allowed, devices are offline or get replaced. If you settle these cases in advance and mark them in the data, you can explain and report the gaps.
Updated on
Why do study apps not run continuously in the background?
Both operating systems save power by restricting apps in the background. iOS suspends most apps shortly after they move to the background. A suspended app does not run and receives no location updates until the system wakes it again (Apple, Core Location). In PULSE, recording stops when participants swipe the app away, until they open it again.
Android enters Doze when the device lies still for a longer time with the screen off and is not charging. Network access and jobs are then deferred to maintenance windows, and Wi-Fi scans are not performed (Android Developers, Doze). On top of that comes the battery optimisation of some manufacturers, which stop background apps under their own rules (dontkillmyapp.com). Which platform has more gaps depends on the sensor: an analysis of six studies with 211 participants found less missing GPS data on iPhones than on Android devices (Kiang et al., 2021). On Android, the PULSE Research App runs as a service with a permanent notification and shows a note on the battery settings on affected devices, but it cannot check whether the note has been followed.
How much does a study app drain the battery?
That depends on the data types and the intervals. In a feasibility study with Bluetooth, location and battery status, battery life fell from 21.3 to 18.8 hours when scanning every five minutes, a reduction of 12%. Despite this rather small difference, most participants reported that the app had a noticeable effect on their battery (Boonstra et al., 2018). Mention the point in the participant information for that reason, and activate only data types your research question needs. In PULSE, distance-based location is gentler on the battery than time-based location; reliable percentages cannot be given because devices differ.
Why do notifications not arrive?
| Cause | Platform | What helps |
|---|---|---|
| Notifications not allowed | both; from Android 13 off for newly installed apps until the person agrees | Explain during setup, check in the device settings |
| Focus or 'Do Not Disturb' active | both | Allow the study app in the Focus or adjust the time windows |
| Doze or the manufacturer's battery optimisation | Android | Exempt the app from battery optimisation |
| Person is not signed in to the app | both | Open the app and sign in |
The statement on Android 13 comes from the Android documentation (Android Developers, Notification runtime permission). In PULSE, open tasks are listed in the app even without a notification, a reminder can be set per task, and missed scheduled tasks count towards the task completion rate regardless of the notification.
What happens when someone changes device during the study?
A new device means new permissions, often different sensors and sometimes a different operating system. Record the change in the data and check whether features before and after are comparable. In PULSE, participants change device with a transfer code that they generate in the app or that you generate in the admin panel. The new device receives a new pseudonymous identifier that is linked to the old one. Study duration and task completion rate carry on. Permissions and setup are completed again, and data the old device has not uploaded are missing. The export contains the link between the identifiers.
How does a study deal with time zones and travel?
Decide whether prompts should follow local time, and store every timestamp in a way that allows local time to be reconstructed. In your analysis script, check the days with clock changes and travel: days can be shorter or longer there, and prompts lie closer together or further apart. In PULSE, the times in the schedules apply in the participants' local time. Timestamps in the export are in UTC, with the time offset per record, and the period filter of the export works in UTC.
What happens when the smartphone is offline?
Sensor data can be buffered on the device, while surveys need a connection depending on the app. When planning, ask how long your target group is typically without a network, for example when travelling or on a limited data allowance. In PULSE, data stay encrypted on the device until they are transferred and are deleted only after a successful upload. The app catches up after shorter offline periods; after very long breaks the oldest data are lost because storage is limited. A task cannot be started without a connection.
Do old devices and operating system versions work?
Every app has a minimum operating system version, and behaviour changes between versions. Doze has applied since Android 6.0, the notification permission since Android 13 (Android Developers). Record operating system version and device model as variables, and state the minimum requirements as early as recruitment. The PULSE Research App requires an iPhone with iOS 17.6 or later or an Android smartphone with Android 8.0 or later. iPads and tablets are not supported.
What about participants without a smartphone of their own?
Anyone without a suitable smartphone drops out of the sample, and this does not happen at random. In a German population sample, smartphone ownership and operating system were related to sociodemographic and substantive variables. Weighting reduced these differences but did not eliminate them (Keusch et al., 2023).
- Loan devices close the gap for surveys, but they cost money and support time
- Sensing data from a loan device reflect habitual smartphone use only if the person uses it as their main device
- Report how many people could not take part because of device or operating system
Frequently asked questions
Why is sensor data missing in smartphone studies?
Mostly because the operating system suspends or stops the app in the background, a permission is missing, the app was swiped away or the device was offline for a long time. On Android, the battery optimisation of individual manufacturers adds to this.
Does a research app use a lot of battery?
That depends on data types and intervals. In a feasibility study, battery life fell by 12% when scanning every five minutes, from 21.3 to 18.8 hours (Boonstra et al., 2018).
Why do some participants receive no notifications?
Often notifications are not allowed, a Focus or 'Do Not Disturb' is active, or battery optimisation on Android holds the app back. From Android 13, notifications of newly installed apps are off until the person agrees.
Can participants change phone during the study?
Yes, if the platform provides for it. Permissions have to be granted again on the new device, and the change should be visible in the data so that you can compare features before and after.
Are data lost when the smartphone is offline?
A buffer on the device bridges shorter offline periods. After very long breaks the storage can fill up, and the oldest data are then lost.
Can someone take part in a smartphone study with a tablet?
That depends on the app. The PULSE Research App supports iPhones and Android smartphones, not iPads or tablets.
With PULSE
The PULSE Research App records data to the extent that iOS and Android permit, and it makes the limits visible: in the admin panel you see status, last transfer and task completion rate per person, as well as failed transfers and app logs for troubleshooting. However, PULSE does not warn you by itself when a device stops sending data, so checking regularly remains your task. The pre-processed export contains coverage values, for example for location and steps, and the battery module helps to identify gaps caused by empty batteries. For device changes there is a transfer code that carries study duration and completion rate forward. As participants are pseudonymous, you can reach them only through contact details that you keep yourself alongside the identifiers.
Further reading
Sources
- Apple Inc. (n.d.). Handling location updates in the background. Apple Developer Documentation, Core Location. https://developer.apple.com/documentation/corelocation/handling-location-updates-in-the-background
- Android Developers (n.d.). Optimize for Doze and App Standby. Google. https://developer.android.com/training/monitoring-device-state/doze-standby
- Android Developers (n.d.). Notification runtime permission. Google. https://developer.android.com/develop/ui/views/notifications/notification-permission
- Don't kill my app! (n.d.). Urbandroid Team. https://dontkillmyapp.com/
- Boonstra, T. W., Nicholas, J., Wong, Q. J., Shaw, F., Townsend, S., & Christensen, H. (2018). Using mobile phone sensor technology for mental health research: Integrated analysis to identify hidden challenges and potential solutions. Journal of Medical Internet Research, 20(7), e10131. https://doi.org/10.2196/10131
- Kiang, M. V., Chen, J. T., Krieger, N., Buckee, C. O., Alexander, M. J., Baker, J. T., Buckner, R. L., Coombs, G., Rich-Edwards, J. W., Carlson, K. W., & Onnela, J.-P. (2021). Sociodemographic characteristics of missing data in digital phenotyping. Scientific Reports, 11, 15408. https://doi.org/10.1038/s41598-021-94516-7
- Keusch, F., Bähr, S., Haas, G.-C., Kreuter, F., & Trappmann, M. (2023). Coverage error in data collection combining mobile surveys with passive measurement using apps: Data from a German national survey. Sociological Methods & Research, 52(2), 841-878. https://doi.org/10.1177/0049124120914924