How to get gps with display off? - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

I want to use some navigation or tracker apps for walking and hiking. But every app stops working in background or if i turn off the display.
Also i can't select 'allow gps All the time', it jumps instandly back to 'only while using the app'.
miui.eu latest version.
Please help.

Install this & enable background service to keep the sensor running even with screen off. (Keep gps enabled in background)
https://play.google.com/store/apps/details?id=com.eclipsim.gpsstatus2
Background battery consumption might be a bit higher so do keep that in mind.

Related

Can't stop my N1 from dimming the screen after ~20 seconds when plugged in

Hi all,
I've had a search around but couldn't find this particular issue discussed.
I have a N1 running CM7. When the phone is plugged in (either on my desk, or in the car) the screen will auto dim to a very low level after approx. 20 seconds after last touch.
This happens if the brightness is set to auto or a manual level. I've gone through all the settings I can find but couldn't find anything regarding this. I have got developer > stay awake enabled, which I guess stops the screen from actually sleeping, but it still goes dim.
The CM7 auto dim settings are disabled.
Any advice folks? I want the screen to not auto-dim after 20 seconds. Out of interest, the 'Car Widget Pro' widget seems to be able to force the brightness if you choose something other than 'auto' in the widget settings. So perhaps I am missing something somewhere else?
It's a real PITA when trying to navigate in the car with google maps as whenever I touch the screen to get the brightness back it disables gps tracking and I have to re-hit the icon, which is distracting whilst driving..
Here's hoping..
Hey, I'm only posting because I had a very similar issue. What I did was go into display settings (while connected via USB) and changed the timeout to one minute (or whatever you want). For me, when I went to change the timeout, no item was selected by default. This happened to me after I installed WidgetLocker for some reason. I doubt I will help but I had a very similar issue...
xd_sjo said:
Hi all,
I've had a search around but couldn't find this particular issue discussed.
I have a N1 running CM7. When the phone is plugged in (either on my desk, or in the car) the screen will auto dim to a very low level after approx. 20 seconds after last touch.
This happens if the brightness is set to auto or a manual level. I've gone through all the settings I can find but couldn't find anything regarding this. I have got developer > stay awake enabled, which I guess stops the screen from actually sleeping, but it still goes dim.
The CM7 auto dim settings are disabled.
Any advice folks? I want the screen to not auto-dim after 20 seconds. Out of interest, the 'Car Widget Pro' widget seems to be able to force the brightness if you choose something other than 'auto' in the widget settings. So perhaps I am missing something somewhere else?
It's a real PITA when trying to navigate in the car with google maps as whenever I touch the screen to get the brightness back it disables gps tracking and I have to re-hit the icon, which is distracting whilst driving..
Here's hoping..
Click to expand...
Click to collapse
There's an app for that. Search Google Play for screenwake or something. I dunno I'll search up the name for you tommorow
Sent from my Nexus One using XDA

[Q] GPS issues

I'm having trouble with the GPS on my ZR. Basicly it seems that it won't startup when I startup an App like Google Maps, Waze or Foursquare. GPS function is on, but it won't activate, no GPS icon shows in the top left corner. Nor does it find satellites when I check that through an app like GPS Status. When I turn off GPS by using the widget, and turn it back on, most of the time the GPS icon will appear in the upper left corner and I will get a lock on. Sadly this won't last, the icon dissappears and so does the GPS lock.
I tried this fix: http://forum.xda-developers.com/showthread.php?t=2197842
But it does not work. From the start, the app shows that my phone wont even find the satellites, in stead of just not getting a fix with them.
Anyone have any suggestions on what to try? I am om the official update 4.2.2 and unrooted.
stokvis said:
I'm having trouble with the GPS on my ZR. Basicly it seems that it won't startup when I startup an App like Google Maps, Waze or Foursquare. GPS function is on, but it won't activate, no GPS icon shows in the top left corner. Nor does it find satellites when I check that through an app like GPS Status. When I turn off GPS by using the widget, and turn it back on, most of the time the GPS icon will appear in the upper left corner and I will get a lock on. Sadly this won't last, the icon dissappears and so does the GPS lock.
I tried this fix: http://forum.xda-developers.com/showthread.php?t=2197842
But it does not work. From the start, the app shows that my phone wont even find the satellites, in stead of just not getting a fix with them.
Anyone have any suggestions on what to try? I am om the official update 4.2.2 and unrooted.
Click to expand...
Click to collapse
GPS works very well for me in both 4.1.2 and 4.2.2. It seems your GPS doesn't work at all. Maybe take it back for a replacement?
Just to be sure... try tapping on the lower right icon that zooms to your default location with GPS off. It should show a pretty wide blue circle. When you toggle GPS using the widget and you see the GPS icon appearing shortly on the notification bar, can you check if the blue circle shrinks due to the more accurate GPS measurements? Of course try this in an open area...
The GPS icon doesn't stay on for me always when I turn it on, I always presume it will only really be activated periodically when it needs to...
Have you turn on some power saving function? try to turn them off.
Problem went away, but unfortunately I dont know how. I did fiddle around with the app GPS STATUS and deinstalled Google Maps to stock. Cleared all caches too. Glad it was software and not hardware.
Sent from my C5503 using xda app-developers app

GPS seems to enter sleep when the screen is off

Hi,
I often use the RunKeeper application when I make long walks. In all my previous phones, the GPS kept working when I turned off the display and put the phone in my pocket. In the mi 5, however, it seems like the GPS stopped functioning as soon as I turn off the display put the phone in my pocket. When I take it back out, it shows the same position that I was at when I put the phone in my pocket, and within a few seconds it is updated to my actual position.
Has anyone else experienced this? Is this a matter of settings (maybe even permissions)? Same happens with navigation apps like Waze - if I put another application to run in the foreground, such as Youtube, then Waze (while still working in the background) loses my location, and when I switch back to it after some time, it takes a few seconds to show me my new location.
Thanks,
Shlomy
Hi,
This has happened to me also while using the Starva app and the reason is MIUI doesn't allow to use the Location in Background.
To allow that, go to
Settings -> Battery & Performance -> Power -> App Battery Saver
and select the app you want. Then you'll see that Background location is Restrict. Make it Allow and you're good to go.
Regards,
Samitha
Thanks so much! Almost got me to try custom roms because of that.

How does the screen dimming/time out actually work?

This has always been confusing and I am looking for clarification on the Lock Screen/ Screen dimming, etc.
So I went into the display settings and set it not to turn off for 1 minute. Then I checked the power saving settings just to be sure the screen would not go dim or lock after 5 seconds. That did not work. Then I checked the security settings to see if something was over ridding every other time out setting and I am lost. Either these settings have never really worked since the original note and android/ google is lazy or I am not doing something right.
Dose anyone have a step by step walk through of all the settings that would affect when the screen dimms and when it locks? (Sometimes I am running music through blue tooth and I don't want to the screen to dim for specific applications also. There has to be a setting somewhere because Google Maps does not allow the screen to dim or lock when in nav mode.
Snowleopard1900 said:
This has always been confusing and I am looking for clarification on the Lock Screen/ Screen dimming, etc.
So I went into the display settings and set it not to turn off for 1 minute. Then I checked the power saving settings just to be sure the screen would not go dim or lock after 5 seconds. That did not work. Then I checked the security settings to see if something was over ridding every other time out setting and I am lost. Either these settings have never really worked since the original note and android/ google is lazy or I am not doing something right.
Dose anyone have a step by step walk through of all the settings that would affect when the screen dimms and when it locks? (Sometimes I am running music through blue tooth and I don't want to the screen to dim for specific applications also. There has to be a setting somewhere because Google Maps does not allow the screen to dim or lock when in nav mode.
Click to expand...
Click to collapse
I really wish someone would have answered your question. Mainly since I have the same freaking problem.
When the phone app is running, I am constantly getting dimmed, seconds only to do something.
Tonight I was using an app that monitors BBQ temperatures. Always dims to fast. Set the screen timeout for 10 minutes. Still dimmed after 30 seconds or so.
How does this work? I'm not sure the screen timeout setting does anything.
The screen diming feature is part of the auto brightness function and works by using the ambiant light sensor to adjust the brightness of the display. According to the amount of light detected in front of the display.
Screen locking happens when you haven't used your device for a specific amount of time.
iceepyon said:
The screen diming feature is part of the auto brightness function and works by using the ambiant light sensor to adjust the brightness of the display. According to the amount of light detected in front of the display.
Screen locking happens when you haven't used your device for a specific amount of time.
Click to expand...
Click to collapse
It dims before it locks. That's what I was referring to. I think the OP was as well.
I set the display for 10 minute timeout. It dims and locks the screen in less than a minute. I can't figure out how to stop it.
Is that a clearer question?
Well my screen dims for some seconds before going out, but, always as per the time I set , for instance, if I set to go out after 5 mins of inactivity, it dims after 4 mins 55 seconds, then goes out, I dont use autobrightness, and I use entertainment mode
It was secure lock time setting.
It was disregarding the screen timeout.

keep gps working with screen off?

how can i have the screen off while google maps continues to work and give voice instructions in the background? my note 4 on kitkat was able to do that. but for note 8 after screen is off for a minute or 2, it says gps signal loss until screen is turned back on. am uable to add google maps to unmonitored app for battery saver as i was wondering if that is the cause.

Categories

Resources