Author Topic: Locus draining my battery  (Read 8453 times)

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12603
  • Thanked: 835 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Locus draining my battery
« Reply #15 on: November 05, 2012, 21:03:53 »
nono, it have nothing to do with it. I just personally do not want to risk to run both at once.

anyway CPU usage when no action is running is really weird. Have to check it also ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1234
  • Thanked: 2 times
  • Devices: Samsung S10 + S7 + (S5 + S3 + Nexus7 flo)
    • View Profile
Re: Locus draining my battery
« Reply #16 on: November 05, 2012, 21:52:01 »
Quote from: "menion"
anyway CPU usage when no action is running is really weird. Have to check it also ...
Thanks, it was not easy to convince you as I see no clear conditions under which it happens and so I had to be so insistent :). Sorry for that, it's not meant against you.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline UKlocusfan

  • More than Newbie
  • *
  • Posts: 87
    • View Profile
Re: Locus draining my battery
« Reply #17 on: November 05, 2012, 22:00:00 »
Thanks so much Menion,
So I understand your reasonings for turning off 'always screen on'. I set this as I thought that is what was needed for when using Locus to navigate whilst driving?
So if I turn this off,when I am in the car and navigating with LocusPro - the screen will stay on and not time out?

edit
Actually Menion, I just checked and the 'always screen on' is now set to be always on but is set to Only When GPS On.  
If I set it to Only When Guiding then that would be the same surely?
So is it your suggestion I leave it as System Settings or will that cause the screen to sleep whilst I am using it in car?
Thanks alot.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1234
  • Thanked: 2 times
  • Devices: Samsung S10 + S7 + (S5 + S3 + Nexus7 flo)
    • View Profile
Re: Locus draining my battery
« Reply #18 on: November 05, 2012, 22:03:25 »
Quote from: "UKlocusfan"
Thanks so much Menion,
So I understand your reasonings for turning off 'always screen on'.  I set this as I thought that is what was needed for when using Locus to navigate whilst driving?
So if I turn this off,when I am in the car and navigating with LocusPro - the screen will stay on and not time out?
There is a special setting for navigation: "Only when guiding – the screen remains lit up only when guiding/navigation feature is running" on this page: http://docs.locusmap.eu/doku.php/manual:settings:global.
I use this setting successfully: screen stays on while navigation but not if I have GPS on e.g. to record a track.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1234
  • Thanked: 2 times
  • Devices: Samsung S10 + S7 + (S5 + S3 + Nexus7 flo)
    • View Profile
Re: Locus draining my battery
« Reply #19 on: November 05, 2012, 22:09:39 »
@UKlocusfan, Menion: Was the reason for the battery drain found in the setting "always screen on" (though I guess the screen was switched off manually)?
For my case this is not the explanation: In Locus Free it is set to "System settings" and in Locus Pro it is set to "Only when guiding".
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline UKlocusfan

  • More than Newbie
  • *
  • Posts: 87
    • View Profile
Re: Locus draining my battery
« Reply #20 on: November 05, 2012, 22:15:52 »
Excellent, thank you tommi62.
I have changed the setting know after yours and Menions great advice.
Unfortunately though, I dont think it will change the battery drain problem simply because when I am walking and geocaching I use the 'guiding' function and so when the phone is sleeping in my pocket - it is still guiding and therefore presumably using the same amount of power as the 'only when GPS on' setting.

I have however turned map rotation off so I really hope something umproves with this battery usage thing.

Thanks again jusc, Menion and tommi62 :-)

(UPDATE)
with the greatest of respect tommi62 I wouldnt have thought running 2 versions was not a good idea at all - especially when trying to diagnose a problem.
In answer to your question, lets say for example I use Locus for 1 hour.  During that 1 hour it will be logging my walk.  For about 10 - 20 minutes in total the screen will actually be on as I check how far I am from my geocache POI but that is usally done via the compass screen and I hardly ever use the map whether rotating or not.  Throughout all of the 1 hour Locus is probably guiding for about 50 minutes in total.
So - in summing up... Locus is mainly in my pocket with the screen manually switched off.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12603
  • Thanked: 835 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Locus draining my battery
« Reply #21 on: November 06, 2012, 06:58:58 »
ah I just wanted to say, that every settings different then "System defaults" use android "Wake lock" and this may cause higher CPU usage. That's all ... it was just a suggestion what to check if you want to play with it.

anyway guys to summarize it. I'm trying in all cases, to be CPU and battery usage as low as possible. Anyway as mainly tommi already noticed, Locus isn't perfect so it's for sure possible that some combination may not works perfectly. Anyway these problems are really hard to identify from a table, so if you notice that some settings affect battery consumption more then expected, I'll gladly check it

"Alyway screen on" was just a small suggestion, that may deserve to check, nothing more
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1234
  • Thanked: 2 times
  • Devices: Samsung S10 + S7 + (S5 + S3 + Nexus7 flo)
    • View Profile
Re: Locus draining my battery
« Reply #22 on: November 06, 2012, 08:00:48 »
Quote from: "menion"
ah I just wanted to say, that every settings different then "System defaults" use android "Wake lock" and this may cause higher CPU usage.
Once again one of my beloved questions :): Does this mean if setting is "Only during guiding" that the wakelock is used always or only during guiding? (I hope the latter but I'm not sure from your comment)

Quote from: "menion"
Anyway these problems are really hard to identify from a table, so if you notice that some settings affect battery consumption more then expected, I'll gladly check it
You can be sure  :mrgreen: .

However there seems to exist a problem though I use "battery friendly" settings, at least this is my assumption.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12603
  • Thanked: 835 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Locus draining my battery
« Reply #23 on: November 06, 2012, 08:11:10 »
Quote from: "tommi62"
Quote from: "menion"
ah I just wanted to say, that every settings different then "System defaults" use android "Wake lock" and this may cause higher CPU usage.
Once again one of my beloved questions :): Does this mean if setting is "Only during guiding" that the wakelock is used always or only during guiding? (I hope the latter but I'm not sure from your comment)

second for sure, that's why this settings exists :)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline Henk van der Spek

  • Expert
  • Padavan of Locus
  • ***
  • Posts: 261
  • Thanked: 9 times
    • View Profile
    • enduro.nl
  • Device: Umidigi Bison 6/128 Android 10 and Motorola Moto G5g Plus 6/128 Android 10
Re: Locus draining my battery
« Reply #24 on: November 06, 2012, 16:39:48 »
Well I am on system defaults but there is something funny going on. Never had an empty battery at 14.00 hours. Some playing in the morning (setting my rec profiles etc) and then 1 1/2 hour of recording while I was guiding left me at 60%. Ok, that looked quite normal. Then at home some news reading and surfing with browser and two hours later I was at 5%!!
I will play on to try and get more meaningfull comments. Feels like Locus is not really switching off.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Umidigi Bison 6/128 Android 10 and Motorola Moto G5g Plus 6/128 Android 10
 

Offline UKlocusfan

  • More than Newbie
  • *
  • Posts: 87
    • View Profile
Re: Locus draining my battery
« Reply #25 on: November 06, 2012, 22:26:26 »
Interesting post Henk.
I havent had chance to test Locus out in the field yet for a few hours but did want to mention that I am pretty sure my case is nothing to do with Locus not switching off.

The drain for me is when Locus is being used.

I have used it on and off for a very short while today and it does seem to be switching off completely when I exit properly as the battery use is only 3%  as I would expect from very very minimal light short use.

I am not sure if Locus running as a service is what is keeping it running on your phone as I'm not sure what the running as a service does - but have a check to see if you have that setting enabled maybe?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1895
  • Thanked: 20 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: AW: Locus draining my battery
« Reply #26 on: November 07, 2012, 05:21:09 »
Quote from: "Henk van der Spek"
Well I am on system defaults but there is something funny going on. Never had an empty battery at 14.00 hours. Some playing in the morning (setting my rec profiles etc) and then 1 1/2 hour of recording while I was guiding left me at 60%. Ok, that looked quite normal. Then at home some news reading and surfing with browser and two hours later I was at 5%!!
I will play on to try and get more meaningfull comments. Feels like Locus is not really switching off.
What do you see in system/settings/battery (akku) of your phone? Is Locus using much power?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Regards J.
 

Offline Henk van der Spek

  • Expert
  • Padavan of Locus
  • ***
  • Posts: 261
  • Thanked: 9 times
    • View Profile
    • enduro.nl
  • Device: Umidigi Bison 6/128 Android 10 and Motorola Moto G5g Plus 6/128 Android 10
Re: Locus draining my battery
« Reply #27 on: November 07, 2012, 07:16:30 »
[attachment=0:39yddhu8]accu.jpg[/attachment:39yddhu8] Accu screen is from yesterday. The browsers use and other stuff never showed up anymore, that surprised me most, but, as said, I will give it another try soon.

Next was last night: Battery on 90%; Locus started and guiding set (beep at 50m) , silent and GPS on; phone on table. This morning 15% left after a good six hours. Again feels like more power consumption (mind you, the past is all from memory and not from taking notes etc).
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Umidigi Bison 6/128 Android 10 and Motorola Moto G5g Plus 6/128 Android 10
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1895
  • Thanked: 20 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: Locus draining my battery
« Reply #28 on: November 07, 2012, 08:39:25 »
I´m not sure if I understand you correctly. Do you use "GPS on" inhouse? Without GPS signal or very weak signal I had this behaviour in the past too.
I forgot to disable GPS and next mornig after 10 hours the phone was "dead".
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Regards J.
 

Offline UKlocusfan

  • More than Newbie
  • *
  • Posts: 87
    • View Profile
Re: Locus draining my battery
« Reply #29 on: November 07, 2012, 09:09:45 »
Agreed jusc,
Using GPS indoors is not good for any battery I dont think regardless of using Locus or any other program.
May I suggest that a real test of what Locus is doing Henk is a good few hours use outdoors.
« Last Edit: January 01, 1970, 01:00:00 by Guest »