TrainerDay in background Slows (Android 15 issue?)

I’ve been replicating this issue every day for the past 3 days. (not quite the same though, it isn’t an instant pause)

Phone: Samsung Galaxy S20 FE 5G

Workflow:

  1. Open Trainer Day on PC and launch a broadcast / live window
  2. Wake up trainer (Elite Direto XR-T)
  3. Open TrainerDay app on phone
  4. Start daily workout (from calendar)
  5. Swap to Firefox app on phone and watch a video (youtube, twitch, etc.)

First occurence (March 10th) 18 minutes and 20 seconds into workout.
Swap to TrainerDay app, it appears to have been completely closed/stopped as it loads on the ‘home’ page, press Continue at the bottom and finish workout.

Second occurence (March 11th) 17 minutes and 30 seconds into workout. Same as above.

Third occurence (March 12th) 15 minutes into workout. Same as above.

Fourth occurence (March 13th) 16 minutes and 50 seconds into workout and 36 minutes and 30 seconds into workout. Same as above (twice). This was with the ‘Lock this app’ option in the recent apps screen, no change in behaviour.

Fifth occurence (March 14th) 10 minutes and 44 seconds into workout and 30 minutes and 42 seconds into workout. Same as above (twice). This was with the app excluded from memory scan, no change in behaviour.

I can happily share my intervals.icu workouts, phone settings, do some testing, anything that can help with this issue. Just send me a dm.

P.S.: Battery is already set to ‘Unrestricted’ for the TrainerDay app

P.S.2: Might be due to this: Google Issue Tracker
Will try a few other optimizations as shown here next week Samsung | Don’t kill my app! . ← that didn’t work (confirmed during March 17th workout)

Let me talk to my developer and tester tomorrow on this. Strange.

Hello, I’m having a similar issue whereby if I switch to another screen on my phone, the erg just stays at the same resistance, then when I switch back the timer speeds up to catch up to ‘now’ but obviously mises out all the resistance changes it should have.
I don’t have battery saver on, and I’ve checked that I don’t have lots of apps open. I’ve got a pixel 6, not the newest but not really slow.
It seems to happen no matter what app I switch to.

If you have any more info on how to fix this I’d be really grateful

The good news is, I have a Pixel 6 also but I don’t test on Android my tester does and for him it works fine. Anyway, I just tried to do this and I get a problem as well but I am testing with emulator that has no RPM so I need to test more so I have a different issue. We will look at this but you could try plugging your phone in and see if that helps.

1 Like

Hello,
can you confirm that your power settings for TrainerDay is set to ‘Unrestricted’?
You can check that in Settings->Apps->TrainerDay->App battery usage

Br,
Marek

So I found my issue on my pixel. I had bad value in beep settings due to old version of our app. I fixed that (selected any value) and everything works correctly, no slow downs changes power target. One issue is I hear multiple beeps in foreground and single beep in background but the app works fine.

I have this setting on my pixel

Click on this word “Allow…” and it will show the same setting Marek showed.

Oh I saw the issue you saw too now. Let’s see if I can keep reproducing it.

UPDATE: Yes I can reproduce it regularly.

Look at this. Seems A15+Pixel 6 is a problem according to both gemini and chatGPT.

Thanks for this and @MarekM,

I’ve just looked and it’s already set to allow. I’ve checked all the permissions are there and unrestricted data on settings too.

Ah, maybe it’s just a pixel 6 issue.

ChatGPT gave a bunch of suggestions but seems none seem to help. I can see I have an A15 update. I will try it now.

Actually it seems to affect Pixel 7 and 8 as well, so just an Android 15 issue (Pixel users only). But since 7 and 8 devices are faster it might affect less users or none using our app.

Hi did you ever figure this out? I was on vacation so I could not test. What version of Android do you have?

It says here S20 should not be getting A15

Ok yes, we will keep investigating. I just did the Android 15 update but it did not help and tried everything I could find so it seems there is no quick fix, most likely needs to be an Android fix from Google.

1 Like

Yeah it very well might be an Android version-specific issue. I’m on Android 13 and the S20 will indeed not be updated to a newer version.

Thanks for checking it out though, might be time for a new phone soon :stuck_out_tongue:

I could check but my tester has S20 I think and A14 and it works fine but for sure if battery gets low, or you don’t have the background setting turned on for our app, or you have tons of stuff on your device slowing it does it could get bad with an older device… New phone is always a good idea… :slight_smile:

An update, my developer found some information that might help background mode on Android 15… So we have our fingers crossed. The good part is since we have an A15 / Pixel6 and can fully duplicate this issue we can fix that one. Maybe it will help A13-A14 also, hard to say at this point.