yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] eng3:
I'm trying to use your app on my log gpad x 8.0 v521. It does not have an ambient light sensor. I go through the wizard, it asks if I want to use the camera. I say yes but in settings it claims I have no camera or any sensors
[Android Apps and Games] xdarthanonx:
Have you tried this? (manual)
[Android Apps and Games] eng3:
I did try what was suggested, toggling camera off and on but it didnt work.

But I did figure it out. One of the times, I accidentally toggled "V1" to "V2" and that seems to have fixed it.
[Android Apps and Games] velis74:
I'm working on this right now. But unfortunately it won't be any time soon as my work schedule is strained (understatement of the year :( ) right now.
[Android Apps and Games] eng3:
Well setting V2 caused it to work for me so that solved the issue. Maybe a note in the manual would help reduce questions.
[Android Apps and Games] cardinal4:
The developer support button is broken, it says Purchase Unsuccessful :(
[Android Apps and Games] velis74:
I went to verify in play console and it seems it's working. I received several this month. Please check your account.
[Android Apps and Games] cardinal4:
I've checked several other apps, i received the Play Store Prompt successfully. But not in this app.

Perhaps it's because I've bought the Developer Support option before?
[Android Apps and Games] koragg97:
Hello, just recently I started using this app and it's great so far. Could someone share their battery saving profile(s) or some tutorial explaining how to edit the graph manually via the option please? Also if there's a way to import profiles, would be nice to tell how when you share. Thanks in advance :)
[Android Apps and Games] Lexey77:
I have been using this application for a long time. was always very pleased. but now there was an android 8 (miui 9) and the application does not work. it's just a tragedy ...
[Android Apps and Games] patrickdrd:
is it some setting that makes my screen brighter when I receive a heads up notification? can I disable it somehow?

edit: maybe it's the no need to fix erratic reading?

many settings by the way, shouldn't there be an export function?
[Android Apps and Games] xdarthanonx:
If you have root, you can back up /data/data/com.velis.auto.brightness/shared_prefs/com.velis.auto.brightness_preferences.xml. Not quite an export function, but still...
[Android Apps and Games] patrickdrd:
I'm not, but anyway app was successfully backed up with adb
[Android Apps and Games] velis74:
A backup function has been in the TODO, like, forever. Perhaps I might tackle it during the next round of updates.
[Android Apps and Games] warface9991:
[MENTION=2424510]velis74[/MENTION] Hi. I can't open the app. It constantly stops working. I'm on 8.1 lineageOS
[Android Apps and Games] patrickdrd:
there are problems with the app in oreo, you can search the thread (or read play store comments)
[Android Apps and Games] warface9991:
It once had worked on previous lineageOS builds
[Android Apps and Games] patrickdrd:
so there should be a problem with this build, I guess you could restore to the previous one if velis is that important to you

I'm never a fan of these builds anyway... I don't have any time or mood to beta test roms
[Android Apps and Games] Pkt_Lnt:
I have run Velis AB since it was released and it works well. A few glitches were solved when users could provide logs. Have you gotten a logcat for [MENTION=2424510]velis74[/MENTION] when you open the app? Please do and post it here.

You can try Matlog or one of the others from the Play Store or XDA if you are rooted. If not roooed, here is a quick tutorial for one that works. :good:

I am now on stock non-root Oreo, Android 8.1, May 2018 security patch, Pixel 2 XL with no issues whatsoever.
[Android Apps and Games] patrickdrd:
wrong user quoted
[Android Apps and Games] Pkt_Lnt:
I was speaking to this:

I quoted precisely what I wanted to address. :)
[Android Apps and Games] patrickdrd:
yes but I don't have Oreo, neither problems either, anyway..
[Android Apps and Games] velis74:
The app will receive some much needed love in the "near" future, hopefully before Android 9 comes out. I've been redesigning the framework to (finally) properly support material and hopefully some other thingies will work again as well.

Other than that, I'm sorry to say I lack the resources to fight Google's constant efforts to kill off apps like this. If I heard correctly, with Android 9 the app will no longer have any option to work properly as background services will be banned altogether. We'll see, perhaps our luck will be extended for one or so version more :)
[Android Apps and Games] patrickdrd:
what the heck of an Android will that be without background services? this is ridiculous!
[Android Apps and Games] patrickdrd:
actually I see a problem: in amplify I see there are way too many services running of velis,

it has reached around 15000 in two days or so! amazing!

and they are two of them (autobrightness service and watchdog one),

the third behind velis is counted at 300!
[Android Apps and Games] patrickdrd:
and another issue:

I know nothing about brightness and lights,

so anyway, I like amoled dim but when I get out on the sun (my country is full of sun,

especially in the summer),

I can't see anything!

I tried s-curve and it didn't fit either
[Android Apps and Games] Pkt_Lnt:
Use Tasker to switch profiles based on whatever trigger works best for you. I have four profiles in Velis and use Tasker to switch based on home wifi, not home wifi. on mobile data, sunrise or sunset, etc.
[Android Apps and Games] patrickdrd:
I guess that might be a good idea, but I didn't like the fact that I had to deal a lot with it and that I was noticing it going crazy in amplify, so,I uninstalled it from that phone, on my other phone,I checked amoled bright and it works great, so I'm keeping it there
[Android Apps and Games] xdarthanonx:
Try using the manual graph editor to splice two profiles together. I've combined TFT normal and TFT bright:

Pt: 0.0000 13 [COLOR="SeaGreen"]# Increased dimness[/COLOR]
Pt: 6.0000 44
Pt: 9.0000 47
Pt: 14.0000 52
Pt: 20.0000 56
Pt: 30.0000 62
Pt: 46.0000 69
Pt: 68.0000 76
Pt: 103.0000 85
Pt: 154.0000 95
Pt: 231.0000 107
[COLOR="SeaGreen"]------------------< splice here[/COLOR]
Pt: 346.0000 146
Pt: 519.0000 161
Pt: 778.0000 180
Pt: 1168.0000 200
Pt: 1752.0000 223
Pt: 2700.0000 255
Pt: 15000.0000 255
[Android Apps and Games] warface9991:
Can someone share dimmed screen brightness setting? I use S-curve but it is too bright for me
[Android Apps and Games] cardinal4:
Not working on S8 lockscreen

Velis Auto Brightness is working fine during normal operations, but on the lockscreen it doesn't work, and instead uses the system brightness settings. Is there a way to fix that? Thank you!
[Android Apps and Games] warface9991:
I have the same problem on oreo
[Android Apps and Games] xdarthanonx:
Iris scanner?
[Android Apps and Games] cardinal4:
I don't use the iris scanner though. I only use facial recognition. And I've tried turning the facial recognition off but the phone still reads from the system brightness.
[Android Apps and Games] velis74:
Three possibilities:

1. You have lock screen in the excluded apps list

2. Your Android won't allow brightness adjustment on lock screen and overrides vab

3. Oreo doesn't allow brightness adjustments on lock screen and it is vab that silently adds lock screen to excluded apps list.

I'm suspecting the third, but i don't exactly recall. As I am currently abroad, I can't check, but i will when i come back home next week.
[Android Apps and Games] kamoco:
I like this fantastic app, and it work fine in Samsung galaxy Note 8 with oreo.

I use tasker to make quick tile to toggle VAB, but there is a small problem annoying me, when I unlock my phone screen and turn off the VAB (or switch brightness profile) right away by tasker, it'll delay about 5 second to turn off VAB.

Is there anyway to improve the response speed of VAB when unlock screen and toggle VAB (or switch brightness profile) by tasker right away?

for example:

A1: Automatic brightness [ Configuration:You're missing all the fun Timeout (Seconds):0 ]

or

A1: Select profile [ Configuration:max brightness Timeout (Seconds):0 ]

And, could add the feature that switch brightness profile by each app?

Best regards.
[Android Apps and Games] padiez:
Job

Hi. is it possible to work together the camera and the light sensor, as in the iphone?
[Android Apps and Games] velis74:
There should be no delay: VAB will respond immediately to any command from Tasker. It may be that command simply isn't issues when you want it to be?

I don't understand the question? You mean as in refining sensor's values with input from camera as well? This has been tried when camera was first being implemented and I found my math skills were insufficient for something like this. If you mean something else, please be more specific.
[Android Apps and Games] padiez:
Hi

Yes, I meant it. Sorry for my english :o
[Android Apps and Games] appro77:
I purchased and used Velis a couple of years ago and am thinking of going back to it on my OnePlus 6 instead of Lux. I've read user reviews saying that Oreo power management shuts Velis down even if battery saving is disabled for Velis. Is this true? Also does Velis work on Pie?
[Android Apps and Games] Pkt_Lnt:
I'm having issues on Pie with a Pixel 2 XL, it works standalone, for the most part. I use Tasker to change profiles based on sun rise/set, wifi connections, locations. Those are not changing the profiles in Velis, though I don't know if it is Pie or Tasker changes due to Pie that is the reason. Still trying to work through it.
[Android Apps and Games] appro77:
Ok, thanks. If it works standalone I'll give it a try on Oreo. OP6 will probably get Pie before too long.
[Android Apps and Games] Pkt_Lnt:
I ran it on Oreo for a long time with zero issues. It is Pie "improvements" that has mucked this up. :(
[Android Apps and Games] Pkt_Lnt:
I know you are working on updates with limited free time, and thank you for that. This is not urgent by any means, just updates on what Android 9/Pie is doing. Tasker changes to profiles are not working. I have a Dim, Curve, Normal (AMOLED) and Bright (AMOLED) profiles to change based on various triggers - sunrise, sunset, connected to certain WiFi SSID, at a couple geolocations, when Sleep as Android starts and ends (SaS has Tasker support as well).

Since I'm not rooted, I've run adb logcats, nothing in particular shows other than information lines (I/)..., so I'm stumped. I'm guessing it is something in the permissions restriction that Pie added. Here is a screenshot of what the main screen looks like 95% of the time, no idea why it sometimes clears to normal pre-Pie? :eek:
[Android Apps and Games] velis74:
I'm running it on Oreo no problem. The only unsolved problem is that it doesn't work on lock screen.

Let me see if any of my phones can get Pie yet. I have a ZE620KL which is supposed to be treble enabled, but I'm a bit skeptical + it's my main phone, so I'd hate to brick it. Will see about the rest of the junk here (which is much older).

There has been a similar report when Pie was nothing but an emulator image. Same as above, will try to fit Pie to one of my devices, see what happens. Then I will also be able to debug the tasker problem. I don't have a "not rooted" problem :)

EDIT - No luck: I will not flash Pie to my Asus as things are not working on it yet. I'm looking into buying a pixel, but they don't seem to want to drop prices for them :p The cheapest one I found was ~250€ and I need a few days to digest this number.
[Android Apps and Games] Pkt_Lnt:
Thank you, as I said, it is not urgent. I'm normally not much for widgets, but I have the VAB one on a second screen and can use it to change profiles when needed. This may well be a Tasker issue and not VAB, but it is not clear. The Pixel 2 prices have dropped some here in the USA, not sure how that works where you are. The new Google phones release in Sept or Oct will drop them more one would think.

Just FYI, there are many complaints of brightness issues with the stock Pixel 2 XL adaptive brightness, so this may be an overall Pie bug. I normally hold off on updates to v.0 releases and wait for v.1 or higher, but a couple promised updates got me to install 9.0. Now those updates are delayed. :eek: :rolleyes:
[Android Apps and Games] Looki75:
I love this app but it has a big issue with "Battery Optimization"...

I don't know if it is specific to my device (OnePlus3T)

or the android version (Odreo 8.0)

or the rom version OnePlus' OxygenOS 5.0.5

BUT... no matter if I click "no battery optimization" for Velis, it always ends up with it being "optimized" after a period of time (could be after reboot, could be after few hours... I couldn't spot any systematic behavior).

I tried to use Tasker to whitelist Velis at startup with shell action:

dumpsys deviceidle whitelist +com.velis.auto.brightness

BUT... this is not working at all (when I execute this, well, it keeps to be on "optimized")...

The only workaround I found is to create the following Tasker profile:

* Trigger: when screen ON

* Task:

1. Plugin-Velis auto-brightness OFF

2. Plugin-Velis auto-brightness ON

Kind of working, but putting a tad more burden on the system... which is already quite heavily solicited in my particular setup (with Tasker dealing with LOOOOTS of things on my setup).

Strangely enough, I have no issue at all on lockscreen where Velis works perfect (if not previously killed during doze).

And a tip if anyone needs it:

If you have an always-on function of some kind (OnePlus3T has something similar but which activates only when the phone is lifted) and if it the brightness of that "always-on" screen is not correct (too low, too high), then in Velis settings, activate the optional "actuate system brightness value" (my own translation back to English - will surely defer from what you read on your phone).

Bottom line: [MENTION=2424510]velis74[/MENTION], could you look into (and maybe solve?) that "battery optimization" issue?

Anyhow, best app of this kind! Keep up the great job!!!

:good:
[Android Apps and Games] Looki75:
Oh well Tasker's profile "off/on at screen on" doesn't work either...

Now I moved Velis to system apps and sells to work...

I will report later...
[Android Apps and Games] KaZo58:
i think it's the OxygenOS or maybe android 8. not only velis app is getting closed. i have PACE Car app, it'a getting closed WHILE it's running (recording) in the background. "not optimized" doesn't work rlly. another app like Amber weather can hold its weather status in notification bar. you can set the "priority" to high so it won't disappear from notification bar. it has something to do with notifications to hold them up there on higher priority(?)
[Android Apps and Games] velis74:
Of all the OnePlus devices, I can only get my hands on a 2 and a 5. Not sure if they behave the same as 3T. Plus, they are not mine, so I can only get for an hour at a time or so. Would that be sufficient to see whether they suffer from the same issues?

P.S. [MENTION=4403217]Pkt_Lnt[/MENTION]: Pixel 2 ordered and expected to arrive in 2 - 3 weeks time.
[Android Apps and Games] Looki75:
1h might be not enough.

But it could be enough to see the issue if you to into Battery/Battery Optimization and then 3-dots menu and then activate "advanced optimization". Kind of "aggressive doze" (OnePlus flavor/implementation).

Since I "systemized" velis with Magisk "Systemizer" module, it seems to work better...

i.e. when Velis is a system app, the OS seems to let it do its job...

However, I need 1 or 2 more days to make sure.

But so far its ok...
[Android Apps and Games] kinfolk248:
Would like to use this app and fine tune my auto brightest and possibly save some battery but I am too dumb to use this on my PXL
[Android Apps and Games] velis74:
There's no such thing as too dumb. There is only UX design failure :) Tell me about your problems?
[Android Apps and Games] kinfolk248:
Well what I would like is to have a 'better' adaptive/auto brightness because Google's is using a LOT of battery on my pxl. So I put it to amoled but i dont quite understand what to do after such. Do I leave it alone or go into phone display settings and adjust that one based on what I do within the app?
[Android Apps and Games] KaZo58:
i can't reproduce it. i mean, i don't know when the app (notification) disappear. sometimes it comes back automatically... or sometimes it disappears for hours. for example today it works for whole day.

i should try it as a system app, too. it will take some days to test.
[Android Apps and Games] velis74:
Well, adjust the curve to your liking, I suppose. No, don't go to phone's display settings, VAB overrides that one.

This became a problem with Android 5: The timers (for re-awaking the app) aren't reliable any more. No workarounds, no guarantees. I might at some point try and play with AlarmManager a bit more, but I'm not holding my breath for any improvements.
[Android Apps and Games] Looki75:
So after I wrote my post the other day, I realized that in Battery/Battery Optimization, I had the "advanced optimization" ACTIVATED. That might have been the reason I had issues with Velis being optimized all the time regardless me clicking on "Not optimize".

I switched-off that "advanced optimization" setting.

In order to have a clean experiment, I reverted Velis as a USER app (and not system).

So far so good, everything seems to work perfect.

In 1+ day of usage I didn't witness any issue.

I'll let you know if I have issues again, but so far it seems OK.

Sorry for bothering you with a non-issue...

Cheers
[Android Apps and Games] bigb2006:
Support for 19:9 aspect ratio

Is the app still under development? Can you add support for displays with 19:9 (1080x2280) aspect ratio?

In the app there is a black bar at the bottom. See the attached file.

Device: Xiaomi Mi A2 Lite

OS: Android One 8.1
[Android Apps and Games] drdieselal:
navigation buttons background

Great app! I have a small issue with the superdim mode though: when the overlay is turned on, the background of the navigation buttons is always black even on the homescreen or in the gallery, while without the overlay that background is semi-transparent or transparent. Other apps (well, not all of them, but I can give examples:)) using such overlays to dim the screen do not have such issue. Any chance this can be fixed? Using Lg g6 h870ds, android 8.0

Is there also a chance that some ways to control the superdim mode will be introduced? It would be very convenient if it was possible to use the app to stay out of the PWM brightness levels for OLED displays: for example, the screen uses the hardware dimming until some brightness is reached, and after that only the overlay is used to further reduce the effective brightness.
[Android Apps and Games] velis74:
This is not the case with my ZE620KL (android 8.0). I can't really imagine why you would get that black bar. I'm doing some adjustments for >=8.0 soon, maybe new build will take that issue away.
[Android Apps and Games] bigb2006:
Support for 19:9 aspect ratio

Most applications are OK, but some apps do it. For example: Skype for Business did it and after updating to API 26 it's ok.
[Android Apps and Games] Cryonics:
Far out! This is the best app for camera controlled brightness I've used. Just a bit of suggestion if you'd like! Perhaps it is time to update the notification brightness slider theme to more according to Google's material design? It's quite bit stick out like a sore thumb. Great experience overall, still
[Android Apps and Games] warface9991:
Why doesn't brightness setting of the app affect the lock screen brightness on oreo and pie? It is so disturbing
[Android Apps and Games] bigb2006:
The lock screen brightness

For the lock screen - Settings - Optional update system brightness setting. It works in oreo.
[Android Apps and Games] warface9991:
Unfortunately couldn't find any of that you had said. Could you please send screenshots of what you had meant
[Android Apps and Games] jaydee 77:
Second last option in list. Maybe you need to set settings mode to advanced.
[Android Apps and Games] warface9991:
Found it and it works but also it says that i may have little impact on battery. How much does it impact?
[Android Apps and Games] bigb2006:
Battery

On my phone (Xiaomi Mi A2 Lite, Oreo) it does not impact on battery.
[Android Apps and Games] velis74:
Got the Pixel 2. Can replicate the drawing issue.

I'll be spending a couple of days on VAB before new year. The TODO is HUGE and contains everything from backup / restore, more tasker integration, camera support down to small nuisances like notification theme or lack of 1x1 widgets. I won't be able to do them all, so - if you have a favourite, now's the time to mention it.
[Android Apps and Games] jaydee 77:
Fixing reported bugs has priority over adding new features.
[Android Apps and Games] velis74:
If you knew my age, you wouldn't be so bold stating this :p
[Android Apps and Games] jaydee 77:
Let me guess. 3 years between us? ;)
[Android Apps and Games] velis74:
Wow, what are you? Clairvoyant or something? ;);););)
[Android Apps and Games] IdleCuriosity:
Brightness change sensitivity at low light levels

At normal office lighting levels VAB's "Brightness change sensitivity" setting works well to prevent annoying "hunting" due to minor fluctuations in light level.

However, first thing in the morning when I wake up (before sunrise) the light level is 0, and then as the sun rises the light level climbs to 1 (my light sensor only reports integral levels). This results in a sudden change of screen brightness, which would be OK except that then a bit of cloud or a tree moving in the wind reduces the brightness back to 0, and the screen dims again. This keeps repeating for half an hour or so until the light level gets high enough for the sensitivity setting to start working. The problem is that the change from 0 to 1 is infinite, and the change from 1 to 0 is 100%, so no value I can put in the sensitivity setting helps.

I tried the erratic sensor readings fix, but it seems my sensor is not erratic: it reads 0 consistently for many seconds, then reads 1 for many seconds, then goes back to 0 again.

Ideally what I would like is to be able to say that once the screen has been made dimmer, the brightness should not be increased until the light level goes up by P% + N counts, or the light sensor has been above the current set level for T seconds; likewise once the screen has been made brighter, the brightness should not be decreased until the light level goes down by P% + N counts, or the light sensor has been below the current set level for T seconds.

So I am envisaging three parameters:

Brightness change sensitivity percentage (as now)

Brightness change sensitivity minimum count (combined with the percentage to deal with small integral light sensor levels)

Brightness change sensitivity timeout (to eventually react to even minor changes in light level provided they last long enough)

and I am also suggesting keeping track of the current direction of change so that we can respond quickly to small changes in the current direction, but still ignore small changes in the opposite direction.

Setting N to 2 and T to 60, what I would experience in the morning would be an immediate response when the light went from 0 to 1, and then further changes from 1 to 0 and 0 to 1 would be ignored, unless the level returned to 0 for more than 60 seconds.

I am open to suggestions for alternative algorithms that might better address this problem.

Apart from this one issue VAB allows me to do all I need, and does it very nicely. Thank you for a wonderful app!
[Android Apps and Games] timg11:
I recently updated my phone to Android 6.0.1. Now every app is requiring discrete permissions to be granted. When I try to change settings, I am prevented because Velis Auto Brightness is using an overlay. I have to turn Velis Auto Brightness overlay permission off every time I make a permission setting change. This happens many times a day. I can't leave the overlay off, because that appears to disable Velis Auto Brightness. Is there any way to work around this?