how to prevent screen from dimming? - Tasker Tips & Tricks

I have a samsung galaxy tab 2 p3100. It is running android 4.4 (jelly bean). It is rooted, and, I have tasker installed on it.
I am also using this tab as a web cam. So I have IP Webcam software installed (free version). While this web cam is streaming (through the front-facing cam) I can put the app in the background, and, bring up another app in the foreground. Therefore I have opened the browser, and, displayed a web page that shows a clock.
Additionally there is a mqtt client (with tasker integration) also running.
IP Webcam while its running doesn't allow the device to lock itself, and, keeps the display always-on. Even though I have disabled auto-brightness, the screen dims a bit; the display is still on, but, I cannot read the clock from far off.
Now while the phone is in this dimmed-state, I have setup a tasker mqtt event. It listens to a specific topic. On receiving a mqtt message of that topic, it runs a task that sets brightness to a value (a number between 0 - 255), which I specify via the mqtt message payload. So if I specify a high brightness value (like 200), the screen brightens up; but for a short duration. I am guessing the duration that it remains bright has something to do with the display timeout setting.
So what do we do to keep the display from dimming?

deostroll said:
I have a samsung galaxy tab 2 p3100. It is running android 4.4 (jelly bean). It is rooted, and, I have tasker installed on it.
I am also using this tab as a web cam. So I have IP Webcam software installed (free version). While this web cam is streaming (through the front-facing cam) I can put the app in the background, and, bring up another app in the foreground. Therefore I have opened the browser, and, displayed a web page that shows a clock.
Additionally there is a mqtt client (with tasker integration) also running.
IP Webcam while its running doesn't allow the device to lock itself, and, keeps the display always-on. Even though I have disabled auto-brightness, the screen dims a bit; the display is still on, but, I cannot read the clock from far off.
Now while the phone is in this dimmed-state, I have setup a tasker mqtt event. It listens to a specific topic. On receiving a mqtt message of that topic, it runs a task that sets brightness to a value (a number between 0 - 255), which I specify via the mqtt message payload. So if I specify a high brightness value (like 200), the screen brightens up; but for a short duration. I am guessing the duration that it remains bright has something to do with the display timeout setting.
So what do we do to keep the display from dimming?
Click to expand...
Click to collapse
Change screen timeout through Tasker, or use Auto input add-on to virtually click the screen every X seconds to keep the screen on full brightness? Grtz, Eric
Verstuurd vanaf mijn SM-N960F met Tapatalk

Related

Browser Screen brightness is not maxed (browser locked-setting)

I'm not sure if this has been brought up before, but I wouldn't be surprised if it was missed. I am the type of user who likes to use the phone at full brightness, as it does not seem to have a huge negative impact on my battery life in day to day operations.
I was looking carefully at the browser on the Galaxy and wondered why the whites looked so dimmed in comparison to other parts of the operating system.
I had already done the following:
1. Turned the OS brightness all the way up.
2. Turned browser brightness all the way up.
3. Disabled the screen power saving mode.
I then downloaded a flashlight application and maxed it to 100% while switching to the browser with the Home key multitask, and going back and forward between the flashlight app and the browser app, it is very clear that the browser is not pushing max brightness. Even though the brightness settings on both the OS and the browser are maxed, it seems as though the browser is capped to 80% brightness or so.
My friend also verified this during his test run, as he has just bought the Samsung Vibrant and noticed the same thing. I understand many will just leave the auto-brightness setting on, but that's not really addressing the issue here.
Is there a way for an XDA developer to correct this issue through a patch or ROM?
thanks
I checked with the shell and when brightness is at 100% it has an absolute value of 255, the same when I'm at the browser set with full brightness, so it seems it's working as it should.
You can check it with this command
Code:
cat /sys/devices/platform/s3cfb/spi_gpio.3/spi3.0/blacklight/s5p_bl/actual_brightness
darksnarfer said:
I checked with the shell and when brightness is at 100% it has an absolute value of 255, the same when I'm at the browser set with full brightness, so it seems it's working as it should.
You can check it with this command
Code:
cat /sys/devices/platform/s3cfb/spi_gpio.3/spi3.0/blacklight/s5p_bl/actual_brightness
Click to expand...
Click to collapse
I don't know, I experience the same thing as the OP. Everything's bright, except when surfing the web.
Same issue here. I use Opera in bright daylight.
Sent from my GT-I9000 using XDA App
If you go in to the brightness settings there is an option at the very bottom called "Power saving mode". I'm not sure if that is having any effect on the browser.
Thanks for the numbers, but I gotta say, just comparing the flashlight app and hitting the back arrow to toggle to the browser, it is beyond obvious that the browser is not as bright as the flashlight application. I used google with it's white background and zoomed in to an area that was just white to avoid other distractions.
This is the best way to test since there will be no transition in between the application toggle and you see the screen dim easily.
As indicated by my original post, I have also turned off the power saving feature so that is not a concern. Someone did say that the Behold 2 has the same cap for their browser and that this is a samsung specific setting that's probably there to save battery. I haven't been able to confirm it on that phone yet but just give the flashlight test a chance and you'll see.
oh one last thing i noticed is, when going from the browser back to the flashlight, sometimes the flashlight app is also dimmed at the same level brightness as the browser, but tapping the screen 'wakes' up the app into full brightness.
TGalaxy browser brightness
To me it's very obvious that the browser is dimmed down, I'd say more than to 80%... Having google as the default homepage couldn't make it more obvious when opening the browser! Samsung obviously thought that no one with a decent eyesight will buy their phone. Or anyone who feels capable of managing their phone's battery life themselves.
It's just one of those niggling things that had to be included, lessening the experience of an otherwise rather breathtaking phone. Another one is the compulsory vibration when charging is finished - makes me wonder when others, or the developers for that matter, charge their smartphones! I charge them overnight, and of course every night... or at least used to, as with the Galaxy S, I can no longer sleep.
I think I've been through every menu possible to change these couple of features, with no success... if anyone knows anything, please share.
It happens on the dim-side, too
I have the same problem, but on the dim side. The browser brightens the screen when it comes on if you have the brightness set to zero. I like it dimmed all the way at night if I'm reading in bed when the lights are out and my partner is asleep, but it keeps turning it up so it's pretty bright in the pitch dark. Arrgh. It's my phone, can't I set it the way I want? Grr.
I've read that there are limitations on how much the screen dims and brightens unless you have a rooted phone and you use an app that's not built into the OS.
I rooted mine and there are some configuration apps that will set it to 0, but I think the built-in operating system slider doesn't go all the way to zero and might not go all the way to 255 when you slide it to the very edges. Supposedly it only goes to 10 on the low side from the notes on some apps.
So, probably it's a similar limitation on the slider for the screen brightness in the browser. We're probably stuck with this problem until someone writes an app that lets you change this setting to any value between 0 and 255 since the default sliders don't allow the low side and I'm guessing not the high side either.
So . . . any android developers out there, it would be cool if you could make an app to change this setting if it's available programatically somewhere.
I tried the "Dimmer" and "Brightness!" apps from the market. But none of them 'Keep' the brightness at the minimum always.

[Android 2.1+] Total Screen Filter (updated on 19 October)

*** WATCH VIDEO DEMO !!! ***
This is the easiest and coolest way to apply a screen shade to your phone screen !
Applies a shade that acts as a dimmer to ensure your eyes don't hurt, beyond lowest brightness settings. Great for low light gaming, web browsing, and eBook reading. Saves battery life for AMOLED displays!
Control the filter level with a customizable bar that can be accessed from any application you're in.
Allow to set individual settings for each application in part.
Set custom picture, tiles and more.
Available on Market:
https://market.android.com/details?id=alex.munteanu.tsf
Log changes:
19/10/2012 - Version 1.4
Added the option to move the filter bar up or down from the center position.
Minor bug fixes.
20/04/2012 - Version 1.3
New option to allow the Screen Filter value reach 100%. Use this option carefully !
26/02/2012 - Version 1.2
Added Tasker/Locale plugin !
28/01/2012 - Version 1.1
NEW FEATURE : Softkeys backlight control !
Turn off softkeys when screen filter value reach a configurable preset value
2 methods for turning off softkeys, if doesn't work on your device try the other one, and if both doesn't work please contact me.
Wow. I love the concept.
I didn't have a chance to check out the whole video (youtube was acting up), but does this have the ability to automatically dim the screen to a specified level based on what application I have open? For example, could I set it to automatically dim my screen to the lowest setting when I have my bank app open?
That would probably make this worthwhile.
mfitz8530 said:
Wow. I love the concept.
I didn't have a chance to check out the whole video (youtube was acting up), but does this have the ability to automatically dim the screen to a specified level based on what application I have open? For example, could I set it to automatically dim my screen to the lowest setting when I have my bank app open?
That would probably make this worthwhile.
Click to expand...
Click to collapse
Yes, you can set the level independently for each application, the color, the choice to show/hide the bar.
awesome thank you for advertisment of this app
Version 1.1 is out :
NEW FEATURE : Softkeys backlight control !
Turn off softkeys when screen filter value reach a configurable preset value
2 methods for turning off softkeys, if doesn't work on your device try the other one, and if both doesn't work please contact me.
muntos said:
*** WATCH VIDEO DEMO !!! ***
This is the easiest and coolest way to apply a screen shade to your phone screen !
Applies a shade that acts as a dimmer to ensure your eyes don't hurt, beyond lowest brightness settings. Great for low light gaming, web browsing, and eBook reading. Saves battery life for AMOLED displays!
Control the filter level with a customizable bar that can be accessed from any application you're in.
Allow to set individual settings for each application in part.
Set custom picture, tiles and more.
Available on Market:
https://market.android.com/details?id=alex.munteanu.tsf
Log changes:
28/01/2012 - Version 1.1
NEW FEATURE : Softkeys backlight control !
Turn off softkeys when screen filter value reach a configurable preset value
2 methods for turning off softkeys, if doesn't work on your device try the other one, and if both doesn't work please contact me.
Click to expand...
Click to collapse
Purchased! Thanks..Just waiting for Goog to send it to my phone
Thank you also, if you like it please rate the application on the market.
Sent from my GT-I9100 using Tapatalk
youtube.com said:
Unfortunately, this video is not available in Germany because it may contain music for which GEMA has not granted the respective music rights.
Click to expand...
Click to collapse
could you upload the vid with another soundtrack?
The trial version is expired. Could you update it?
Trial of what... ? Total Screen Filter doesn't have a trial version , only Total Screen Control
Sorry, I did mean Control, posted in a wrong thread.
crimper said:
Sorry, I did mean Control, posted in a wrong thread.
Click to expand...
Click to collapse
I thought so...
There is a Trial of Total Screen on the Market, you can try that one also
muntos said:
I thought so...
There is a Trial of Total Screen on the Market, you can try that one also
Click to expand...
Click to collapse
I looked again and can't find it. There are only two other apps by you - Filter and Network Monitor. Unless it's not available for ICS devices.
crimper said:
I looked again and can't find it. There are only two other apps by you - Filter and Network Monitor. Unless it's not available for ICS devices.
Click to expand...
Click to collapse
The trial is published under a different account, just search in the market for "Total Screen Control" and you'll find also the trial version.
this is nice.,thanks ^_^ i will purchased this..
wow great idea, you are the best
Version 1.2 is out:
Added Tasker/Locale plugin !
thanks alot for posting, keep it up, you're doing great!
I just purchased the app. I like it, especially for the Tasker integration.
I was using the other 'Screen Filter' app for a while but it was
having full brightness flicker issues when I would have Tasker change
the filter % from one value to another. This was incredibly annoying.
I do have a MAJOR request though that I believe would help me truly
appreciate my purchase. The primary reason I use these filters is to
attempt to black out my AMOLED screen.....unfortunately, your Total
Screen Filter app maxes the filter at 94.12%. This is a huge problem
for me. Furthermore, your competitor (Screen Filter by haxor industry)
allows for dimming the screen even further then your app (they allow
for 2% filter....which is what you call 98% in your app....almost
pitch black).
I'm an optical engineer and work in extreme dark rooms alot. Sometimes NO VISIBLE LIGHT can be on in these rooms
while experiments are running...sometimes a very small amount is
acceptable.
So my DESPERATE plea for a feature request:
Allow for users to push the filter further beyond 94.12%....ideally a
full 100% black out. Because honestly, 94.12% is not enough at all for
my purposes. At least allow for a 98% filter so you can be equivalent
to your competitor's capabilities (which is a free app I might add).
I can understand your concerns with allowing this ability (people
unknowingly blacking out their screens). So maybe making it a
non-default ability would work perfectly. I use these filters with
Tasker and have it setup so I can easily remove the screen blackout
under particular conditions. Please help me out here. This ability
would really make me happy.
zhdenny said:
I just purchased the app. I like it, especially for the Tasker integration.
I was using the other 'Screen Filter' app for a while but it was
having full brightness flicker issues when I would have Tasker change
the filter % from one value to another. This was incredibly annoying.
I do have a MAJOR request though that I believe would help me truly
appreciate my purchase. The primary reason I use these filters is to
attempt to black out my AMOLED screen.....unfortunately, your Total
Screen Filter app maxes the filter at 94.12%. This is a huge problem
for me. Furthermore, your competitor (Screen Filter by haxor industry)
allows for dimming the screen even further then your app (they allow
for 2% filter....which is what you call 98% in your app....almost
pitch black).
I'm an optical engineer and work in extreme dark rooms alot. Sometimes NO VISIBLE LIGHT can be on in these rooms
while experiments are running...sometimes a very small amount is
acceptable.
So my DESPERATE plea for a feature request:
Allow for users to push the filter further beyond 94.12%....ideally a
full 100% black out. Because honestly, 94.12% is not enough at all for
my purposes. At least allow for a 98% filter so you can be equivalent
to your competitor's capabilities (which is a free app I might add).
I can understand your concerns with allowing this ability (people
unknowingly blacking out their screens). So maybe making it a
non-default ability would work perfectly. I use these filters with
Tasker and have it setup so I can easily remove the screen blackout
under particular conditions. Please help me out here. This ability
would really make me happy.
Click to expand...
Click to collapse
Hi, it will be implemented in the next version
Regards,
Alex

[Q] Tasker Profile help(Controlling app brightness based on time).

Hi I am new to Tasker and I found it is really really a helpful app and indeed is only limited by your imagination. I did setup some basic profiles like controlling brightness, rotation and volumes. I am really getting some creative ideas to speed up my tasks. However I'm stuck in setting up a profile correctly so I'm requesting for a help.
Requirement- launching of an app (like YouTube, gallery, mx player ) should change the brightness. But at day the brightness should be higher and at night it should be lower. I'm able to change the brightness when app is launched, but can't figure out how to deal with day night time thing. Please help.
Thanks.
Twilight Plugin from Google Play
I use tasker to turn bluetooth on when i am not at home or at work. I set up a profile to turn the brightness up when bluetooth is on and the twilight plugin says it is daylight.
I also have another profile which turns the brightness down when i am connected to the car bluetooth and the twilight plugin says it is dark outside.

Setting Screen Dim Amount When Inactive?

I would like to use my fire tablet as an alarm panel. Found a few apps that display full screen web pages, that works good. In the development options I turned on "stay awake" so the panel could always be on. After like 30 seconds of no using the screen just barley dims. I would like to dim the screen as much as possible after no use. Anyway to override this amount? I found several apps that can set the dim amount, but just by a schedule, not by inactivity. Or even a web browser app that can control the dimming when not in use?
Thanks a bunch!
Coods said:
I would like to use my fire tablet as an alarm panel. Found a few apps that display full screen web pages, that works good. In the development options I turned on "stay awake" so the panel could always be on. After like 30 seconds of no using the screen just barley dims. I would like to dim the screen as much as possible after no use. Anyway to override this amount? I found several apps that can set the dim amount, but just by a schedule, not by inactivity. Or even a web browser app that can control the dimming when not in use?
Thanks a bunch!
Click to expand...
Click to collapse
Unfortunately, not possible on this device. Minimum brightness level set in kernel (possibly a panel/controller limitation) with no known workarounds (via Xposed). To date this is the only device I own that exhibits this behavior.
Thanks for that info Davey. Maybe I'll see if I can create my own app with a webview that will dim when not touched for a period of time. Since it seems an app can control the dim level. Thanks again.
Coods said:
Thanks for that info Davey. Maybe I'll see if I can create my own app with a webview that will dim when not touched for a period of time. Since it seems an app can control the dim level. Thanks again.
Click to expand...
Click to collapse
Ah - so you are not experiencing any dimming vs dissatisfied with the minimum level. Couple thoughts:
- might be able to use an automation tool like Macrodroid or Edge (w/Xposed) to dim the screen on a particular action like last user action or time of day; Tasker (a fan favorite) can do this as well but is overkill for your needs IMO
- blue light filters can emulate deeper dimming levels but you won't realize the associated battery saving as backlight level remains untouched; the again you device is likely plugged in when used as an alarm clock
Unfortunately Macrodroid and Tasker can not listen for inactivity/idle events. Sounds like an Android limitation: http://macrodroid.freeforums.org/inactivity-period-as-trigger-t86.html
Not sure what Edge (w/Xposed) is, not finding that?
Thanks Davey!
Coods said:
Unfortunately Macrodroid and Tasker can not listen for inactivity/idle events. Sounds like an Android limitation: http://macrodroid.freeforums.org/inactivity-period-as-trigger-t86.html
Not sure what Edge (w/Xposed) is, not finding that?
Thanks Davey!
Click to expand...
Click to collapse
Edge is a module for Xposed Framework. You might also consider a different trigger sequence than inactivity/idle, eg: touch, activity atart or time of day. Might need to get a little creative with the thinking

Honor Play screen dimming

Hello, I have disabled adaptive brightness and when I open some apps, the screen starts automatically dimm a bit. When i exit the app, the brightness returns to normal. For example it does in Chrome, messenger, stock message app, stock dialer, youtube and many more. It does not do in Gallery, weather, camera. It's absolutely useless when im going to type in messenger and screen dimms so i can see it worse. Also i am watching youtube and screen dimms. I cannot understand what is this supposed to mean such nonsense feature.
I want to ask you if somebody of you has faced with this and if he figured it out somehow.
Ive already written to honor support , they answered nothing to the piont.
I was figuring out that when i turn adaptive brightness on, this doesnt do, the screen doesnt dimm when i open any app, but adaptive brightnes randomly fades my brightness setting after switching off the screen.
All i would like is what attributes i have to set to some app that i dont want to dimm. I cannot find this out.
Any suggestions thankfull.
"Online videos and games consume a significant amount of power and may cause your phone to heat up. As a result, your phone automatically decreases the screen brightness to prevent your phone from overheating. The brightness will return to normal when your phone cools down.
Some apps automatically adjust the screen brightness for better readability. For example, when you open Contacts or Messaging, the screen brightness is adjusted automatically even when automatic brightness is disabled."
" This function cannot be disabled"
"The screen changes color in direct sunlight.
When the ambient brightness reaches a certain level (such as direct sunlight), the screen brightness and contrast are automatically increased for better readability. This feature cannot be disabled."
Yes and this is bad. Something like answer from honor support. But also messenger goes darker and it has nothing to do with overheating. When i switch on the adaptive brightness this dimming doesnt do with any app. Also with adaptive brightness off some apps do not dim as if they'd have an exception of this. It is very bad that it cant be disabled this makes this phone completely useless for everyday use because readability goes worse when it goes darker.
Same here
Yup, I have the same. I just keep the Automatic adjustment "on" so it stopes dimming. Which is anti-intuitive. You would expect this dimming beeing caused by that Automatic setting not the opposite. Let's hope they will sort it soon.
Unfortunately its the special feature implemented in firmware called "eye care" as they replied me from honor support. It needs to tell them to switch it off at [email protected]
It seems that Velis Auto Brightness app from Google Play Store does the trick (Honor 10 Stock Pie).
Settings:
Automatic brightness: ON
track light in graph: ON
SETTINGS: (advanced):
Automatic brightness: ON
Disable system handler: ON
Start when screen turns ON: ON
Interactive notification: ON
All other settings off/default.
When you turn off the screen and turn it on, go for the first time in notification area and set your desired value in Velis.
Turn off automatic handling of this app in battery section (app start).
bohusk said:
Hello, I have disabled adaptive brightness and when I open some apps, the screen starts automatically dimm a bit. When i exit the app, the brightness returns to normal. For example it does in Chrome, messenger, stock message app, stock dialer, youtube and many more. It does not do in Gallery, weather, camera. It's absolutely useless when im going to type in messenger and screen dimms so i can see it worse. Also i am watching youtube and screen dimms. I cannot understand what is this supposed to mean such nonsense feature.
I want to ask you if somebody of you has faced with this and if he figured it out somehow.
Ive already written to honor support , they answered nothing to the piont.
I was figuring out that when i turn adaptive brightness on, this doesnt do, the screen doesnt dimm when i open any app, but adaptive brightnes randomly fades my brightness setting after switching off the screen.
All i would like is what attributes i have to set to some app that i dont want to dimm. I cannot find this out.
Any suggestions thankfull.
Click to expand...
Click to collapse
Check in the developer settings for the current value of "Increase readability under sunlight".
Dossy1 said:
It seems that Velis Auto Brightness app from Google Play Store does the trick (Honor 10 Stock Pie).
When you turn off the screen and turn it on, go for the first time in notification area and set your desired value in Velis.
Click to expand...
Click to collapse
Hello, that setting in notification area really worked for me, thanks. But the slider Is in steps 66% , 73%, 80% I cannot adjust it per one % but nevermind, at last this helped me.
edit: after one day testing I noticed that it doesnt work. It still dimms the apps.
bohusk said:
edit: after one day testing I noticed that it doesnt work. It still dimms the apps.
Click to expand...
Click to collapse
Hi, it's a pitty that it does not work.. Maybe Velis app is killed by app manager? As i wrote, try to disable any battery management for Velis app. Do you see after that 1 day Velis slider in notification area? If not, it is likely killed by system app manager.
And yes, it is true that the screen can be adjusted only bys steps.
In my case more than a week for honor 10 (EMUI 9) with Velis and still no any screen dimming issues in any app.
Dossy1 said:
Hi, it's a pitty that it does not work.. Maybe Velis app is killed by app manager? As i wrote, try to disable any battery management for Velis app. Do you see after that 1 day Velis slider in notification area? If not, it is likely killed by system app manager.
And yes, it is true that the screen can be adjusted only bys steps.
In my case more than a week for honor 10 (EMUI 9) with Velis and still no any screen dimming issues in any app.
Click to expand...
Click to collapse
Velis was running but the apps start to dimm anyway I dont know what happened. Even when I set brightness in notification area in Velis, apps dimmed.
Download Lower Brightness Filter :
https://play.google.com/store/apps/details?id=nu.lower.brightness&hl=en_US
Enable the permission and set brightness to 100%.
Then select brightness in phone to auto and restart the phone.
Then select desired brightness.
edit : it doesnt work....
Turn on Advanced visual effect.
I used to have the same problem too. Simply just go to setting>smart accessibility>accessibility>Advanced visual effect>turn on.
If it doesn't work go to developer option and make sure the window animation, transition animation and animation duration are set to 1x.
To enable the developer option, go to setting>about phone>build number>tap until it shows u are now a developer.
Hope it does help u.
Spark Lee said:
I used to have the same problem too. Simply just go to setting>smart accessibility>accessibility>Advanced visual effect>turn on.
If it doesn't work go to developer option and make sure the window animation, transition animation and animation duration are set to 1x.
To enable the developer option, go to setting>about phone>build number>tap until it shows u are now a developer.
Hope it does help u.
Click to expand...
Click to collapse
Hello, I had it already turned on , in developer options I have all animations set to 1x, but it dimms the screen on my Honor Play with android 9.
Before we can fix that via ADB but now is not possible. If anyone has a better fix please share

Categories

Resources