yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] gianton:
I had Lux Auto Brightness app but this one works a lot better!

I was wondering about battery drain because of the app too. Anyone might chime in with some info?
[Android Apps and Games] kantjer:
The developer has put a lot off effort in reducing battery usage.

I have been using the app since it's release and the battery usage is now so low that I don't notice it any more.
[Android Apps and Games] gianton:
Thanks. Will be checking battery usage and report back in a few days.
[Android Apps and Games] velis74:
Added to TODO together with screen off timeout. Will update first post when I post Tasker / Locale support.

This has been reported already. Seems some apps manage their own brightness and VAB doesn't respect that. The problem is that the app doesn't have any way of detecting such behaviour. I would need to support an exclusion list (when such an app is topmost, VAB would deactivate). As this is the second complaint, I have now added this to TODO. After Tasker gets to be supported, this will also be possible to do through Tasker / Locale - you will probably need a plugin detecting topmost app though.

You need to increase both sensitivity parameters. Set threshold to 10 and smoothing to 3000ms and it should be much better.

Unfortunately I can't because your phone does not have a properly implemented light sensor. I will try to get some info on these phones in their respective forums, but for now there's no solution I'm afraid. Added to TODO.

:confused::confused::confused::confused::confused:

Why would such an unimportant an app be featured? And with original feature list to be sure :) I am most humbled by this. XDA FTW! :victory:
[Android Apps and Games] Christiancs1969:
Well done mate:D

Hoping all is well with the little one....hard work ;)I've got 3 so I know......

s2 aopk 412 dori 73 pitch perfect
[Android Apps and Games] rebar71:
WOW! Good stuff!

Immediate impact after installation. Way better than stock auto brightness. Good job!
[Android Apps and Games] :
Because what you may think is unimportant for us end users its MASSIVE! The migraines or pain when I have one you have saved me is countless, that and just because system auto brightness is complete poop! . Be proud fella you should be :D
[Android Apps and Games] XT69:
hi there velis!

if it's not taken yet, I can do the Hungarian translation :) btw amazing app, i've been using Lux for similar purposes, but VAB is just better :) the Amoled profiles are superb on my Gnexus :) so drop me a message, and I'll translate it into Hungarian :)
[Android Apps and Games] marzinho:
It doesnt seem to work on OneX with latest leaked 3.14 base...

Wysyłane z mojego HTC One X za pomocą Tapatalk 2
[Android Apps and Games] iamfightaa:
awesome work bro, this really get the job done.
[Android Apps and Games] rolear8:
Nice job man
[Android Apps and Games] velis74:
Could you be more specific? Thanks.
[Android Apps and Games] cukierkas:
Hi velis, how's your newborn? Hope really great.

1+ for proximity sensor turning off the screen.

Good luck in development.

Sent from my GT-I9003
[Android Apps and Games] velis74:
She's great! We're having some minor sleep issues :D but nothing serious. I actually find myself having a few good coding hours per day while she snoozes and everyone else is asleep :)

@christian: this is my third too, all daughters.

I'm making good progress on tasker / locale and after that i'll do the minor TODOs - the list grew huge during the last few days, need to check away the little things :D plus, the strings are already in there, it's a shame they're left unused :angel:
[Android Apps and Games] cukierkas:
Lucky father :thumbup:

Sent from my GT-I9003
[Android Apps and Games] Computoncio:
Use BBS to see what's stopping her to deepsleep :D

I only have one daughter with two years old, can't imagine the trouble of having four women's in the house :p

Your app is working great in my S2 and only 5% battery on a full cycle.
[Android Apps and Games] marzinho:
Sure - it doesnt change a thing, nothing happens. Whatever the settings are.

Wysyłane z mojego HTC One X za pomocą Tapatalk 2
[Android Apps and Games] RovG:
Hi Velis

As a result of being featured in XDA OP...

I came.

I read.

I uninstalled Lux AB.

I installed VAB.

I liked.:eek:

I just need to complete some daylight testing & then I will know for sure.

Looking for a brightness control app that worked for me without a huge battery overhead has been like searching for the holy grail.

A good job well done Velis. Thank you very much! :thumbup:

I have two potential bugs to report:

1. The text "New Preset" does not display unless I touch the icon. See screen cap.

2. If I test sensors on my device through *#0*#, I see that my light sensor can detect 0,5,10,15...lux but the lowest VAB goes down to is 10 lux. I often read in 0-5 lux and the amoled dim minimum brightness is still too bright. A fix for this would be great.

I also have four requests & will be grateful if you would give them consideration:

1. Add a notification icon of VAB in the notification bar with the current brightness value as a percentage in the center of the icon.

2. The lowest brightness level is still too bright. Screen filter & Lux AB do seem to be able to go to much lower levels. Please could implement lower brightness levels similarly.

3. On devices that have back light notification LEDs, dim the LEDs in decreasing order of percentage to 0 lux when brightness is below a user configurable value.

4. Add the ability to define night hours and automatically have VAB use a "night" profile of lower brightness levels during night hours.

:)TIA:)
[Android Apps and Games] velis74:
And you're sure you activated the enable switch under the graph? This seems so strange.
[Android Apps and Games] velis74:
1. This is strange. It's just a button with custom background. Could you attach a screenshot?

2. It should go as low as your sensor can go. On my GNex it's 4, for example. I do not limit it in any way. Also try to adjust the graph to your brightness liking - presets aren't the only options you have.

1. It is in the TODOs

2. Added to TODOs, but you need to be aware that that doesn't do anything for your battery. It's just a darkening filter over the entire display. But I find it strange that you find the lowest brightness on yous SGS too much. My GNex is hardly readable at brightness 1.

3. I don't understand this one. What is a back light notification LED? And how would the brightness be below user configurable value?

4. This will be supported next since Tasker / locale support is coming next.
[Android Apps and Games] benkxda:
Very good thing. Much easier and understandable for all users. Easy to use interface. Much better than the CyanogenMod (CM) way. Thanks for that piece of very useful software. Grand! :good:
[Android Apps and Games] 3x4d:
Xperia Neo

Isn't working on Xperia Neo - android 4.0.4

Can't find lights sensor.
[Android Apps and Games] grzesiek1945:
I noticed one bug, sometimes app gives me full light on screen when im in completly dark rom, them i have to manualny set light down. I had that few times :/

Wysyłane z mojego GT-I9100 za pomocą Tapatalk 2
[Android Apps and Games] II_DiE_4:
As i said on previous post, its the same as screenfilter app. Because both apps use overlay something is messing with the lower left of the touchscreen. If you put your mob in landscape then the install is working again.

Strange thing that no1 knows why yet, from what i found when google it (some said that its the new strick policy of google)
[Android Apps and Games] grzesiek1945:
Wysyłane z mojego GT-I9100 za pomocą Tapatalk 2

---------- Post added at 06:24 AM ---------- Previous post was at 06:23 AM ----------

Tapatalk error, please erese this post :)
[Android Apps and Games] MDE_86:
+1 Has happened to me twice in the last 15min. Both while opening an app or webpage

Tapatalk / SGS2 / Cyanogenmod 10 Nightly / DorimanX Kernel.
[Android Apps and Games] velis74:
Can you be more specific about going past the 1000 mark? Do you mean changing the graph or simply putting the phone on sun?
[Android Apps and Games] velis74:
Are you sure you don't just have excessive settings for extra brightness when charging? Are you doing anything special at such times?

Oh, saw mde-86's reply. Will try to recreate.
[Android Apps and Games] velis74:
To all with install button issues. Are you all running jelly bean? Also, can someone explain the exact procedure? I've not had any problems installing apps from marketplace.
[Android Apps and Games] kroz:
hi mate, thanks again for this app,

we mean installing .apk files saved on sdcard,
[Android Apps and Games] velis74:
I have updated the .apk in the first post.

The new one tries to be more aggressive with overlay window params (sizes it 0 + flags it untouchable). I hope this fixes the issue of not being able to install programs from sdcard.

I also modified the behaviour when lightness sensor can't be acquired. This should fix the issues of brightness shooting up in a dark environment.
[Android Apps and Games] KenHua:
Works wonderfully on my S2!

Would be perfect if you can provide Widgets for quick selection of presets.

Best Regards,

THANKS'ed
[Android Apps and Games] velis74:
This is on my to do list, but I'd like to fix the teething issues first :)

Updating first post with todo list now.
[Android Apps and Games] kroz:
updated, i tried installing app again and issue was solved, thanks for the very fast response, it was a very handy app, thanks,
[Android Apps and Games] xanthrax:
Same here on sg s3. No problem to install another application either from market or sd card! :thumbup:
[Android Apps and Games] velis74:
Great to hear that. Hope that fixes it for good.
[Android Apps and Games] kroz:
now next to watch out is the effect on battery, :)

base on your experience, does it consume too much? or will i say does it saves more juice? :D
[Android Apps and Games] Christiancs1969:
Compared to lux auto its better on batt :Dam testing with stock auto at mo;)

s2 RR 308 dori
[Android Apps and Games] xanthrax:
From whereshall I start playing with brightness sensitivity, the screen flickering rate is a bit higher and I would like to adjust this. Anyway I'll figure out somehow but...

Thanks!

The app has been recommend already on sg s3 forums:thumbup:
[Android Apps and Games] MDE_86:
Thanks for the update. Will test :)

Tapatalk / SGS2 / Cyanogenmod 10 Nightly / DorimanX Kernel.
[Android Apps and Games] kroz:
yeah, it just shows that its very sensitive, it reacts on the right environment,

still can't come up into conclusion if that's an advantage or not, :)

smooth transition of backlight adjustment would be the biggest asset of this app if it would be succesfully implemented, :D

great job velis,
[Android Apps and Games] velis74:
I would say it doesn't affect battery much compared to system auto-brightness. Of course, it all depends on brightness levels you set.
[Android Apps and Games] AbhishekS:
Two doubts, I'll be really grateful if someone answers these.

1. Do I need to disable the system auto brightness option while using this?

2. Will it help increase the screen on time on my Galaxy Nexus?
[Android Apps and Games] RovG:
Thank you Velis,

1. Screen cap below. Could it be because I have a black background?

2. Already tried adjusting the graph thanks. Currently at lower left corner & still too bright.

I hear you about the battery but my focus is on brightness (hehe actually dimness :D). I am using a SGSII BTW.

SGSII has two capacitive "buttons" on either side of the "home" button, one for "menu" and one for "back". The buttons are back lit by LEDs & are bright in the dark. So if you added a new setting "Start dimming BLN LEDs when lux is below:" 15. Then by reducing the voltage to the LEDs you could get them to dim gradually untill lux = 0. I think the max voltage is 3300mv and lowest is 2700mv. Therefore in full sunlight voltage would be at max but low light it would dim. The start point of dimming would be what the user configured.

I hope this clears things up a bit.:)
[Android Apps and Games] MrMastodon:
1. Yes, check app settings

2. It will help increase brightness responsiveness. The best way to increase screen on time is to, well, keep it on :sly:

Try for yourself!

SGS2, RR 3.0.9 - Dorimanx 5.90
[Android Apps and Games] :
1. App automatically disables system auto brightness.
[Android Apps and Games] marzinho:
Yup, im sure. LuxAB seems to have this problem as well, so i think that ill wait for final version of JB Sense from HTC and ill get back to this app.

Wysyłane z mojego HTC One X za pomocą Tapatalk 2
[Android Apps and Games] Max-SK:
After 4 days of using this app i found out, that strange red light is shining above display. When i turn off proximity sensor, light is off. Before using this app there wasn't no light. Is this light normal?

Odoslané z HTC One X cez Tapatalk 2
[Android Apps and Games] tomurbanowicz:
What is difference between proximity and brightness in setting?
[Android Apps and Games] minidou-77:
Yes absolutely normal this is your proximity sensor ;)
[Android Apps and Games] Max-SK:
Hmm but light started after 4 days? :eek:

Odoslané z HTC One X cez Tapatalk 2
[Android Apps and Games] minidou-77:
You probably didn't noticed it before ;)
[Android Apps and Games] Max-SK:
I dont think so. But ok:D

Odoslané z HTC One X cez Tapatalk 2
[Android Apps and Games] Pkt_Lnt:
Uninstall Velis for a day and check the red light to see if it does the same thing.
[Android Apps and Games] Max-SK:
Disabled proximity - no red light

Uninstalled program - no red light
[Android Apps and Games] RovG:
Hi Velis,

Please excuse the n00b question but I just want to be sure that I am not missing something. I presume you are refering to the graph in the screen cap. Please confirm.

View attachment 1420066

If I turn off "Track light in graph" & then go out of the app & back in again, "Track light in graph" shows on. Is this by design or an unwanted feature?:confused:
[Android Apps and Games] velis74:
Seems to me that's a notification led indicating that proximity sensor is in use. I don't manipulate leds in any way so that must be a ROM feature.

Yes, the tracked graph consumes battery because redrawing the graph over and over again is relatively CPU expensive.

This is explained in the manual. Though the code is faulty right now and I'm fixing it.

No, your screen looks almost identical to mine. Except for no text on button?!? Can you explain a bit more: does the text only show *while* or *after* you press the button?

The dim filter is now on TODO, but it will take some time. Need to research first.

Yes, it does. A lot. Though I'm not sure how to go about doing this. I'd need to research into SGS2 & 3 button leds first. We'll see what can be done about this.

@Sony Xperia users: I have got a solid pointer from the developer of Auto brightness off Xperia app. Will attempt to implement sensor reading to see if your phone can be supported.
[Android Apps and Games] flash5000:
That's what I hoped to hear :D

Go for SYSTEM_ALERTWINDOW in your research... :)
[Android Apps and Games] sonwon:
First +1 on this app, it is the best I've seen so far. :good::good::good:

I think what would be great would be profiles that toggle automatically, on battery and on charger or USB. I think this is in the todo list. I would suggest if there are to be select-able profiles there should be two for each selection, battery/power. I want the screen brightness lower when on battery and brighter when I have all the power I need. I would put this near the top of the todo list. :D
[Android Apps and Games] jackattack:
There is already an option for that. Check the settings for "Additional brightness when charging".
[Android Apps and Games] sonwon:
Not the same, wanting to profiles one for battery and one for charging. :)
[Android Apps and Games] eoghan2t7:
just noticed that option but i cant select it or do i need to be currently charging to select it?
[Android Apps and Games] supergaijin:
what model phone are you using, and is it stock or custom ROM?

and, you made sure to 1) select which amount of extra brightness to add (mine is set for a % of full brightness), and 2) just below that option, the numerical amount of your selection is also editable (mine is set to 30%)

---------- Post added at 11:15 PM ---------- Previous post was at 11:09 PM ----------

sonwon, since you're saying that you know how to use the "additional brightness when charging" option, but you want to use a separate profile, are you saying that sometimes you use the phone on a charger in broad daylight vs. indoors or something? unless you charge in different environments, the current ability to use additional brightness should be enough. can you elaborate on your difference in preference?
[Android Apps and Games] eoghan2t7:
Im on a HTC wildfire S running cm7 :(
[Android Apps and Games] jackattack:
Well he said he's working on Tasker/Locale support, which will also accomplish what you're asking.
[Android Apps and Games] sonwon:
Sometimes I charge next to the bed and I want the screen as dark as it can go for checking the time in the middle of the night. Other times I am at work or home in a lighted room and want some extra brightness while charging. So to answer your question yes. I can see a use for battery/power and different profiles.

Maybe if my phone didn't have the light sensor bug when charging the "additional brightness when charging" option would work for me? If anyone knows if there is a file that configures the light sensor or where I can find binary/source code for the light sensor on a HTC EVO 4G, please message me.
[Android Apps and Games] polobunny:
I am a bit in your situation (charging on a dock at night and using as desk clock) but I simply use the dimming in the clock to "fix" that issue. =)
[Android Apps and Games] MrMastodon:
@velis Just remember, don't put every request on your todo-list, it's pretty massive already :o

SGS2, RR 3.0.9 - Dorimanx 5.90
[Android Apps and Games] sonwon:
Well, I don't leave the phone on all the time, maybe I should, guess I've been afraid I would wear out the backlight LED. I use Alarm Clock Plus but it doesn't stay on the dim screen when you cycle the power. It has a hardware dim feature that isn't dark enough.
[Android Apps and Games] velis74:
@supergaijin & sonwon:

The three levels gaijin is talking about will be easily achieved when I add manual curve editing support, e.g. adding points 0/20, 500/20, 501/50, 1500/50, 1501/90 --> very stairy graph.

The lux change sensitivity % doesn't refer to % of lux because lux is pretty much logarithmic as far as our phones are concerned (well, in reality it's not, but let's pretend for a moment that it is). Instead the % difference is calculated based on horizontal axis of the graph, which is logarithmic.

50% difference therefore means that a lux sample needs to be halfway across the graph in order for the service to react.

@MrMastodon:

No worries, nothing they requested is out of reach of what's already on TODO or implemented. I only add stuff I can't see being implemented otherwise + adding something to TODO doesn't mean it will be implemented tomorrow.

Since Tasker / Locale functionality is under testing right now, I have some time to reorder the TODO and try to plan a bit ahead. The patch after Tasker will eliminate almost half of the TODO list in a relatively short time. But I need to implement the in-app store before that too :P

I also have something in store for the settings screen: since the settings will start multiplying, I will implement a little surprise to keep number of items in settings manageable and still pleasant.

Edit: I will release a new patch today, but there will only be one significant functionality enhancement: A first feeble attempt to prevent service terminations at night

Otherwise I just need it so that I can support the in-app billing (there will be a new permission asked: billing)
[Android Apps and Games] Audioboxer:
Just installed from the market on my One X with Sense JB. Does the app auto start each reboot? I thought it needed root access to do so? (it never asked for root).

Your interaction with your users is great velis, wish you all the best with the app going forward :good:
[Android Apps and Games] velis74:
Thanks. To restart each reboot, I only need BOOT_COMPLETED right, no root privileges.
[Android Apps and Games] sonwon:
+1
[Android Apps and Games] polobunny:
Is having a dummy notification (or even a useful one! :eek:) out of your idea? As long as you have something up there that can't be dismissed the app won't get killed.
[Android Apps and Games] velis74:
This is exactly what the first feeble attempt is. Though I attempt to do it with an invisible notification. In my testing, the service wasn't killed since, but we'll see when more people get to test this.

And the useful notification is on the TODO list :)
[Android Apps and Games] polobunny:
Ah ha! That's what most devs try to do. I don't believe there's another way since ICS came around (which is fine in itself, you wouldn't want plenty of apps running without you knowing).

The software Rotation Locker uses an empty notification icon + relatively minimal notification to be not too obtrusive to stay active (if you need inspiration) and I personally like it. Good compromise, at least. :)
[Android Apps and Games] tinybeetle:
Seems to work well on my Lenovo IdeaPad A1 running ICS. Thank you!
[Android Apps and Games] jackattack:
Also, in Jelly Bean you can make notifications that don't display an icon.
[Android Apps and Games] polobunny:
That I didn't know. Thanks for the additional knowledge. :)
[Android Apps and Games] velis74:
1.20.55 (22.10.2012)

A first feeble attempt to prevent service terminations at night

Better proximity sensor handling

Enabled proguard to make the apk smaller and the code a bit faster

Intermediate publish to prepare for tasker and in-app store

Added language: russian, japanese, polish

Updated translations: slovak, slovene

Now to in-app store so that I can finally publish Tasker / Locale support :)
[Android Apps and Games] mrdevil_25:
great app velis!

1 small question, don't know what I am doing wrong but the sometimes the screen will dim by itself for about 5-10 seconds then back to normal brightness.

This is with no changes to environmental brightness and the phone is active. It would happen randomly (browsing, playing games, watching youtue)

Is it some setting i am messing up here???

Thanks!
[Android Apps and Games] velis74:
The latest patch should help with your problem. See "A first feeble attempt to prevent service terminations at night".
[Android Apps and Games] mrdevil_25:
The issue isnt only happening at night. It was during bright daylight.

my settings are as follows:

brightness change 2%

Smoothing time 1500

Amoled preset

graph abort timeout 5 secs
[Android Apps and Games] velis74:
Well, it was most noticeable at night so that's what was written in the TODO. Actually the service was being terminated whenever there was activity with launching new apps. The mentioned fix should help with your problem. If not, I'll need to implement notification before we get rid of this one.
[Android Apps and Games] mrdevil_25:
I see. Thanks for the fast and awesome response!!!

ps. sorry but i cant find the link to download the 1.20.55 version. is it the same one as the 1st post?

Playstore is still showing 1.20.49
[Android Apps and Games] UnderXP:
Hi, updated spanish translation was send to your mail.

Please, update the attached app into the thread, because Google Play don't show me the last version yet...
[Android Apps and Games] velis74:
I did update the apk in the first post (but not with your latest modifications). Market should update soon, usually in an hour. Thanks for the updated translations. I'm afraid in a day or so there will be some more strings because I need quite many for Tasker / in-app store.
[Android Apps and Games] CHEF-KOCH:
German translation updated.

Is it possible to add a menu or button to restore all settings to default? Because i don't want to delete/uninstall the settings or the app manually. Thx. :angel:
[Android Apps and Games] jackattack:
Without jumping the gun too much, the update seems to be keeping the service alive. Everything is working great.