Quick Toggle of Location Setting? - Nexus 5X Q&A, Help & Troubleshooting

Is there any way to remain stock, unrooted and have a quick toggle for the location setting (high accuracy, battery saving, device only, off)?
I keep it on battery saving generally to ensure I can make full use of Google Now but toggle location on for navigation as needed. It's clunky to have to go back in to the menu manually and change it to battery saving every time. Any suggestions?

No particularly elegant way.
I do the same as you, but have my authomation app (MacroDroid) show a notification when High Accuracy is set and a press on that notification starts a Macro that uses the Tasker plugin AutoInput to switch back to Battery Saving (MacroDroid can use some Tasker plug-ins). AutoInput allows you to automate various screen touches. So still clunky but allows you to switch back with one press.

There is a Settings Widget in stock that will get you there quicker. When you drop the widget onto your screen, it prompts for the setting shortcut type. Select Location when prompted.

If you install "Power Toggles" from the play store you can customize which quick settings buttons appear and would be able to create a toggle to get into the location settings so you could tap that and you would immediately be in the setting menu you want. This doesn't require root. Unfortunately Power Toggles doesn't seem to have the ability to cycle through those settings at all without root. Getting to that settings screen quickly is nice though.
However, If you have root access you can create a "GPS" toggle which would switch your phone between "Battery Saving" and "High Accuracy" and a long press on that toggle could pull up the location settings menu if you wanted to go to "Device Only" mode. For some reason there doesn't seem to be a way to toggle "Device Only" without going to that menu which is why I have the location menu set up as a long press on that GPS toggle. I typically leave it in "Battery Saving" and if I use maps I will toggle it to "High Accuracy".

Related

[Q] Turning on GPS with toggles or Power Saving widget

I'm trying to set up tasker to turn GPS on when I start Navigation and a couple of other GPS-dependant apps, but because I'm not rooted I can't use Secure Settings plugin or get the D-Pad to turn GPS on from Location Settings menu.
But the GPS switch on the Power Saving widget turns GPS on with one click, and it doesn't open the Location Settings menu to have me check the box. So what is it that makes it do that? Is it a script? If it is, can that same script be sent to Tasker? If not, can whatever it is be put into tasker?
Thanks

[TIP] DIsable Power Saver Notification

I couldn't figure out how to disable the persistent notification for the power save feature in the stock rom, and as far as I know there isn't a way to do it through the settings menu. But if you download an app called "notifications off" and uncheck notifications for the settings app, then it goes away. Use some caution, though, I'm not sure that turning off ALL of the notifications from the settings app might not have some unexpected adverse effects.

[Q] Power Saver Mode ON by default?

I have low needs for my phone and would like to have power saver enabled automatically, however I cannot find a way to do this. Is there any setting, app, tweak, command etc. that will enable power saving mode to start automatically and be the default mode?
I have turned on Powersaver and rebooted my phone. Powersaver stayed active.
I have turned on Extreme Powersaver and rebooted my phone. Extreme Powersaver dit not stay active.
If you require Powersaver only, then it shouldn't turn off once you activate it. If you're referring to Extreme Powersaver, I wasn't able to find anything on that. I will add that I do have a custom ROM. I am not sure if the ROM is why Powersaver stays on or not.
For your use I would do this:
Turn on Powersaver
Turn off Sync
GPS Off (Go to Settings >> Location >> Mode: "Battery Saving")
Turn off scanning for WiFi even while it's off (Go to Settings >> WiFi >> [Click the menu button, 3 dots on top right] >> Advanced >> Uncheck "Scanning always available" There's some other settings you may want to look at as well, like "Keep Wi-Fi on during sleep" and whatnot.
This is all I can think of to help you out a bit more. If you don't use the internet for background syncing, you can turn off data and turn it on when you get ready to check something. In better service areas, you'll usually have data by time you're done toggling the service.
Thx. you are right about power saving staying enabled through a reboot. However, I would like to not to accidentally disable it. Is there a way to keep power saving enabled and have it not show up on the lockscreen? There should be a way to disable lockscreen notifications for power saver but I can't find one.

Lock screen toggle option?

On all my previous devices I used widgetsoid (fantastic app) which would allow to you add a simple 'Auto Lock' toggle button to the notification panel, that had a padlock icon. You tap/un-tap in order to enable/disable the lock screen, which was very handy for whenever I'd be in a secure place such as home.
Is there anything like this in the G4 settings other than 'Smart Lock'? I'd like to avoid the need for my gps/location settings to be constantly on when they're not needed.

Any way to enable power button long-press torch, on stock 9.0?

Just got my new (refurb) 2 XL. I would like to try to go stock android on this for a while.
Is there any way to achieve the one feature I cannot live without: long-press power button for flashlight?
I don't think so. You can quickly access it via the notification shade of course. You can set a swipe down gesture on the fingerprint sensor to call the notification shade. You should also be able to turn the flashlight on with voice commands, even with the screen off.
The above are only suggestions for workarounds, but I may have missed something.
I have a sloppy way I do it on 8.1 that uses Automagic and the volume key shortcut in Accessibility Settings. Tasker probably works too.
Turn the shortcut on, select a service. I selected a launcher I don't use. Note that this toggles the accessibility features of an app, so don't use something that needs this. Click to enable it on lockscreen.
Now when you hold both volume buttons for 3 seconds, the system notifies you the service has been toggled. Finally I have a flow in Automagic that triggers when this pops up and from there toggle the flashlight. It even works when locked IF the screen is on.
I use a similar method to customize the Active Edge thing.
Locked on Verizon. Have to be creative
https://forum.xda-developers.com/android/apps-games/app-power-button-flashlight-t3839323
This is probably the best option a double tap
Torchie app
Torchie (no root) is another alternative: https://forum.xda-developers.com/an...torchie-torch-volume-buttons-anytime-t3270230

Categories

Resources