How to activate/deactivate a qs tile upon screen off/on? - Tasker Tips & Tricks

In android 10,a new feature called as TURN ALL SENSORS OFF is available in developer settings. It also has a qs tile.
Is there a way to automatically enable this feature upon screen off and then disable upon screen on?

The obvious answer is absolutely yes using AutoInput to emulate the touches. That can also be done with more effort using just built in Tasker actions.
However, it's possible (likely?) That there is a secure setting that controls this action. You can sort that out by comparing the secure settings before and after toggling the tile. The AutoTools secure settings action has an assistant that may help you sort this out.

ktmom said:
The obvious answer is absolutely yes using AutoInput to emulate the touches. That can also be done with more effort using just built in Tasker actions.
However, it's possible (likely?) That there is a secure setting that controls this action. You can sort that out by comparing the secure settings before and after toggling the tile. The AutoTools secure settings action has an assistant that may help you sort this out.
Click to expand...
Click to collapse
1) In android 10,there is an option to disable all sensors in developer options. So i turned it on last night, and battery drain was less than 2 % in 4 hrs, compared to 1% per hour usually, with volte and 4g data on. I would get more accurate stats later on.
There's a qs tile available to activate it.
What I want to ask is, is there a way to automatically enable it every time the screen goes off, and then disable it when screen goes on, without any user input?Either as a shortcut or as a qs tile.
2) I am afraid i don't have enough knowledge to exactly understand the steps you are telling. Do you know of a pre made recipe to execute this. I tried to search but in vain. Or if you are on android 10,maybe you can try doing what i need.
Thank you.

There are loads of tutorials available to use the AutoInput plugin.
As far as issuing the native tasker custom setting action;
Create a new task
Add a Settings -> Custom Setting action
A developer settings action is probably a global setting but you may have to explore
When you are in the configuration for the Custom Setting action, use the magnifying glass and Find to identify the setting you want. A pop-up will appear directing you to ok out of the instructions then go to the setting you want to manage, activate the setting and return to Tasker. Then hit the magnifying glass again and if the setting was identified, it will display in the pop-up where you can select it.
No offence, even if I were on A10, this can be done with a basic understanding of Tasker so I wouldn't create a project for it. If you are still unsure what to do, please take the time to work through some basic tasker tutorials to gain familiarity with the app.

ktmom said:
There are loads of tutorials available to use the AutoInput plugin.
As far as issuing the native tasker custom setting action;
Create a new task
Add a Settings -> Custom Setting action
A developer settings action is probably a global setting but you may have to explore
When you are in the configuration for the Custom Setting action, use the magnifying glass and Find to identify the setting you want. A pop-up will appear directing you to ok out of the instructions then go to the setting you want to manage, activate the setting and return to Tasker. Then hit the magnifying glass again and if the setting was identified, it will display in the pop-up where you can select it.
No offence, even if I were on A10, this can be done with a basic understanding of Tasker so I wouldn't create a project for it. If you are still unsure what to do, please take the time to work through some basic tasker tutorials to gain familiarity with the app.
Click to expand...
Click to collapse
Will follow the steps. If I encounter any issues, will reply back here.
Big thanks.

Related

Activating quick setting tile of a 3rd party app using Tasker possible?

I've seen a lot of automation apps that allow you to make a quick settings tile to perform custom tasks, but I want to do the reverse. Certain apps on my phone like PIA VPN have a quick settings tile and it's the only way to toggle the VPN without the UI showing up. I would like to use it with MacroDroid/Tasker. Is there a universal method of activating quick settings tile of a 3rd party app with Tasker/MacroDroid without touch shenanigans? Thanks.
I've seen on Reddit that you can potentially do this through Tasker's "Launch App" action.
When you're in the screen selection for the app, instead of taping on the app (here PIA VPN), long press on it and you'll see some different options. Hopefully there is one related to the tile. Reddit post mentions it as: LaunchVPNForTileService
downloaderfan said:
I've seen a lot of automation apps that allow you to make a quick settings tile to perform custom tasks, but I want to do the reverse. Certain apps on my phone like PIA VPN have a quick settings tile and it's the only way to toggle the VPN without the UI showing up. I would like to use it with MacroDroid/Tasker. Is there a universal method of activating quick settings tile of a 3rd party app with Tasker/MacroDroid without touch shenanigans? Thanks.
Click to expand...
Click to collapse
I use PIA also but I run mine through OpenVPN. I can connect and disconnect through it whenever I am connected through my work network. It does pop up the app but it closes automatically. On disconnect, it doesn't show
https://forum.xda-developers.com/showpost.php?p=71207640&postcount=9
sumotori1 said:
I've seen on Reddit that you can potentially do this through Tasker's "Launch App" action.
When you're in the screen selection for the app, instead of taping on the app (here PIA VPN), long press on it and you'll see some different options. Hopefully there is one related to the tile. Reddit post mentions it as: LaunchVPNForTileService
Click to expand...
Click to collapse
Yeah, for PIA, there happens to be a tile service activity which can be used to do the same as it's quick setting tile, but this doesn't seem to be universal. Even Shazam has a tile to auto-shazam, but there isn't any tile service activity associated with it that I could find. (Not that I want to use auto-shazam with tasker.) I was wondering whether there was a universal solution to this, just like how IntentTask allows you to use ANY app shortcut with Tasker. Guess we'll have to wait until some dev comes up with an app to solve this problem. Thanks.

[GUIDE] Device Settings Menu | Part III - Display, Lock screen, Biometrics, Security

Device Settings Menu Guide, Tips & Discussions
Part 3 - Display, Lock screen, Biometrics and security​
If you're new to this series or want to see the index, please read the Introductory Post first.​
Display
Auto brightness: When you change brightness in Auto mode, your device is smart enough to learn your usage patterns to determine the best level according to the environment as per your preferences. 'Reset usage patterns' in case you think your phone is drunk when in Auto mode.
Blue light filter: Learn why you should use it here. I've set it to 'Turn on as scheduled' > 'Sunset to sunrise'. You can toggle it from the notification panel as well.
Night Mode: (Pie update) Enable it to make use of true blacks on your AMOLED screen, save battery and put less strain on eyes. I know you want it to only enable at night, so hop up to developer mode and set 'Night mode' to Automatic. I don't know why Samsung has put up such a useful mode here.
Screen mode: I've set it to 'Adaptive Display'. Do play with other modes and toggle them when needed. Customize 'Full screen colour balance' (and Advanced) when 'Adaptive Display' is enabled in case you don't like the default setup.
Font size and style; Screen zoom: I've set 'Screen Zoom' to 'Small' and 'Font Size' to Level 2 in order to get more content in a screen view. Please tell if there's any better font on Galaxy Apps.
Screen resolution: By default, you don't get the resolution enabled what your Note9 is capable of. I've changed it WQHD+ for getting the most out of the best display in the market. I've the resolution set to HD+ in Medium Battery Saver mode in case I'm on Survival mode.
Full screen apps: I customize it when needed for an app.
Screen timeout: Mine is set to 10 minutes. You know, pro users!
Home screen: Self-explanatory and I use Nova Launcher. Do enable 'Quick-open' notification panel.
Edge screen: Do you need a seperate guide for this? Or can anyone provide a link to one. If you use it right, this can make your life much simpler.
Edge panels: You can set a maximum of 9 panels. Explore options of each panel and try more of them from the Store. I've enabled Apps edge (also make app pair and folders), People edge (upto 10), Smart select (take portion screenshots, make screen GIFs, pin a screen's content), Clipboard edge (auto-categorizes items), Reminder, Device maintenance (useful to review device performance OTG), Tasks edge (explore all available tasks), Quick tools (must have), Calendar. Tap Menu and 'Reorder' the panels as per your needs. In 'Edge panel handle', I've set the Transparency to highest and Size to smallest. I've dragged the handle to Right near power button so that I can always guess where the handle is.
Edge lighting: For me, it feels great to have it for some very important notifications that too 'when screen is off'. Do note that if you enable it for screen on as well, it will disable heads-up notifications. Play with 'Edge lighting style' as it shows the effect generated as you customize one. For me, {effect=basic, color=app_color, transparency=low, width=narrow} works. You can customize the lighting color for each app separately as well. In 'Manage notifications', you can define those apps for which you want this effect enabled.
Menu > Quick reply: Do define a reply because it can be useful in cases where you can't or don't prefer to type or check messages.
Navigation bar: I've enabled 'Hard press Home button' (great alternative to physical home button) and set the pressure to lightest (since I don't want to hurt my screen). With Pie, you can enjoy the immersive display by setting 'Navigation type' to 'Full screen gestures' and disabling 'Gesture hints'. I eventually got used to this. You can use Nav bar button on Quick Settings by dragging down the notification panel to toggle showing navbar then.
Accidental touch protection: Really useful because I keep my phone screen faced to my leg side when inside pocket so that it's protected from the outside cruel world.
Screensaver: In case phone is your life even when it wants to get charged peacefully.
Lock screen
Screen lock type: I use Pattern with Biometrics (Intelligent Scan and Fingerprints or sometimes Fingerprints only). Fingerprints remain the best security and battery-efficient method till date atleast for me. Use Iris for more security than regular face recognition. Also, with Iris, your device won't get unlocked while you're sleeping or with your photo. Use 'Intelligent Scan' for bit more ease (read about it here).
Smart Lock: It's a Google feature that can unlock your phone via On-body detection, Trusted places/devices and Voice Match. I used it once with On-body detection but couldn't impress me. Read about it here.
Secure lock settings: Disabled 'Make pattern visible'. Set 'Lock automatically' to 15 seconds in case I want to turn on the screen immediately without unlocking it. Anyways, 'Lock instantly with power key ' is enabled when I explicitly want it to get locked. Use 'Auto factory reset' carefully as someone could initiate this by simply making incorrect attempts. I've enabled 'Lock network and security' especially for theft use-case.
Always On Display: For customizing it, go to 'Clock style' below. Guide on AOD here and video here. With Pie, you now have new display mode as 'Tap to show' AOD for 30 seconds. I've set it to 'show as scheduled' such it doesn't glow when I sleep. Also, I get an idea that it's time to get to bed when AOD stops showing up (same for wakeup).
Content to show: 'Home button and clock' feel elegant for me.
Double tap Home button: Changed to 'Quick launch Camera' since I want it more often and I can turn on the screen by hard pressing anyways.
Auto brightness: Enabled. If you are okay with manually controlling this brightness less often by double tapping the AOD clock, disabling can save you some battery.
Show always; Set schedule: If you often check clock at night, you can enable the former. I've disabled AOD during my night sleep schedule so that I additionally get a hint when it's already time to go to bed and whether it's time to get up or not.
Turn off to save battery: Enabled. Do you need AOD in survival mode too?
Clock style: You can customize AOD with different clock styles, pictures, GIFs, Calendar and roaming clocks. Blue 'colour' gives a soothing effect every time I look at the clock for me. Similarly, you can customize your Lock Screen clock style here.
Roaming clock: I had to disable it as every operator in India puts SIM to Roaming mode when you're out of your circle (mostly defined to a state) and I get two identical clocks whenever I travel out of state.
FaceWidgets: Enabled all available choices and will decide about the reordering or need of each of them after I arrive at the use-cases. Same goes for you maybe.
Contact information: Do fill it. I've include my name and number on it. Can be useful when stolen, lost or misplaced. You can include email or alternative mobile number as well since the primary number would probably be in the device itself.
Notifications: I've kept the defaults. 'Hide content' if you don't want people to read your notifications. I rather do this on per-app basis (like messages for OTPs, sensitive apps). 'Notifications icons only' makes it similar to AOD style notifications and I want description of notifications once I go over my AOD screen. Toggle 'Transparency' if you find it difficult to read notification over the wallpaper or want your wallpaper to expose. 'Auto-reverse text colour' makes it easier to adapt with the wallpaper. You can define 'Where to show' your notifications here (AOD or Lock screen or both).
App shortcuts: Define the two shortcuts you see on the bottom screen corners while on lock screen. You can choose any app though default (phone and camera) works for me.
Biometrics and security
Biometrics: You can remove biometrics data and configure 'Samsung Pass' to use these here. You can enable 'Screen-on' scan for making the device scan for your face/iris as soon as screen turns on. This increases brightness immediately while it's scanning (can be annoying) and will drain some battery. 'Samsung Pay' works only with 'Fingerprint' and 'Iris Scanner'. Try different ' preview screen mask' for 'Iris Scanner'. In 'Fingerprint Scanner', you can add as many as 4 fingerprints (reserve one for Secure Folder). Put your finger on the reader and you can see the detected one highlited.
Screen transition effect: Disabled as I want things at fastest.
Google Play Protect: Enabled. Read more here.
Find My Mobile: 'Remote controls', 'Google location service' and 'Send last location' enabled. This should be the first things to review once you buy the device. Prepare yourself with a demo on findmymobile.samsung.com.
Security update: Shows the patch level and gets updated with 'Software Update'.
Samsung Pass: Similar to 'Google Smart Lock' for passwords but with biometrics and less support as of now.
Install Unknown Apps: Allow/Disallow existing apps to install apps from APK.
Secure Folder: The replacement for Samsunh My Knox. Must use feature to serparate your very private and confidential part of the phone. Guide here and video here.
Secure startup: Disabled for me. Should be enabled if you want your SIM, notifications, alarms and anything related to device startup not to start without passing the lock screen after the device boots up. For the kind of short-term memory loss I have, I want to call my phone or want it recieve inputs if in any case it gets misplaced with maybe low battery.
Encrypt SD card: Okay, so your phone is secured by Knox or 'Device encryption'. What about your SD card? Anyone can take it out and access your data, right? Encrypt it here and it won't be accessible to any device beside yours. Be careful to decrypt it in case you want to use it somewhere else or even when you are going to format your device.
Other security settings: 'Set up SIM card lock' disabled (same reason as in 'Secure startup'), 'Make passwords visible' disabled, 'Security policy updates' auto update enabled (Here is what are these), 'Send security reports' enabled. Set 'Device admin apps' with care (Learn about them here in case you haven't). You need to remove an app from here before uninstalling it. 'Creditial Storage' for CAs and user certificates (Learn more about CAs here). 'Pin windows' is a very useful feature for me. In cases where you need to give your device to someone (for like watching a movie or seeing the gallery), if this is enabled with 'ask for pattern before unpinning', when you 'pin' that app (video player or gallery), people will have to pass the lock method to get out of that app. Configure which apps can have 'Usage data access', 'Notification access' and 'Do not disturb permission'.
Location:
Allow apps and sites to detect your device's location. I've enabled it since I use too much location-specific content. You can turn it off if you suspect your dad working in NSA (approx locality can still be tracked through IP, use VPN).
Locating method: Change the method as per your requirements. I use 'High accuracy' while you can use 'Battery saving' to save a significant amount of battery that GPS uses. I simply turn off 'Location' from the notification bar when not needed or during survival mode.
Improve Accuracy: You can turn this off for WiFi and BT in case you don't want apps to override your decision of not making them search for WiFi or BT when you have explicitly turned them off!
Recent Location Requests; Location Services: Do review the apps that your girlfriend may have installed in your phone; Do review Google Location History and Sharing settings.
App permissions; Permission usage monitor: You can review the 'Permission History' here and enable/disable notifications for permission access on per-app per-permission basis. You suspect an app tracking your location occasionally and want to prove this instead of not granting it the permission? You can do it here.
-- Reserved for FAQs --
Why are you posting this??
There's a very good "USER MANUAL" on the "Samsung"-site available:
User Manual Samsung Galaxy Note9
henklbr said:
Why are you posting this??
There's a very good "USER MANUAL" on the "Samsung"-site available:
User Manual Samsung Galaxy Note9
Click to expand...
Click to collapse
You have commented the same query on each of my parts. I have already answered you here where the similar discussion is already going on. Let's discuss there and keep this thread clean. Also, the 'why am I posting this' is already described in the Introductory Post.
thanks, op for the posts, very useful

Greyscale display mode on Note 9 Pie variant

When I had a OnePlus I would use it's greyscale display feature quite often, very useful for power saving etc.
I am aware that within Google devices running Pie that a greyscale option is available along with Do Not Disturb.
This feature does not appear to be ported over the the Samsung Note 9, which is a shame.
Does anyone know of a third party app or Tasker feature that could enable greyscale mode on the Note 9 where required?
Thx
You can enable Monocromacy in the Simulate colour space option in Dev options and probably get a similar effect.
Go to settings -> accessibility -> visibility enhancements -> colour adjustment , turn it on and select greyscale.
baferdi said:
Go to settings -> accessibility -> visibility enhancements -> colour adjustment , turn it on and select greyscale.
Click to expand...
Click to collapse
Many thanks for the tip. This achieves the desired result but is a bit fiddly, do you know if this is accessible via Tasker, or does a shortcut exist?
KevQuoi said:
Many thanks for the tip. This achieves the desired result but is a bit fiddly, do you know if this is accessible via Tasker, or does a shortcut exist?
Click to expand...
Click to collapse
I made my own Tasker task shortcut on the main screen for this purpose.
The task only uses one action:
Add action -> Settings -> Custom setting
Type: Secure
Name: accessibility_display_daltonizer_enabled
Value: =:=toggle=:=
If it doesn't work for you, you can try finding the correct custom action with built-in Find function.
I see you got an answer regarding tasker. I can't help with tasker cause I've been too lazy to dig into it yet
KevQuoi said:
Many thanks for the tip. This achieves the desired result but is a bit fiddly, do you know if this is accessible via Tasker, or does a shortcut exist?
Click to expand...
Click to collapse
Under the accesibility settings go to advanced settings, from there you can set the power + vol up shortcut to control the monocromacy. I've gotten quite used to this function on a OnePlus 6 and have been using it this way on the Note 9.
I think the OP6's reading mode gave it a yellowish, e-reader like tint though, which made it better imo.

Can Tasker create an icon to set the volume to a specific value...

...and to set the brightness to a specific value? I can do this easily in Windows, but not in Android.
Perhaps you figured it out by now, but just in case, the answer is definitely yes, I use that very functionality for brightness on my phone:
1. Create a new task
2. Add a "Display Brightness" action to this task (the value in this action doesn't represent percentage, so you might need to experiment with the number to get the desired brightness)
3. Add a "Tasker Shortcut" widget to your home screen. It will lead you to select the name of the task you created.
-It will also require you to select an icon for the widget, which you will do with the 9 squares at the bottom of the task edit screen (I already selected an Android robot icon in the picture).
-When adding the widget, you may also encounter an error message requiring you to open Tasker and exit with the back button to close it out properly in order for the widget to work.
There would be a similar process for volume, but you'd have to choose the appropriate action for which volume you want to adjust: ringer/system/media, etc.
Yes, I did figure it out, but thanks for posting that clear explanation, which is rare. It will probably help someone.
My most interesting program so far is a reliable way to turn the display off and on automatically to save battery power and, more importantly, to extend the lifetime of the power button.
Even with a reliable program, though, Tasker sometimes delays responding when it is closed and the display is off, so I've found that Tasker must be left running all the time. This is easy to arrange: in Android task viewing mode, click the lock icon at the top right of the screen view pane so that it becomes solid.
Such locks persist forever, I think, and are therefore quite confusing to newcomers to Adenoid, I mean Android.
You're welcome. Hopefully it might. I sympathize with the new user, since often it's difficult to get a solid, helpful answer from an advanced user regarding a beginner's topic.
As for Tasker being killed on occasion, unfortunately the circumstances surrounding that vary dramatically between devices. For example, whatever lock icon you're talking about to fix the issue on your device is not on my phone at all, so it would not work as a solution for me.
Do you have the option to "Use reliable alarms" in Tasker? I'm not sure if its presence varies between Android versions. I have that option set to "always"*, and I've never had a single time where Tasker fired late or was killed. It uses a persistent system alarm to keep tasker "in mind" all the time.
*And battery optimization for Tasker turned off, of course
david0001 said:
Yes, I did figure it out, but thanks for posting that clear explanation, which is rare. It will probably help someone.
My most interesting program so far is a reliable way to turn the display off and on automatically to save battery power and, more importantly, to extend the lifetime of the power button.
Even with a reliable program, though, Tasker sometimes delays responding when it is closed and the display is off, so I've found that Tasker must be left running all the time. This is easy to arrange: in Android task viewing mode, click the lock icon at the top right of the screen view pane so that it becomes solid.
Such locks persist forever, I think, and are therefore quite confusing to newcomers to Adenoid, I mean Android.
Click to expand...
Click to collapse
Enabling Use Reliable Alarms doesn't help. I think at this point I would say that getting Tasker to work when the display is locked is not obvious. Perhaps it is documented somewhere.
Basically, the bad symptom is as follows: after the display has been locked for a few minutes, moving the device fails to turn the display on again. Something kicks or locks Tasker out, but only after more than just a few seconds.
Sorry about not realizing that locking an app in memory is not part of Android. I'm using an inexpensive TCL A3 device sold by Tracfone. Locking is nice when you want to avoid startup delays for a task.

Tasker keep screen on Android 12 issue

Hi,
I have set up the display timeout option with the settings below but it doesn't seem to work. I am using an oppo phone on Android 12.
Create a new task. Select the “+” button. Select “Display” followed by “Display timeout” Select the time span you want to set and then save. Now select “Profile” and click “+” and then “Applications” Mark the applications for which you want to activate this Tasker profile.
Then I open the app but after 15 seconds the screen turns off which is the default device screen timeout.
Is there no way to override this? Maybe get tasker to somehow keep interacting with the screen to keep it on?
I've tried this on a few apps and have got two different messages..
One says screen will stay on for 15 seconds which is the system screen time out.
Other says tasker will keep screen on but still times out after 15 seconds.
Really want this to work as some apps like games I don't want timing out after 15 seconds and I don't want to increase the system time to couple of mins for every app.
Hi,
I have the same problem on my OPPO A74 with Android 11 ((ColorOS Version V11.1). It seems impossible to create a task to change the screen time out; not in connection with a profile, shortcut or widget. The amazing thing, though - when you test the task in Tasker it works perfectly fine.
Media Volume, I think, also doesn't work. Other app connected profiles like autorotate or display brightness work well. I wanted to test more but I can't find the time.
I really miss the screen timeout though. It drains the battery too much to set it constantly to 15 minutes or so, but for some apps less simply is annoying.
The developer created some apk to help with some OPPO related problems, unfortunately, it didn't help with this one (sorry, I can't remember exactly what it was).
A kind of workaround: Once you've activated the Developer Options an your phone you can enable "Keep screen on while charging". When you need longer screen time, just plug into a charger.
But using a Tasker Profile would be much nicer.
Hope somebody knows a better trick.
Not sure if following could help your situation ( only for your gaming situation )
Create a new Profile, choose > apps > add your game apps in it. click left top arrow when finisning add gaming apps.
Tasker will pops-up task list > creat new task > Screen > Turn on.
** when above profile is complete , click the task when you are still in Profile list. Hold the task, it should pops-up with option exit task. Choose this as exit task.
Play around to see if this profile is working when gaming apps in foreground, screen never turn off.
EDIT: Try first not move the task as exit task. ( make the task as normal entry task )
eeeemc said:
Not sure if following could help your situation ( only for your gaming situation )
Create a new Profile, choose > apps > add your game apps in it. click left top arrow when finisning add gaming apps.
Tasker will pops-up task list > creat new task > Screen > Turn on.
** when above profile is complete , click the task when you are still in Profile list. Hold the task, it should pops-up with option exit task. Choose this as exit task.
Play around to see if this profile is working when gaming apps in foreground, screen never turn off.
Click to expand...
Click to collapse
Thanks for your reply.
Creating the profile is not the problem. It just seems that Tasker cannot change the system's setting. As mentioned, there is no problem when you create a profile allowing the screen to rotate using a speciffic app (and others as well ) I have no idea, why it does not work for the screen timeout.
Dreamcatcher0664 said:
Thanks for your reply.
Creating the profile is not the problem. It just seems that Tasker cannot change the system's setting. As mentioned, there is no problem when you create a profile allowing the screen to rotate using a speciffic app (and others as well ) I have no idea, why it does not work for the screen timeout.
Click to expand...
Click to collapse
I use no screen timeout, I use "screen turn on" in your situation as my op., enough I've not tried it on my Samsung A71.
eeeemc said:
I use no screen timeout, I use "screen turn on" in your situation as my op., enough I've not tried it on my Samsung A71.
Click to expand...
Click to collapse
"Display / turn on" works fine when I want the screen to turn on with a notification. But the screen turns dark after the system timeout has passed. I've also tried "Display / Stay On / with Wireless, AC or USB Power" and with the AutoInput Plugin "Screen Off Or On: Turn On / Timeout Never" but the screen always turns dark.
Those Profiles always worked on my other Smartphones (LG -D405, LG-K10 and Moto G6). I believe, it's the ColorOs that's causing the trouble.
Dreamcatcher0664 said:
"Display / turn on" works fine when I want the screen to turn on with a notification. But the screen turns dark after the system timeout has passed. I've also tried "Display / Stay On / with Wireless, AC or USB Power" and with the AutoInput Plugin "Screen Off Or On: Turn On / Timeout Never" but the screen always turns dark.
Those Profiles always worked on my other Smartphones (LG -D405, LG-K10 and Moto G6). I believe, it's the ColorOs that's causing the trouble.
Click to expand...
Click to collapse
below is a task ONLY FOR ROOTED DEVICE., no harm to try even if your's not root.
New task , run shell command , in the command input
there is a button 'use root' , check that button also.
settings put system screen_off_timeout 200000
** 200000 I'm not sure sure equals to how many second., just give it a try and if you get a longer screen on time from your issue it means it is working.
also, make another separate task, search for 'custom setting'. look up from there I thingk it is in system something about screen timeout.
EDIT: run shell command task suggest you run it manually., than see if it works. if not, restart device to check if it requires a restart in order to accept new timeout settings.
eeeemc said:
below is a task ONLY FOR ROOTED DEVICE., no harm to try even if your's not root.
New task , run shell command , in the command input
there is a button 'use root' , check that button also.
settings put system screen_off_timeout 200000
** 200000 I'm not sure sure equals to how many second., just give it a try and if you get a longer screen on time from your issue it means it is working.
also, make another separate task, search for 'custom setting'. look up from there I thingk it is in system something about screen timeout.
EDIT: run shell command task suggest you run it manually., than see if it works. if not, restart device to check if it requires a restart in order to accept new timeout settings.
Click to expand...
Click to collapse
I feel like I'm in Star Trek - "To boldly go, where no one has gone before" XD
When I try your suggestion, I only receive the message that my device isn't rooted.
Btw, for some tasks it is necessary to enable the Write Secure Setting Permission (f.e. Set Assistant), where xou have to setup ADB on your PC. Would such a procedure be registered by the phone as rooting? Anyway, I don't think I would dare to do something I know so little of.
Another solution I was thinking of, is it possible to create a tasker quick tile/ quick setting to change the system screen timeout.
So instead of having it change for certain apps which isn't working at the moment.
Maybe if we can change it from the system so will be for all apps. You can create two separate quick tiles to toggle between different screen timeout settings.
The newest version of Tasker (6.0.9) comes with Tasky.
Tasky offers the possibility to activate premade profiles. One of them is "Keep Display Awake For Apps". And that one works with my OPPO Phone.
I also tried "Auto-Mute Apps", another profile I couldn't get working. It also works fine.
To switch between Tasker and Tasky you just have to click on the "Three-Dots-Button" in the right top corner. It's not like switching apps but using different user interfaces.
Good luck!
- Sorry to say, but this seems to work for some apps and not for others. But at least sometimes it does work.
Thanks for replying back to this thread to inform me. I tried it and it works for the app I was trying to make it work for which is good! Makes it so much easier now.

Categories

Resources