3

Map doesn't update on Android Auto when phone display is off


Avatar
Manfred Winter

I'm running ABRP 4.2.3 (905) on a Poco F3 with Android 12. Since my phone updated to Android 12 the screen has to remain on with ABRP running or the map doesn't update on Android Auto.

A

Activity Newest / Oldest

Avatar

Manuel_ABRP

Status changed to: In progress

S

Simon

Hello, when using the app to navigate through apple car play, the map rarely centers to where my car is. Usually, some location in Lund is the default view, and it doesn’t center to my car when I start driving. In the rare occasion it does center to my car, the map doesn’t follow as I start driving, leaving the navigation function quite useless. Can you pleas advise me if there is any setting I need to activate to make the app behave more like a “normal” navigation app? My car is a VW ID3 1st edition max.


Avatar

Samuel_ABRP

Carplay is a different issue, please open a seperate issue for that.


Avatar

Katya_ABRP

Merged with: Map doesn’t center to car, or follow car when driving

S

Simon

Ser picture


U

Juwi

When using Android Auto, very often (but not always) the map does not move after its first display.

After starting navigation, the map shows the car position and the planned route on the map. But when driving, the map stands still, and the car position indicator does not move either.

The car position indicator is always showing northbound, regardless of the direction where I drive or where the route goes to.

Sometimes the blue line for the planned route is also missing, but most of the time it is visible.

When I change to a different screen (e.g. the Android music player) and then return to the ABRP map, the map refreshes, but then freezes again with the same symptoms.

I can move the map manually though.

This happens both with a wired and a wireless AA connection.

Equipment:
* Xiaomi Mi 11 pro
* Android 12
* Skoda Enyaq


Avatar

Samuel_ABRP

Merged with: Android Auto map freezes

Avatar

Samuel_ABRP

Status changed to: Investigate

Avatar

Samuel_ABRP

Status changed to: User Feedback

Avatar

Samuel_ABRP

Hi, so even when the app is running and you switch off the display, it stops updating the map?


Avatar

Samuel_ABRP

Can you please check if it helps to set the battery optimizations to unrestricted or turn them off?


Avatar

Manfred Winter

Yes, if the app is running but the display is off the map freezes. There's also no difference between wired and wireless connection (with AAWireless). Battery optimization is set to unrestricted.
I guess it's problem with Android 12 as it worked before.


Avatar

Samuel_ABRP

We are currently running an experiment to try a different logic for those devices affected on Android 12. We have some other similar issues that are most likely related. If you want to join that experiment to help us testing different devices send me a mail to samuel@iternio.com with your Google account mail so I can add you to the internal test version at the play store.


Avatar

Manfred Winter

I've send you a mail. TIA


S

Stefan Bäckman

Hi, I just want to pitch in that I had a similair behaviour with a OnePlus 9 phone. I returned my phone because of this.
When I connected the OnePlus 9 phone to the car it worked fine for about a minute. After that it started to act strange. Found out the problem started when the screen locked. Pressing/clicking buttons in Android Auto interface stopped working, not just buttons in AA apps but also the AA menu circle and so on. The AA interface more or less frooze. However, pinch to zoom and moving the map around with two fingers worked. The funny thing is that I have the same car as Juwi, a Skoda Enyaq. I blamed the phone, not the app because it was affecting all of Android Auto. I also suspect the Skoda Enyaq implementation of Android Auto. I've had several other problems with AA in this car but not other cars.
Maybe this information can help you understand the problem.


  • U
U

Juwi

Sometimes the AA user interface is a bit laggy, i.e. I press the AA menu circle like you did, and it takes 10 seconds or so to respond. But eventually it works.
It is possible that the Enyaq implementation is faulty, but on the other hand I have problems using other navigation apps with it.


S

Stefan Bäckman

Yes, the interface is generally quite laggy and I hope this will get resolved in the 3.0 update this summer. But that is a different problem and does not belong here.
The "click" problem was something else. It was very clear that the problem was due to the combination phone/AA/car. As soon as I unlocked the phone it was normal again. It stopped registering "klicks" completely.


U

Juwi

OK, yesterday I did a few more tests, and I think I have come much closer to when this happens!
The car position marker moves only when I have the app open on the phone AND the phone is unlocked.
As soon as I either change the app (or press the home button) or when I lock the phone, it stops updating the car marker.
I could reproduse it reliably a number of times.
I have also pressed the bug button, but unfortunately I can only press it only when the app is open, and this is exactly when it does work. But maybe the report helps anyway.


Avatar

Samuel_ABRP

Good information. Could be related to background GPS restrictions on Xiaomi then. On another app i wrote i noticed problems like that and people had to
- switch off battery saver option for the app
- allow background GPS to be always on

Unfortunately we do not have the second option in the app right now. I think we already ask users to switch off battery saver options for ABRP (did you do that?), but i guess we need to check the second option for background GPS as well.


Avatar

Samuel_ABRP

Please follow the guide here for auto start and battery saver options and restrictions under the point MIUI12:
dontkillmyapp.com/xiaomi

If that helps, we have to add configuration of that when setting up the app for the first time.


U

Juwi

I had all these settings activated before, except for performance mode. But activating did not help either, it only drained the battery like hell.
I still do not believe in GPS restrictions, as I said, it updates the navigation instructions all the time. Also, when I am back home, I see recordings of the entire trip route, even when the position froze all the time.


Avatar

Samuel_ABRP

I don't think we need performance mode. Did you have the chance to make a video of the behaviour so we might understand better what happens?


Avatar

Samuel_ABRP

Hi Juwi,

You say you can manually move the map, but it does not update the car position. So the map is not frozen, but the car position does not update. Is that correct? And this is not related to the other issue where you have to start the phone app first, as it updates when you change to another app and then back to ABRP.

The ABRP app shows the correct data on the app if you keep it active while driving?

So how does it behave when you plan a route? Does it show the preview and if it shows the preview does it also show the route? Can you maybe post a video of that behavior? You can upload it to your Google drive share and share a link here or send me a mail to samuel@iternio.com or upload it to YouTube as private video.


Avatar

Samuel_ABRP

If the car position is not updated correctly, it could be related to invalid gps location from telemetry. Normally this should not happen, but we have a workaround for that on the car settings. Please go to settings, click the gear icon behind the car and scroll down to settings and enable the toggle button "override car position", it will then ignore telemetry location data. Not entirely sure though, if this is the case here based on your description, but worth a try.


U

Juwi

Hi Samuel,
> So the map is not frozen, but the car position does not update. Is that correct?
Yes, that is correct. Although in previous versions I also had the effect that the car position moved, but the map didn't, so the position marker slowly went out of the screen.
> So how does it behave when you plan a route? Does it show the preview and if it shows the preview does it also show the route?
Actually I am not sure. I need to test it. Making a video is not easy, because I can't do it while driving, Maybe I can record the start and then stop after some driving to record its behaviour then.


U

Juwi

No, this is not related to GPS, because all navigation hints (such as turn left in 200 m) work fine and are as exact as it gets with any navigation system.


Avatar

Samuel_ABRP

It is really hard to imagine what happens here. Does this also happen, when no navigation is active at all? The map should always follow the car icon in non navigation mode.

So to sum up:
- instructions update correctly
- car icon moves out of map
- map stays at initial position

So drawing of the map, loading tiles and everything works correctly, it just does not follow the car icon, right?

I'll add the tester role to your account, you should see a bug button. If this happens, please drive a few meters and then click on the bug icon and report as type other or whatever you think is appropriate. I will then have a look at the transmitted driving data, maybe that provides some insights.


  • U
U

Juwi

Yes, sum up is correct, except that the "car icon moves out of map" happened several times some weeks ago, but I haven't seen it recently.
I will do as you propose, and also try to record a video.


Avatar

Samuel_ABRP

BTW when checking your car configuration to check if there is anything suspicious related to this issue i noticed, that you connected multiple OBD dongles to one car. If you experience connection issues, you should unlink OBD telemetry, this should remove all the entries, and link the right dongle again. Not totally related to this issue, just wanted to let you know. So if you noticed, that it takes some time to connect, this could be the reason, as it tries to connect to all of the dongles until it finds one, that establishes a connection.

Also added a task on our side, to avoid this in future.


  • U
U

Juwi

OK, unlink OBD telemetry, is this the button "unlink_live_data" ("Live-Daten entkoppeln" in German)?
I struggled a lot to get the connection somewhat stable. so I hope I don't destroy anything ...


Avatar

Samuel_ABRP

Yes that is correct. If you unlink, all old OBD dongle IDs should be removed and then you can set it up again. Let me know when you've done it, then i check if it worked.


U

Juwi

I believe it connects to the OBD quicker now, many thanks! But it had no effect on the position freeze problem.