Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 17-03-2024, 20:10   #1
Junior Cruiser

Cruisers Forum Supporter

Join Date: Feb 2024
Location: South Florida, USA
Boat: Beneteau Oceanis 40.1
Posts: 24
Android version: how to keep tracking when phone screen off

I've been testing OpenCPN on my PC and Android phone and tablets. Very impressed with the overall product.

There is one thing I haven't figured out: when I turn on tracking, it works fine, except when I turn the screen off. If the phone turns the screen off because nobody touched it for a while, or if I press the power button to turn the screen off, then tracking stops recording, only to continue tracking when phone unlocked again and app is opened.

Is there a way to keep OpenCPN running and tracking when screen off? Or when another app in use?

I'm using Dave Register's version from the Google Play Store.

Thanks
flpaoli is offline   Reply With Quote
Old 18-03-2024, 03:38   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Android version: how to keep tracking when phone screen off

Ope the OpenCPN settings from the application menu in the upper right corner and check the "Do not sleep" option is active, it instructs Android that the application needs to be active even when the device is not being actively used.
Attached Thumbnails
Click image for larger version

Name:	donotsleep.png
Views:	11
Size:	179.8 KB
ID:	287714  
nohal is offline   Reply With Quote
Old 19-03-2024, 20:23   #3
Junior Cruiser

Cruisers Forum Supporter

Join Date: Feb 2024
Location: South Florida, USA
Boat: Beneteau Oceanis 40.1
Posts: 24
Re: Android version: how to keep tracking when phone screen off

Went out today to sail, and tried it out.


On my phone, an Android 13 (Samsung S20), it ensured the phone wouldn't sleep while OpenCPN was tracking, but, if I turned the screen off, or changed to another app and forgot to go back to OpenCPN, the tracking paused.


When I got back to OpenCPN the tracking continued, but a straight line was drawn from the last point before I turned the screen off or switched to another app to my location.


So clearly it wasn't recording in the background.


Wonder if there is something I need to do in app privileges. Will research that later when I have some time.
flpaoli is offline   Reply With Quote
Old 21-03-2024, 18:37   #4
Junior Cruiser

Cruisers Forum Supporter

Join Date: Feb 2024
Location: South Florida, USA
Boat: Beneteau Oceanis 40.1
Posts: 24
Re: Android version: how to keep tracking when phone screen off

Yeah, looking at the app permissions it only asks for precise location tracking when on the foreground.


So I do need to keep the screen on and the app on the foreground to keep the tracking, it seems.
flpaoli is offline   Reply With Quote
Reply

Tags
phone, screen, tracking


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plotter works with old LCD screen but not new LED screen. Why? Simi 60 Marine Electronics 0 10-06-2019 21:06
Android 8 - GPS Turns off when screen turned off UFO General Sailing Forum 2 25-07-2018 18:11
android phone version, does it use satellite gps or 4G? sdowney1 OpenCPN 12 19-02-2017 07:21
To screen or not to screen? nknowland Construction, Maintenance & Refit 16 26-06-2015 19:39
If You Keep Your Boat on a Mooring these Tips Might Keep it Off the Rocks SailFastTri Anchoring & Mooring 16 06-07-2010 11:32

Advertise Here


All times are GMT -7. The time now is 08:05.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.