Comments (7)
I recently noticed I occasionally have the problem of tracks not recorded if I start a recording and then immediately turn off the screen. Almost like if the foreground service does not have enough time to get initialized. Counting to 5 after starting the recording and before turning off the screen reliably avoids the issue, it seems. No dependency or change of the battery optimization setting in play, though, it seems.
from osmand.
After making some more tests
Reinstalling older OsmAnd~ 4.8.0#2758m, veröffentlicht: 2024-07-17
Some recording
Reinstalling OsmAnd~ 4.8.0#2781m, veröffentlicht: 2024-07-18
Some recording
...
No more problems, battery optimization "not optimized" is unchanged.
But i don't understand the problems as described...
Is there anybody with similar problems ??
from osmand.
I recently noticed I occasionally have the problem of tracks not recorded if I start a recording and then immediately turn off the screen. Almost like if the foreground service does not have enough time to get initialized. Counting to 5 after starting the recording and before turning off the screen reliably avoids the issue, it seems. No dependency or change of the battery optimization setting in play, though, it seems.
I also have this problem since months. Maybe not good described, but i am shure it is the same as in
#19845
Sometimes it is not easy to understand what problem is really behind the observed behavior.
And again, i do not really understand what was my problem described above. ...
May be also just trip recording foreground service ?
from osmand.
Thanks for pointing out #19845. I have added my observation there perhaps worth re-opening it.
I think what you are describing here seems different. If you are reallly certain you had exermpted the OsmAnd app from battery optimization and that had changed without you explicitly causing it, it seems worth exploring possible root causes, both within OsmAnd's code and outside (like perhaps the OS 'Adaptive' battery saving or so.
So far I could not reproduce, so perhaps this is not associated with a certain recent OsmAnd build, but timing was accidental and depended on something else.
from osmand.
I try to clarify about battery optimization:
First, i am very aware that wrong setting may lead to multiple gaps in recording.
I am absolutely shure that battery optimization was set "optimized" when i detected the problem with so many gaps.
Then i switched it to "nicht eingeschränkt" = not restricted = not optimized.
I do NOT really know when the false setting was introduced, i just see that the day before i had used a older app version 2758 with hiking of 20km without any gap (but with very frequent gps on/off messages).
So it is just my conclusion that the change of battery optimization setting happend with app update to 2781 in the morning before the very bad recording.
from osmand.
The bug was not reproduced on the release version. To reproduce it, I verified that the app's battery optimization was set to unrestricted. Then attempted to update the app. Post-update, the battery optimization status remained unchanged and still unrestricted.
So could you confirm if you reinstalled the app, which might have caused the status to change?
OsmAnd 4.8.2, released: 2024-07-10
video_2024-07-19_13-45-08.mp4 |
video_2024-07-19_13-44-54.mp4 |
from osmand.
I also cannot reproduce the bug. Please see my last posting, there was something strange going on...
I already changed the title of this topic and added "or trip recording bug"
from osmand.
Related Issues (20)
- Address should use ``addr:*`` tags when available HOT 2
- add translation POI "dressing room" HOT 1
- Missing? or Overlapping? tertiary? turn arrow
- Light background on a dark theme in QA menu HOT 1
- Don't reload all icons while switching between categories
- "Missing map" error, even the route is inside the loaded maps. HOT 1
- Perform routing over "white areas". HOT 2
- Car navigation - Lane assistance not always active HOT 2
- [map and navigation] OsmAnd display small traffic circle as road junction HOT 3
- Opening help in the browser
- Feature request: show intermediate destinations on elevation graphs
- Start, intermediate and destination flags can disappear in certain circumstances HOT 1
- Premature rotation of map during navigation? HOT 10
- Custom buttons don't move up screen when bottom panel widgets appear HOT 1
- Parking listed twice in widgets list HOT 1
- Route calculation is so slow / stucks in +4.8.4 HOT 10
- parallel installation of osmand and osmand+ HOT 2
- Delay switch profiles (quick action) HOT 1
- App Crash When "No Auto Zoom" is Enabled HOT 2
- Color route line by maxspeed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osmand.