yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] shpitz461:
Works great on my XOOM JB CM10 nightly 9/29.

Can you add an indicator similar to the default android one? see screenshot.
[Android Apps and Games] rapttorx:
i'm wondering the same thing ...why is it checked by default ? ;)
[Android Apps and Games] velis74:
2.82.103 (17.2.2013)

Added translation: czech

This is the only change this time. I'm researching cameras so the next release will hopefully be 3.xx :)
[Android Apps and Games] TheMatrix2000:
AW: [APP][2.1+] Velis auto brightness 2.82.103

Because if you enable superdim the install button doesn't work. You can't install apps. It's an neg effect from superdim. It's the overlay of the screenfilter that's gives this Problem. Only solution is to disable velis temporarily. But this isn't the fault of velis. All other dimmers with screenfilter have this issue. Velis is working on mine S2 as it should be. Realy is a good program.
[Android Apps and Games] rapttorx:
i see :D... ty
[Android Apps and Games] gabrielsena:
I'm very, very impressed. Could you add translation to Portuguese Brazil
[Android Apps and Games] velis74:
I would be very happy if you could provide the translation.
[Android Apps and Games] 200mpx:
widget

velis74

Thank you for your nice app! Have purchased the widget functionnality but on my SGN2 with 4.1.2 and Nova Launcher I have always On on on/off button :( (On on on :))

Also is it possible to add some other widgets like only on/off button and on/off button+profiles without graphs? And it will be great to have at least black or/and transparent theme for widget?

Thank you in advance!
[Android Apps and Games] velis74:
So even if you press it, it remains on "on"? There's no way to make it go "off"?

This was a pretty big issue for me when I was programming the widget support. The API just doesn't seem to give me much info on which widgets are avaliable so in the end I simply decided to only make one version of the widget with all three components.

However:

if the widget is 1 unit wide, only on/off button will be seen

if the widget is 2 units wide, the prfile selection button will also be seen beside on/off button

if the widget is more than 2 units wide, the graph will also be seen beside the two buttons

At least that's how it is on my galaxy nexus with apex launcher.

It's also not that easy to have different themes for the widget. I'd have to add a second widget or something in order to make this work. Is the button background not dark enough? I wanted to have some contrast with widget background so maybe I went for a color too light, but I still kinda like it. Darker shades didin't look as good. That's not to say that the widget is good looking: I think by now it's quite clear that my gfx designer skills aren't exactly up to par :)

I have no idea about transparent theme though: what exactly would you have made transparent?

Summary for all above: Can you mock up an example image of what you would like to have?
[Android Apps and Games] 200mpx:
I saw once the OFF on widget, that is all - I have Nova Launcher Prime installed. The button is working but the word On is not changing. Thank you for workaround with units but it is senseless with prevousely discussed bug.

If it is possible I prefer to have fully transparent widget with on/off, Profile and graph without even pictures or with but having smaller size. Thank you in advance for even considering :) Here is the screenshot of my screen with transparent widget from Pure Messenger Widget and your widget:
[Android Apps and Games] ming86:
tried on Galaxy S Advance I9070. the system brightness toggle level changed, but the screen brightness does not...

anyone face the similar problem?

EDIT: just found it occur when WIFI/3G is on.
[Android Apps and Games] ericsonicsson:
I have tried 2.82.103 on my Xperia sola [stock 4.0.4], it works only until first screen off.

So then it has the same problems as other brightness managers.

In about 10 seconds light sensor readings slowly drop to 1 lux and screen is dimmed utill I press any button (vol +/- or camera).
[Android Apps and Games] velis74:
This is strange behaviour indeed, but not one I can influence. The app just reads the kernel variable and if it is going down to 1, then down to 1 it is. I have no idea why it would be this way though.

Does it work like this also when you have the ROM's auto-brightness active?
[Android Apps and Games] ericsonicsson:
Well, I've got some log from SensorList app.

When ROM's auto-brightness is active readings look stable

View attachment 1762008

But when I activate your app and switch back to SensorList it shows that lux sensor really drops to 1 (after 10 seconds of buttons inactivity) until I press a key. If I just tap a screen it doesn't help.

View attachment 1762009
[Android Apps and Games] Marx2:
Odp: [APP][2.1+] Velis auto brightness 2.82.103

I have very high CPU load generated by this app. What can I do to lower it?
[Android Apps and Games] velis74:
This should only be possible if you have purchased tasker / widget support and set widget graph time to some really low value (below 100).

Otherwise I would need more info in order to help you.
[Android Apps and Games] Marx2:
Odp: [APP][2.1+] Velis auto brightness 2.82.103

I think it happened after activating superdim feature. Program very often change brightness, much more then previously. Maybe I need to tune it?
[Android Apps and Games] velis74:
This is possible, but it's not a CPU usage problem, it's just visually problematic. I suspect currently my implementation isn't exactly top-notch and it causes problems on some phones. I will most definitely work more on that once I get camera support operational.
[Android Apps and Games] velis74:
Just an interim update:

Finally!!!!

I've just spent two weeks figuring out how to start the camera preview (which is needed to take a picture). Today I finally discovered why the preview would never show. I'm super relieved, this was a major problem, I even posted it to StackOverflow (without success)...

I'm expecting much smoother sailing towards camera support from now on. Hopefully I'll have something working by the end of the week.
[Android Apps and Games] avdim:
I am sorry if my problems were already mentioned in this thread but it is too long to read it from beginning.

I tried to use this app yesterday and faced several problems that forced me to uninstall it. The idea is great but it requires some polish to make it useful.

First of all I have problems with saving presets. They were not retained after program relaunch. Wizard window popped up and I was forced to add settings more and more again. Finally (maybe after manual editing graph values) presets began to remember but at the end I faced similar problem again. I even was unable to leave application installed and switch it off – it definitely interfered with system default routines even if settings say opposite. Overall program does not produce robust feeling – it lives on its own and I don’t have a feeling I am controlling it fully.

I don’t like the way presets are saved. I would prefer much better to have convenient options to create, edit, rename and delete preset. In current implementation it seems that I can only create new profile and delete existing one. What is absolutely unclear is which settings belong to preset and which to program as the whole.

Enabling automatic brightness on main screen corresponds somehow to options in settings but not fully.

The ability to edit graph is great but it is virtually impossible to change the form of the curve significantly without manual edit, ability to add keyframes is missed. I would like to brightness to reach its maximum at much lower ambient settings but it is hard to squeeze the whole graph by horizontal axis.

Default curves themselves seem questionable – why not simply linear graphs with saturation on right part?

Changing brightness itself caused annoying flickering – seems app is adjusting it in second interval in several steps instead one smooth stage. Even one single not smooth change will be far better than flickering.

Measuring ambient light with face sensor is rather useless. Place phone under bright lamp and then start turning it face down. Lighting conditions itself will not change but the screen will become very dim. It makes sense to use both front and rear camera for ambient light measurements.

Displaymate website have good article with some thoughts how auto brightness controls should be implemented in theory. Sorry but I can’t post direct link here. It is called “BrightnessGate for the iPhone & Android Smartphones and HDTVs. Why Existing Brightness Controls and Light Sensors are Effectively Useless”.
[Android Apps and Games] sonwon:
Congratulations, it can be frustrating however it feels great when you finally crack the nut.
[Android Apps and Games] velis74:
I'm always happy to receive feedback on problems in the app. Solving such problems makes the app better for everyone so keep'em coming. :)

Hm, I'll look into this ASAP, but this should not be the case. When wizard is started, the settings are cleared so I have just added it to my TODO that the app shouldn't clear presets in this case.

However, the second TODO added was to check for multiple wizard starts which also shouldn't happen.

This is not the case: long-pressing any preset button will pop up a menu which allows you to store the current graph into that preset as well as rename the preset. This is clearly stated in the manual as well.

It corresponds to enabling auto and disabling system auto-brightness (both of these settings) in settings.

??? Just place vertical bar to the point where you want to reach maximum and move the horizontal bar all the way up. Worst case you'll then have to make one or two more adjustments because graph to the right of this point won't move all the way up.

At the time I was creating them, they seemed OK. The functions are in fact pretty linear. You have to see that the graph is logarithmic which makes a linear graph appear as a quadratic curve. I will listen to any sensible proposal though.

That's what the sensitivity settings are for. Doesn't anyone run the wizard?!? Just increase the timings and flickering will be gone.

One single not smooth change has this little issue with sensor data changing all the time: the changes are thus frequent and full of flicker. That's how it was before smoothing was implemented. Though it does seem that I was too lenient on max interval time for smoothing. Even with short times it shouldn't flicker so much. Added TODO to check if this can be fixed.

Cameras are currently not supported. I am only now working to support them for precisely this reason as well as a few others. Though you must know that rotating the phone under lamp will always result in reduced brightness because phone doesn't typically have light sensors (or cameras) on case edges. Only turning it fully around would expose the rear camera to the lamp.

I promise to read it. Perhaps there will be some really useful info for me to implement in the app.

Whew! (sweats) This was a pretty exhaustive report. I hope the answers were satisfactory to you.
[Android Apps and Games] velis74:
Added to TODO.

I'm sorry but without access to the phone I cannot debug the situation. I'm afraid there's nothing I can do about this.
[Android Apps and Games] ruvort:
Re: [APP][2.1+] Velis auto brightness 2.82.103

This looks great :) it would be very beneficial if tasker support was added to adjust brightness upon certain circumstances.

Huge Wallpaper Collection
[Android Apps and Games] polobunny:
For the record, brightness should increase in a logarithmic fashion and not linearly, like you could adjust your TV set or computer monitor.

If one thinks for a moment, it makes much more sense to have finer brightness granularity at lower ambient light levels and less granularity (bigger brightness steps) when the ambient light becomes stronger, because you will not notice very small steps if you're getting blinded.

Now if the curves need to be adjusted, that's something else. But it goes without saying that each phone and taste is different, thus there would never be any global preset that would please everyone.
[Android Apps and Games] velis74:
The app has been supporting tasker integration for a long time.

I aggree. That's how the presets are designed and that's why the graph is logarithmic.
[Android Apps and Games] WibblyW:
To the first point, I have used another automatic brightness application that has a setting that leaves it to the phone (ROM) to fade brightness changes between the current and target brightness settings, or use the app to fade the changes. For phones that do it themselves, it's the smoothest method I think. I *think* I've seen VAB 'step' the changes - they're not as smooth/granular as they might be. This isn't to do with hunting between different screen brightness values as ambient light level varies, it's to do with how granularly the brightness fades up or down to the target brightness, whatever that may be.

To the second point, I scanned the article and noticed the comment that the "right" way to set brightness (according to the author) is: "the consumer initially adjusts the screen brightness manually to whatever they want for the current ambient lighting. The Ambient Light Sensor then measures this light level. The value is recorded and used to interpolate the screen brightness whenever the ambient lighting changes". I have used such a method (in another automatic brightness application) and I have to say this is a very easy/intuitive way to set up the 'graph'. So I would like to start with a graph with two points on it (min brighness @ 1 lux, and max @10,000lux). Then add points by setting a brightness manually and pressing a button that says "link this screen brightness to the the ambient value you can see now". Then have the ability (as you do today) to manually edit the data points. Bottom line - the graph is pretty and helps visualise the outcome of the data points that have been set. I would vote for making the VAB graph 'read-only' and have another method along the lines of the above to set data points. I too struggle with using the graph to 'edit the curve'.
[Android Apps and Games] velis74:
That's what's funny about this: the interval for transitions is now 75ms, but the flickering as I notice it is much coarser. Perhaps another of my maths "jewels"?

To be quite honest, having just this "empyrical" method available seems quite counter-intuitive to me. One can never know what the actual graph would look like. That's why I went for graph when I first designed the app.

In addition to this, I found the article quite uninformative: the author bashes the stock auto-brightness algorithms into powder and then gloriously declares how one should be able to adjust the brightness curves. I think if he bothered to look beyond stock offerings, he would have found plenty of custom apps (like mine), both on iPhone and Android and Windows Phone for that matter, trying to tackle this problem much more user-friendly. I know my app for one would be perfectly capable of matching his desired curve.

My disappointment comes partly from me expecting him to devize an elaborate method using all the cameras, sensors and whatnot, but in the end it seems he was quite content with sensor operation, just not the default brightness curves. This is sooooo far from what avdim was talking about a few posts up.

Reasoning aside, I was planning this for notification implementation. There one would have a brightness slider and "apply", "reject" and "temporary" buttons to store the modification in the graph (with automatic behaviour being "store"). The "temporary" would just increase the auto-abort timeout to some ridiculously high value (or something to that effect).
[Android Apps and Games] WibblyW:
Yeah, I may be misinterpreting what I'm seeing too...

That's why I was suggesting keep the graph, but offer an alternate way of editing it ;)

I wasn't trying to defend his whole article - just that one statement that seems to work for me. But what you describe below here maybe be a far better implementation of something similar...

Can't wait to try it :)

And, by the way, I'm NOT using any alternative to VAB. It's the best there is at the moment IMHO, so great work!
[Android Apps and Games] avdim:
No, I have only two items in menu with save and delete preset.

I am on Motorola RAZRi with 4.1.2 FW not rooted.

I think that it is impossible to change the form of the curve any significantly with the single edit point.

I can't say it is flickering too bad but it is clearly visible when program start changing brightnes.
[Android Apps and Games] WibblyW:
Same here on my N4, actually

I struggle with editing the graph too (as you'll see from my previous comment). Got a friend to try VAB last night. That was his main criticism too. He was trying to set one point and the 'curve fitting' that goes on gave him unexpected changes to the shape of the graph (I think because of the existing data points in it). Maybe all the existing points should be forgotten when editing the graph and then new ones created by VAB to represent the graph when you choose to save it? In the end, I just manually edit the data points to get the shape I want. Long winded, but easier for me (in the end)
[Android Apps and Games] marcoperro74:
R: [APP][2.1+] Velis auto brightness 2.82.103

Hi to everyone...This is the first time that I write in this thread...I'm very happy for velis auto brightness! This app work very well...congratulation to the dev!

I have no problem with velis ab that have a very easy configuration but I have noticed one thing and I apologize if this issue has already been discussed...well...as I said I noticed one thing...

when I install or uninstall an application from the menu management applications, the brightness goes to maximum and then back to normal when the operation is finished...

I'm on gnex with ak kernel and sourcery Rom 4.2.2...

Thankyou for the interesting...and for the great app

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] velis74:
Update: I managed to make the camera working. :D I'm grabbing samples now so that I can compare and sync the camera with the phone's sensor.

It's still tricky though: Sometimes if there aren't enough arbitrary delays, the entire thing will just stop working. Android documentation makes no mention of this :( I'm expecting lots of trouble with this one. :crying:

1. Yes, that's how it's supposed to be. Long-pressing an existing preset allows you to modify it with current curve (save) or remove it. What else could you do with it?

2. I agree. I have a TODO to add a setting where user could adjust sensitivity of curve adjustment (change area of effect around the red bar)

3. I'm experimenting with lower values now. if CPU usage doesn't go up, I will

This is a result of android APK installer being in the excluded apps list. Because of that VAB turns itself off in such cases which leads to brightness getting to system set value (max in your case). Solution: remove APK installer from excluded apps or decrease system brightness level so that it doesn't get so bright.

Additionally I have a TODO to remove this default exclusion and only activate it when super dimming gets activated, but that's coming after camera support.
[Android Apps and Games] marcoperro74:
R: [APP][2.1+] Velis auto brightness 2.82.103

Ohhh yes! Thank you for the explanation and for the solution of the issue...I have remove apk installer from excluded app and now all work very well! Thanks velis!keep it up the great job!

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] WibblyW:
If it's any help, the 'steppiness' of brightness changes seems worse on my N4 than N7.

I tried to check the smoothness of the stock/ROM autobrightness. I disabled VAB on the N4 (automatic brightness = off & disable system handler = off) but I did NOT seem to regain control of brightness by the (stock) ROM even after a reboot :-S. I'm left with fixed/unadjustable brightness I think at the last level VAB set. Bug? (reading around, this may be a bug in Jellybean)
[Android Apps and Games] velis74:
Update: I'm pretty disappointed with android camera support. There is not much one can do about picture parameters, not before the picture is taken nor after the fact. Adjusting parameters is non-existent and you can only get exposure parameters if you read the jpeg exposure info from the image stored on the file system.

That said, I have performed an analysis of data that I have so far. Note that the graph is cut at brightness 1000 lux, so the higer samples are not displayed to more accurately show the lower / more important spectrum.

In my calculations, I take account of ISO, apperture (constant in my case and - as I have read - in all other cameras too) and shutter speed.

In addition to that I also calculate average picture brightness to gain more detail from each picture taken.

Graph:

blue: environment light sensor reading (how VAB currently works)

green: exposure - iso + apperture + shutter - (corellation with sensor: 0.74)

red: exposure modified with average image brightness (corellation with sensor: 0.88)

As you can see from the graph, the data is abysmal: calculating average brightness only got me a more consistent graph, but that doesn't mean that this graph is any better at determining environment brightness. Edit: the most problematic is the fact that the graph doesn't go up at all between 400 and 600 sensor readings. It's just plain flat - as far as camera is concerned, this is all the same brightness.

Of course, I currently don't have much data. It is clearly visible that number of samples between 70 and 400 lux is seriously lacking, but I'm not too worried about that because the spread below 70 is simply too wide to be useful.

In addition to that, my phone is capable of processing a max of 5 shots per second and even that stresses it quite a bit. Not to mention the uncertainties - I still haven't figured out why I need to have a delay between startpreview and takepicture in there.

I must admit that under these conditions I'm not really sure how I could implement camera support at all.

If anyone else wants to have a go at this, say so and I will post the version that grabs data in the OP or the data I have already grabbed with my phone, but for now I cannot program / publish anything serious.
[Android Apps and Games] avdim:
I can't really comment on android API since I never developed for it and and have no plans to do this at least in near future.

But I saw applications that displays live preview from camera and use it for some manipulations, for example Barcode Scanner+ shows overlays on top of live video and detects QR codes on the fly without pressing any keys.
[Android Apps and Games] d0nald01:
is there an option to make the app not turn on brightness to max when i wake my phone?

the lockscreen is at max brightness for 1 sec or so when i wake it.

Thanks
[Android Apps and Games] velis74:
Re: [APP][2.1+] Velis auto brightness 2.82.103

This is a feature of your ROM. The brightness is set to the value in system settings and persists for a while before handing control back to VAB.
[Android Apps and Games] d0nald01:
Re: [APP][2.1+] Velis auto brightness 2.82.103

Got it thanks
[Android Apps and Games] suneet mehta:
statusbar brightness control

I wanted to remove this application as it was not working well for me i wanted a stable brightness. So i deleted the data and then uninstalled it. But now i cant control my brightness from the statusbar. The tweak in CM. Please help. I love that tweak.
[Android Apps and Games] sonwon:
Install the application again. Turn on and turn off. Uninstall and should be fixed.