Increased battery usage since 4.31.2

Piotr shared this problem 21 days ago
In Progress

I've noticed that my battery usage went up significantly (I estimate ~20-30% more than with earlier versions) when Locus Map is navigating. I cannot provide any hard evidence, but I believe nothing in my setup changed and my battery drains faster.

I have another app running alongside Locus Map (strava tracking), but I have managed to deduce it's not contributed to the increased battery drain (sometimes I only use strava and battery use is then as expected).

Is there anything in the recent changelog of Locus Map which you could potentially investigate in the context of potential battery drain?

Replies (12)

photo
2

Hi Piotr,

we've checked the app and we didn't find any "leak" that would cause battery drain. Also, no one else has reported the issue. Maybe, if you gave us an NMEA file of the navigated route, so that we could simulate the issue, it could help us find out what is going on. NMEA recording can be turned on in settings > GPS&sensors: https://docs.locusmap.app/doku.php?id=manual:user_guide:settings:gps#nmea_recording. The NMEA files are stored in Locus/data/nmea directory.

This comment is in trash! Restore
photo
1

Here is the NMEA recording of a fragment of my ride, taken while Locus was navigating, Strava was recording, everything setup as I usually do.

This comment is in trash! Restore
photo
1

Could you please also send the GPX of the route so that I can simulate the navigation along it? Thanks

This comment is in trash! Restore
photo
1

Here you go. This only a piece of my ride, but it should cover the nmea log fully. Thank you for looking into this, I appreciate it!

This comment is in trash! Restore
photo
1

Thanks a lot for the files. We tested the feature with your data but unfortunately, we didn't reveal anything significant. We'll go on investigating the issue and collecting more data from other users.

This comment is in trash! Restore
photo
photo
1

I only use track recording without navigation, so can't comment directly on the latter. But certainly with the former, I keep a very detailed log of battery current, and there has been no change in battery consumption for any releases up to 4.31.3 this year for me with Android 15.

This comment is in trash! Restore
photo
1

Thx. Noted, I don't track with Locus, so maybe the issue is indeed with navigation only. I'll log NMEA next time I ride.

This comment is in trash! Restore
photo
1

I don't use navigation because it uses far more energy (approx. 2x) than simple track recording. I just turn on the screen briefly before any turn (for the displayed route) to check directions manually. I set the screen timeout to 5s. Energy for the screen, especially if sunny, is the biggest use of your battery.

This comment is in trash! Restore
photo
1

This is based on some tests this year? Because even in the navigation system were done a performance optimizations and battery consumption should not be so bad. Also, there is a well working "Screen on/off control" settings, that is really helpful during the navigation. Maybe just give another try ...

This comment is in trash! Restore
photo
2

Thanks @Menion. No, I haven't used Navigation mode for many years, so I probably should (will) give it a try, especially now I have an accurate methodology for battery measurements. I do think I can manually turn the screen on at more appropriate times than with the fixed settings of LM. And I simply rely on Android to turn the screen back off after 5s which is quite convenient. I'll add a further comment here in next week.

This comment is in trash! Restore
photo
1

A quick test (only 30m) - with track recording only, screen off, the current was ~100mA - consistent for over a year. With track recording, navigation, screen on 5s (with about 10 announcements), the current was -160mA.

This comment is in trash! Restore
photo
1

Current (mA) while navigating+track recording revised to 190mA compared to only track recording of 100mA. A pity I can't just edit my previous post.

This comment is in trash! Restore
photo
1

We are a little bit offtopic here 😬. Anyway thanks. It is not as positive as I've expected. Will have to look at it even more 😉

This comment is in trash! Restore
photo
photo
1

The fact that no one else is reporting it means that the problem doesn't exist?

I have it too. Maybe people are tired of always having to report problems.

Or having to find the cause.

That's the developer's job.

Another problem that supposedly doesn't exist. Like the darkening in LM4.

Or having to find the cause.

That's the developer's job.

Another problem that supposedly doesn't exist. Like the darkening in LM4.

This comment is in trash! Restore
photo
2

Hi Franz, nobody has said that the problem doesn't exist when only one user reports it. We only said that Piotr has been the only one yet. You are the second, thank you. Also, you don't have to find the cause. You can only give as much detailed information as possible about the issue. So, could you please describe in detail when exactly you observe higher energy consumption? What features do you use when the drain takes place?

As for the "darkening in LM4", please start a new topic as this is not relevant for this one. Thanks.

This comment is in trash! Restore
photo
1

"we've checked the app and we didn't find any "leak" that would cause battery drain. Also, no one else has reported the issue.

For me, that means there is no problem that needs to be addressed.

"So, could you please describe in detail when exactly you observe higher energy consumption?"

Every time I navigate to a point, the power consumption increases. So much so that, despite charging the battery at the same time, its capacity steadily decreases in the car.

Without navigation but with track recording, this is not the case.

This comment is in trash! Restore
photo
photo
1

Thank you for the investigation. I just want to give you a quick heads up: I have just noticed something which might have been the possible culprit (I'll confirm next time I navigate with Locus). I removed all saved points (ca. 50 points I've amassed gradually over the past weeks). After that I think the battery usage went down to prior levels, but let me confirm that. Maybe after crossing some threshold of app data the battery drain increases?

I haven't been using the point notification feature, and also the saved points weren't for most part visible on the map when getting navigation prompts.

This comment is in trash! Restore
photo
1

This is the third time in the last four months that I've seen my phone's battery capacity plummet while using Locus in active mode. Twice, this happened while using active navigation, and once, I locked my phone while Locus was active, and after a while, it shut down due to a completely discharged battery. Yesterday, while driving, I noticed my battery capacity drop from 86% to 3% in about five minutes.

This comment is in trash! Restore
photo
1

Perhaps it's because every bend, no matter how slight, is now announced. "In 100 metres to the left," even though there's no other option.

Extremely annoying on winding mountain roads.

This comment is in trash! Restore
photo
1

If you navigate a route that is not created in the Locus Map route planner, the app has no data regarding the intersections. Therefore, it generates the navigation prompts according to the route shape. The number of prompts can be adjusted in settings >navigation > advanced > frequency of commands. There is no proof that this feature is involved in the battery drain.

This comment is in trash! Restore
photo
photo
1

But that wasn't the case before. Those instructions weren't given. Instead, Locus said: "Follow the road for 10 km."

It's only been like that since V 4.31.

For me, it's another deterioration.

Instead of being able to chat with my fellow passengers in the car, Locus now talks to me.

This comment is in trash! Restore
photo
1

This option has been in Locus Map for many years. Maybe you just had it turned off. When you select "none" in the settings >navigation > advanced > frequency of commands, the navigation commands are not generated for imported routes or recorded tracks.

This comment is in trash! Restore
photo
photo
1

No, this has only been the case recently. I didn't have this before.

I also don't use imported routes or tracks. I only use navigation from my location to a specific address or point.

If I deactivate the navigation instructions, I no longer receive the important turn-by-turn directions.

This comment is in trash! Restore
photo
1

Then I'm afraid I don't understand what's wrong. If you turn navigation on, I suppose you want to hear navigation commands. But you are complaining that "Instead of being able to chat with my fellow passengers in the car, Locus now talks to me." So, what is your desired status of the app?

This comment is in trash! Restore
photo
1

If you use internal navigation to a specific point, Locus normally uses the router to generate it. Then you should only receive notifications at intersections. If you receive notifications at every turn, then something is wrong. I don't have a route to test it right now. Maybe Michal can test it. But it has little effect on the battery. But actually, this is about the battery

This comment is in trash! Restore
photo
photo
1

What's not to understand?

When I navigate to a point, the turning instructions should appear when I have to turn and not at every bend where there are crash barriers on the right and left.

This is how it is with every sat nav and how it has always been with Locus and Brouter.

This has been the case since these route numbers appeared. They weren't there before either.

I haven't set anything else, just made an update.


Übersetzt mit DeepL (https://dee.pl/apps)

This comment is in trash! Restore
photo
1

Could you please send a GPX of the route? Thanks. I'll test routing and navigation between its start and destination. As Freischneider wrote, the router generates navigation commands on intersections only.

This comment is in trash! Restore
photo
1

I'll join the discussion about navigation commands. For example, the planner sometimes doesn't generate commands at key intersections. And yes, "straight ahead" commands have appeared at literally every small intersection in the city. This wasn't the case before. If necessary, I'll record a video. It's easy to reproduce.

This comment is in trash! Restore
photo
1

I immediately tried to create a route that took into account the shortcomings described. And it didn't work; everything worked perfectly.

But yesterday I was sober and plotted the route in the planner several times, and each time there were shortcomings. It's an interesting story.

This comment is in trash! Restore
photo
1

You should also note that the planner is BRouter. Then you should also report errors in BRouter. Straight ahead is an important tip. I'm glad that's being mentioned.

This comment is in trash! Restore
photo
1

I don't have any .gpx files for the routes.

>>>"As Freischneider wrote, the router generates navigation commands on intersections only."<<<

No, the router generates instructions at every turn, every curve. Even where there's no other option! It's been like this for about 4 weeks.

My wife and children can confirm this! They were also annoyed by all the winding roads during our vacation in Greece. “Turn left,” “turn right,” “turn left,” “turn right.”

There was no other option. There was nowhere else to turn. Before the update, Locus said, “Follow the road for 50 km.”

This comment is in trash! Restore
photo
2

You can share your location and destination, as well as which routing profile you're using and exactly how you're going about it.

This comment is in trash! Restore
photo
1

I already wrote that.

I select a desired destination at my location.

I press the navigation button.

The menu opens.

I press navigate again.

Then I select car.

Then I press navigate again in the top right corner.

Then I have the route.

This comment is in trash! Restore
photo
photo
1

I have created and saved a route again.

There are only 4 real turn-by-turn directions.

The rest are all curves and slight bends. Without any turning options

This comment is in trash! Restore
photo
1

Locus apparently does not receive TBT from BRouter.

The TBT are therefore generated using the track shape.

This is not a car route but a bicycle route.

See the attached gpx file WITH the TBT.

This comment is in trash! Restore
photo
photo
1

If Locus does not receive any data from LoRouter, there is something wrong with the integrated Router. For me, this is a Locus error.

If I select an integrated car profile and a cycle route is created, this is also a Locus error for me.

That's exactly what I mean. With every update, old errors are replaced by with new errors.

This comment is in trash! Restore
photo
1

This issue has been simulated and fixed. Please wait for the next app version. However, it has not been proven that this also solves the battery consumption problem; it needs further testing.

This comment is in trash! Restore
photo
1

It's a shame I got flustered last time and didn't save the logcat. But now I'm prepared. As soon as I notice a critical drop in battery capacity, I'll wait until it reaches the minimum and save the logcat. What else can I do to get the most information about the problem?

This comment is in trash! Restore
photo
1

The system log will certainly help as another source of information. At the moment, we are lacking any relevant data regarding the alleged battery drain.

This comment is in trash! Restore
photo
1

Hello,


Thank you very much. After the latest update with Beta 4.31.3.6, navigation is working again as it should and as it used to.

Perhaps in future it would be better to listen to users straight away instead of spending three days discussing it.

Sometimes users know what they are talking about. 😉

This comment is in trash! Restore
photo
1

The battery drained quickly again.

I promised the log code.

I asked the AI ​​to analyze the log code. The output is in the attached file.

The output is completely clear to me and was expected. I'll make some changes to the Locus settings, for example, to record a track every 2-3 seconds instead of every second.

However, what's confusing is that I always use these Locus settings. However, the rapid battery drain doesn't always happen.

I suspect the cause is location data transmission during a poor or nonexistent connection. I'll pay more attention to this in the future. I'll try disabling location data transmission if I notice rapid battery drain. But perhaps Locus doesn't need to send data so frequently when there's no connection?

If you need the full log, where can I send it?

This comment is in trash! Restore
photo
1

"I suspect the cause is location data transmission during a poor or nonexistent connection."


That can't be right.

I use Locus completely offline and have the same problem.

This comment is in trash! Restore
photo
Leave a Comment
 
Attach a file
You can't vote. Please authorize!
You can't vote. Please authorize!