Clear Filters
Clear Filters

MATLAB Mobile accelerometer data collection - recording stops at random intervals.

1 view (last 30 days)
Hello,
I am trying to record acceleration values during a half hour walk using MATLAB Mobile and an Android phone (Samsung Galaxy S20 FE). I start recording from the app, then lock the screen and keep the phone in my pocket. The recording starts normally, continues for a few minutes, then there is no data collection in any axes for a few minutes, then the recording starts again without any input from me. Is there any way I can have a continuous recording for 10-15 minutes?
I am using MATLAB 2022a and have tried this with both Android and iOS phones with similar results. You can see in the timetable that timestamps jump a few minutes.
I am adding an example plot for X-axis and the related timetable. Any help would be much appreciated.

Answers (1)

Shivam Malviya
Shivam Malviya on 18 May 2023
Hi Meryem,
I understand that you are using MATLAB Mobile to record acceleration values during a walk using your Android phone. However, the recording stops and starts at random intervals, resulting in missing data.
One possible reason is that your device’s power-saving mode or battery optimization settings are interfering with the app’s background activity. I recommend disabling these settings for MATLAB Mobile and monitoring if the issue persists.
Regards,
Shivam
  1 Comment
Meryem Sahin
Meryem Sahin on 22 May 2023
Hello Shivam,
Thanks for your answer. I have disabled all power saving options and CPU limits in my phone, after I posted the question. I also specified to never put MATLAB Mobile to sleep even when it is in the background. I can say the frequency of the missing data decreased but out of every 3-4 recordings of a few minutes, I still get one recording with missing data.
Any additional input would be much appreciated.
Best,
Meryem

Sign in to comment.

Categories

Find more on MATLAB Mobile in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!