Tracking not possible, GPS stop working when Screen is off - Honor View 10 Questions & Answers

When I us the Google Fit app to track my hike, it stops tracking and GPS immediately after screen goes off. As soon as the screen is on again, GPS and fit app works again.
I have the apps allowed to run in the background and turned off the battery optimization for these apps and the Goggle play service.
I haven't found a protected list or something similar in Emui 8.
Locus (an other tracker) works well.
Any ideas how to solve this?

I found the solution : I closed (click on it) the lock in the recent apps history. Now Google fit works

Unfortunately, this solution isn't stable. Sometimes it works sometimes not.

Related

An app to log GPS usage?

I used to like keeping gps on even if I'm not using it, so that in case my phone gets lost or stolen, I can track it down. But sometimes I check my home screen and see that gps is active (the icon in the notification bar) although I'm not running any apps (even in the background) that would require a gps fix.
So my question is, is there an app out there (or is it possible to develop such an app) that would keep logs of what apps or services are using the gps, so that I can track down the app using it?
It would also be useful to find out if there are any apps 'calling home' without my knowledge, and draining my battery in the process.
So..any suggestions???
Just a shameless bump...come on, no one has heard of such an app or thinks it would be useful??

How can I get the GPS to run even in background?

I purchased a Mileage tracker App that does everything I need, but it likes to stop and start the GPS randomly causing delays in the Time stamps it creates. If I run Latitude (default app) along with the program GPS is always on and it functions correctly. If I am in Latitude and click the Home button, it exits and I lose GPS. Is there an App that will run in the background that uses GPS and will leave it on? ChronoLog is the Tracking Program i use and like.
Any suggestions?
tucker1003 said:
I purchased a Mileage tracker App that does everything I need, but it likes to stop and start the GPS randomly causing delays in the Time stamps it creates. If I run Latitude (default app) along with the program GPS is always on and it functions correctly. If I am in Latitude and click the Home button, it exits and I lose GPS. Is there an App that will run in the background that uses GPS and will leave it on? ChronoLog is the Tracking Program i use and like.
Any suggestions?
Click to expand...
Click to collapse
I dont know if this helps but, Google Nav doesn't cut off if you hit the home screen. The Icon is always on unless you tell it to exit.

[REQ] GPS on/off apps

Gingerbread doesn't allow apps to turn on/off GPS anymore (CM still does but it's missing some features for my device that I can't live without). Only system apps can do this these days.
As I use Tasker to automate a lot of stuff this quite sucks. I tried making Tasker a system app but the latest version still refuses to toggle GPS.
Thus my request: Could someone please create 2 tiny apps that just turn GPS on/off that can be moved to system and used by other apps to toggle that setting?
Why do you need to do that?
Just keep gps on, it doesn't do anything while it's not in use by some app. In particular, it doesn't contribute to battery drain while inactive.
some apps use GPS while in background, e.g. Google Maps. So having GPS enabled does drain the battery
XlAfbk said:
some apps use GPS while in background, e.g. Google Maps. So having GPS enabled does drain the battery
Click to expand...
Click to collapse
Strange, I don't think I've ever seen that happen. The only time I see the GPS in use indicator on my notification bar is when an app like maps, my tracks etc is in the foreground. Just checked that as soon as I switch away from maps by hitting the home button, the GPS indicator vanishes.
Sent from my COS-DS using XDA App
XlAfbk said:
some apps use GPS while in background, e.g. Google Maps. So having GPS enabled does drain the battery
Click to expand...
Click to collapse
drbobb is right. Having GPS enabled does not mean that the actual hardware is on all the time. It merely means that android will allow apps to use it, at which point the GPS hardware will become active. So having it "ON" is just a permission thing.
If you are worried about GPS background apps (really Maps does that? I will surely test this), then I would highly recommend LBE Privacy Guard. Set the app up in such a way that Maps will need to ask you for permission to switch on GPS hardware. I tried this with the android browser because it uses GPS when you start it at google.com. Works like a charm!
well, it is as it is. this thread is not intended as a discussion thread about whether someone thinks disabling GPS is unneccessary. it's a request for an app that just turns on GPS and quits.

[Q] Sensors used 100% of the time

Hi everybody,
Just noticed I'm having some issues with sensors being used 100% of the time by navigation apps, eating up my battery like crazy.
First I've noticed Sygic 11.2.6 showing as the second battery consumer (about 25% of the total battery usage at any given time) with orientation sensor used 100% of the time even though no process related to Sygic was running.
Restarting would fix the problem, only for it to reappear as soon as I started Sygic again.
After I've uninstalled Sygic I noticed Google Maps 6.6.0 having about the same behavior, using the accelerometer 100% of the time even after force closing the app. Again, restarting the phone would fix the issue but running Maps once would make it appear again.
I tried uninstalling the updates, reverting to version 5.8.0 and no more accelerometer issues. Updated to 6.6.0 and started having the same issues again. Uninstalling the updates once more and again no sensor issue.
One interesting thing is that if I restart the phone and then disable auto-rotation, once I run Sygic or Google Maps 6.6.0 the apps start using the orientation/accelerometer sensor 100% of the time just like they use to (even though it's disabled!!!!...?!?!).
To me this would seem like a software issue. Anybody else experiencing something similar?!
Thank you in advance for your opinions!
Inginerul said:
Hi everybody,
Just noticed I'm having some issues with sensors being used 100% of the time by navigation apps, eating up my battery like crazy.
First I've noticed Sygic 11.2.6 showing as the second battery consumer (about 25% of the total battery usage at any given time) with orientation sensor used 100% of the time even though no process related to Sygic was running.
Restarting would fix the problem, only for it to reappear as soon as I started Sygic again.
After I've uninstalled Sygic I noticed Google Maps 6.6.0 having about the same behavior, using the accelerometer 100% of the time even after force closing the app. Again, restarting the phone would fix the issue but running Maps once would make it appear again.
I tried uninstalling the updates, reverting to version 5.8.0 and no more accelerometer issues. Updated to 6.6.0 and started having the same issues again. Uninstalling the updates once more and again no sensor issue.
One interesting thing is that if I restart the phone and then disable auto-rotation, once I run Sygic or Google Maps 6.6.0 the apps start using the orientation/accelerometer sensor 100% of the time just like they use to (even though it's disabled!!!!...?!?!).
To me this would seem like a software issue. Anybody else experiencing something similar?!
Thank you in advance for your opinions!
Click to expand...
Click to collapse
Yes... noticed this with Sygic. It's a known app bug, and they still haven't fixed it yet. Haven't had this issue with Google maps though. Be warned however that any navigation app will chew up your battery very fast... Can't help it since it's accessing the Net, Compass, Accelerometer and GPS antenna - all at the same time at a high refresh rate...
Thank you fir your reply!
I know navigation is supposed to use a lot of battery but doing it even with processes closed?
It's good to know you confirm the Sygic bug. Honestly I've googled for 2 days and wasn't able to find any useful info about such a bug with Sygic. And for me, since Google Maps 6.6.0 acts the same way, it makes me think it's also a bug. For now I'm sticking to Maps 5.8.0 and I've reported the issue over to Google.
Thank you again!

[HOW-TO] [FIX] [XPOSED] NlpWakeLock, NlpCollectorWakeLock and RILJ.

Greetings,
After going through many forums trying to find a solution for these Wakelocks, all I found was switching off Location or Google Location History to get rid of RILJ and using Amplify to increase the interval of Nlp.
However, Turning off location or GLH is not a practical solution for me, and Amplify is not that easy to work with, so I was back to square one.
I found out that Nlp Wakelocks are associated with Google Play Services, Google Services Framework. RILJ is associated with Phone (Telephony) functions.
*The solution:
An Xposed module called (No Wakelock) in the Play Store that is capable of controlling Partial and Full WLs, aligning alarms and controlling sync for the selected apps, including system apps with the donation package.
*The results:
After disabling Partial/Full Wakelocks and enabling Aligning alarms for the aforementioned apps, Location and GLH are On.
They are no longer showing in BBS or WLD. AT ALL.**
Android Device Manager is capable of locating my phone.
SMS/Phone calls are working Fine.
No Frozen Screen, SoD, etc.
Gmail sync is delayed a few hours/minutes, without changing its settings in the module.
** Since everything is working perfectly fine even though these WLs are not showing at all, then what is the Real purpose of having them working in excess like that?
Kindly note that I'm not affiliated with the module or the developer in anyway.
If you would like to use it, please use common sense and do it at your own risk.
Cheers.
What did you disable?
I'd like to know that too
do you have fix for nougat? i use forcedoze and it works well with every service. But google services still trigger wakelock and drain my battery.
However, this problem had a temporary fix, if i switch on battery saver. this problem will stay away for awhile.
But i don't like this kind of method.
im also interesting how to fix it in Nougat

Categories

Resources