yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] maphew:
Is it possible to have Velis not show on the lock screen, but still be accessible in the pull down notification drawer?

I like to reserve the lock screen notifications for, well, notifications. ;)

For the most part Velo's is fire and forget for me. I only adjust the setting once or twice a week, if that.

I'm using a Nexus 5, unrooted, Lollipop.

Thanks,

Matt

(I'm sorry if this has already been discussed. I find it very difficult to sift through these incredibly long threads for situationally appropriate info. Just direct me to the appropriate location and I'll be on my way.)
[Android Apps and Games] velis74:
No, unfortunately this is not possible. You can either have the notification or hide it. It's an excellent idea though, so I added it to TODO.

I agree about the long threads. Maybe app subforums would be a better solution.
[Android Apps and Games] maphew:
Ok. Thanks for quick response, even if I wanted to hear something different!

Sub forums would be an improvement, but really only 1 topic per thread works for discoverability. A ticketing system that allows for topics to be closed or archived helps too (e.g. Github issues).

A curated Q&A style like android.stackexchange.com with app-specific tags can be very effective. At least that's the best format I've come across personally so far (I'm biased tho', having been a mod on an SE site for 2 terms).

Anyway, I'm pulling the thread off topic and should be sleeping instead. ;)

Matt
[Android Apps and Games] Calomax:
I'm setting Day Dream on my Motorola Moto g 4g to use it as a bedside clock in its dock but it is too bright I installed auto brightness. I've set the brightness when charging to -100 but I can't see any difference. Should I go to an even bigger minus number?
[Android Apps and Games] velis74:
Are you on lollipop? I haven't checked, but daydream might be running under lock screen. In this case the brightness would be set to whatever was last brightness before daydream started. OTOH if you have lock screen in the excluded apps list, brightness will be set to whatever is set in system display brightness.
[Android Apps and Games] Calomax:
Thank you, I am on Android 4.4.4. (KitKat?). I think Lollipop is 5, which hasn't been made available here for my phone yet. Daydream comes on when I put it in the dock when the screen is off and it starts charging.

Brightness on the phone is on automatic and at night the clock is quite bright but no brighter than setting it on minimum manually. Unfortunately it is about the same when the app is turned on.
[Android Apps and Games] velis74:
Ah. In this case you may yet be saved :) It seems what you see is your display's minimum brightness.

Try turning on superdim. That should decrease night brightness further.
[Android Apps and Games] Calomax:
Thank you, I haven't found superdim yet. I'll find it and give it a try.
[Android Apps and Games] pnr2020:
Just noticed a small problem if you disable velis notification when you pull down notification bar half of the toggles are cut off this only happens on custom roms on stock roms it's fine any ideas anyone
[Android Apps and Games] velis74:
Actually I'm on custom ROM and I never noticed anything like you describe. Disabling interactive notification actually doesn't create the notification. There's no hack or anything. It simply doesn't get created. Can you please restart the phone (with notification off) and see if the problem persists?
[Android Apps and Games] pnr2020:
This is what happens for me with notification off
[Android Apps and Games] pnr2020:
And its normal with notification on

I have tried on 3 roms and all the same apart from ALEXNDR ROM it's fine on that thank you for any advice you can give
[Android Apps and Games] velis74:
And it's the same even if you restart the phone?
[Android Apps and Games] pnr2020:
Hi yes its the same I have restarted 3 times and tried battery pull
[Android Apps and Games] Alktop:
Invisible Notification Icon

I love VAB and have been using it for quite some time on my Galaxy S4 i9505.

However since Lollipop 5.0.1 was pushed to my phone last week having the interactive notification showing in the pull down panel also causes an invisible notification icon to be displayed in the status bar.

Could you please take a look and either remove the invisible icon (not sure if that's possible?) or alternatively provide an option for an actual icon to be displayed instead.

Many thanks and keep up the great work!
[Android Apps and Games] rogxd:
I didn't understand if Velis is more battery friendly than the stock auto brightness.

I'm trying Velis with s-curve preset and default options, on my Galaxy S5 lollipop.
[Android Apps and Games] lklaus:
Hi,

I don't know whether this is related. I'm on Omnirom for my s3 mini. After unlocking, it takes around 15 secs until vab kicks in. I don't really understand that logcat, but it looks like it takes that long for VAB to kick in. There's lots of talking about camera, maybe VAB can't get at the cam earlier.

Klaus

If you think the logcat is of any help, drop me a line
[Android Apps and Games] Technical:
Working like a charm in my S4 I9505 with SlimLP ROM. :good:
[Android Apps and Games] velis74:
Yeah, that icon is a problem. I don't like it in status bar and the only solution was to make it transparent. At the time I didn't like adding another option to the settings, they are many as it is...

Battery-friendliness depends entirely on your chosen brightness curve / sensitivity settings. If you like things responsive, you might even end up with more battery usage. Ususally that's not the case though.

I still need to check exactly when the first pic is taken, so I can't definitely answer this yet.
[Android Apps and Games] Technical:
I'm not seeing a startup entry or, in other words, seems the program is not loading automatically after boot.

What am I missing? :silly:
[Android Apps and Games] velis74:
No idea. The app requests permission and registers a listener for the event, so it should be loading.
[Android Apps and Games] velis74:
4.18.189 (20.4.2015)

Yet another try at fixing lollipop lock screen

* This should also fix issues for delayed camera first read after leaving lock screen

FIX: Additional brightness doesn't work

FIX: Notification removed from lock screen

FIX: Transparent icon removed from lollipop status bar

Uploaded to play store for beta only.

Some pretty iffy changes in there that I thought I already explored, but now they seem to "magically" work. I'm sure further testing will reveal error of my ways :D

I just wanted to publish an interim version because I'm doing some other TODOs right now and these changes are fixing the most annoying issues. So you can expect more soon.
[Android Apps and Games] razorinc:
Is the problem with whatsapp solved? Any good advice or solution?
[Android Apps and Games] velis74:
4.19.191 (21.4.2015)

FIX: Wrong overlay type after lock screen

Hm, was I the only one that had issues with 4.18? I was so unhappy because I actually ran into them really soon, but couldn't unpublish from beta :( Also, this is my first half an hour comp time since then and it's getting dangerously close to midnight too :( Spring is heavy on the garden work :p

[MENTION=1200311]razorinc[/MENTION]: did you try the service keep-alive interval setting in developer options dialog? There's really not much else I can do about Android killing VAB.
[Android Apps and Games] velis74:
4.20.192 (22.4.2015)

FIX: Best I can get for lollipop lock screen (sorta works)

My ultimate (and probably final) attempt at fixing lollipop lock screen. There's no way that I know of that can properly handle this, so I made an extremely ugly hack: I used system AB for those that have it and set screen to 80% brightness for everyone else (those on cameras as sensors). I'm so angry at Google right now and their API breaking changes. :mad: Total waste of my time, instead of adding semi-cool features, I have to slave around with this c**p.

Leaving this in beta and downloads section for a couple of days, then promoting to prod.
[Android Apps and Games] albug68:
Hi velis many thanks for this beautiful app.

I am very sorry for the problems with google api

I want inform you that my LG L9 P760 JB4.1.2 work very well with main camera (retro camera) but don't work with frontal camera. Don't measure anything...0 lux.

My samsung tab4 10.1 kitkat 4.4.2 work very well with frontal camera. With your app now tab is perfect.

Regards.
[Android Apps and Games] velis74:
Please enable picture storage in developer options dialog and make sure the picture is grabbed. Then send me the picture via email. I'll take a look.
[Android Apps and Games] sunsero:
Still an issue with this version is that Ok and Cancel buttons on edit graph manually dialog are almost unreadable in sunlight (black text on dark grey background)
[Android Apps and Games] albug68:
Thanks velis...but I don't find "enable picture storage" in developer options dialog.

Can you helpl me to find it?

Regards.
[Android Apps and Games] velis74:
It says "Camera last picture taken". You will find the picture files in the data/data/com.velis.auto.brightness\files folder. You have to use adb to get them, of course.
[Android Apps and Games] lklaus:
Works fine for me so far...

Klaus

Well, one little nuisance, maybe I missed something... Lockscreen is very bright. After unlocking, it adapted brightness fast
[Android Apps and Games] albug68:
Sorry but I don't find any "Camera last picture taken" in developer option.

I connect eclipse ddms to explore phone but don't try to find anything in the data folder.
[Android Apps and Games] razorinc:
Sry but I cant find this service keep-alive interval setting... Where is located correctly?
[Android Apps and Games] velis74:
Yeah, that's my "solution" for all those with cameras as sensors. Since I can't know whether you just moved outside on the sun, I set screen brightness to 80% just in case. Should return to normal immediately after leaving lock screen.

Developer options dialog is started by long-pressing proximity sensor reading on main screen.
[Android Apps and Games] sunsero:
Wouldn't it be preferable / possible to use instead of 80% the overwrite sensor reading value from settings?
[Android Apps and Games] velis74:
Yes,I've been thinking about adding a setting for brightness when VAB deactivates for quite some time. On TODO now, will be published together with some other new features when they're done. School holidays here this week, I have nieces staying, so not really lots of time to program right now :D
[Android Apps and Games] razorinc:
Device automatic brightness has lower brightness then velis in the dark, screen is more dimmer if you know what I mean... Any way to change that?
[Android Apps and Games] velis74:
VAB's brightness depends on the curve and parameters you set in VAB, system's brightness is depending on its own curve and settings. Why would you want VAB's brightness to match system's? Seems counter productive in context of what VAB is.
[Android Apps and Games] razorinc:
I dont want to systems brightness match the VABs, I want to decrease the brightness in dark with velis as much as possible, even if I change graph to 0 brightness when lux is 0, system brightness seems to be more dimmer, darker, eye friendly.
[Android Apps and Games] velis74:
Then turn on super dimming. Only know that you can't set the graph to 0 with it. That would actually mean pitch black.
[Android Apps and Games] sunsero:
What I meant is that in settings there's already a value for overwriting the sensor reading. Can't this value be used instead of the 80%?
[Android Apps and Games] velis74:
The problem with this value is that it isn't really mentioned in VAB anywhere. Not many users understand that this is what is applied when VAB deactivates for an excluded app. Intuitively a user would assume that any system value is of no consequence as long as VAB is active. That's why I believe adding this as a setting in VAB should benefit the average user. I could (should?) even tie it to the system setting.
[Android Apps and Games] sunsero:
That's funny - actually I thought (and still think) the overwrite sensor value from settings is the value that is applied when unlocking the screen before the first camera picture is taken. I didn't realize that it's also the value which gets used when an excluded app is in the foreground and that it's also meant to be the value that get's used when you turn off VAB temporarily in the notification area.
[Android Apps and Games] velis74:
Well, this is exactly the case. Except in the latest version I always overwrite this value with 80% before entering lock screen.
[Android Apps and Games] PreemPalver:
Hi guys, I would like to disable the app and use brightness slider to change brightness but even if I disable the service, uninstall the app and reboot the phone slider won't work. Brightness doesn't change. I'm running cm12 btw.

Any help?
[Android Apps and Games] velis74:
This is a standard Android application. It does nothing and can't do anything to mess with system. Your problem is in your ROM or maybe you forgot to do a factory reset when flashing or something along those lines.
[Android Apps and Games] velis74:
4.21.193 (16.5.2015)

FIX: Users on lollipop with camera as sensor will now have brightness for lock screen set to Screen-on sensor value override instead of fixed 80%

Added setting for required number of touches (was fixed to 3) to refresh screen brightness when steady screen is on

Add setting for brightness when VAB turns off for excluded apps

FIX: Theming for buttons

FIX: RTL did not work on manually selected RTL language

FIX: new app install no longer shows the apply / cancel buttons

Uploaded to Play store beta and downloads section.

[MENTION=5716194]elevengu[/MENTION], [MENTION=4582188]pisasax[/MENTION]: this should fix your issues - of course, you have to set the "Steady screen update brightness" setting to a higher value.

Edit: Promoted to production
[Android Apps and Games] velis74:
Just found out one can donate to XDA. Hence the star under my avatar :)
[Android Apps and Games] chefkevin:
This latest update completely broke excluded apps for me on my nexus 6 with 5.1 . Nothing changes now when I launch an excluded app. The brightness adjusts the same as it would in a non excluded app. Also the new override sensor for excluded apps also does nothing. It can't be set to a value higher than the screen on sensor value override. How is that useful if you want VAB to adjust normally and just want to set a default value for system brightness when VAB is off?
[Android Apps and Games] Pkt_Lnt:
I am getting the same. I could not place a value in the excluded apps, it kept resetting to 0. Setting anything in the screen on override places the same value in the excluded apps override. I've since reverted to the last version.
[Android Apps and Games] velis74:
4.21.194 (19.5.2015)

FIX: Excluded apps bug

Published to play store and downloads section. I need to increase my testing :( Also, beta testers don't really test no more :(
[Android Apps and Games] Freddy1X:
I'm glad to test that beta version.. Approve me, and I'm your padawan! :D
[Android Apps and Games] chefkevin:
Excluded apps 100% back to normal and the Excluded override is now working exactly as I would expect :good::good: Thank you!
[Android Apps and Games] sunsero:
On installing an app I noticed that during a very short time (fraction of a second) the screen became very bright before the superdimmed brightness derived from the sensor becomes applied again. I think the annoying 'lightning' was derived from none of the both override values.
[Android Apps and Games] Freddy1X:
Ok.. Just tested the latest version.. I think I'm diggin this app's design over Lux Auto Brightness in terms of simplicity.. I like it being simple..

So far no hiccup so I don't have anything for now to report.. Will gonna try this app behavior with extensive test later..
[Android Apps and Games] velis74:
This may be an artifact of system switching from VAB to "fixed" brightness (from what it "previously" had declared as "fixed"). Possibly a one-time occurrence?

Also, I noticed on my rom (Fusion) that Package installer no longer complicates stuff if VAB is active :confused: Maybe a ROM feature? Or a lollipop feature?
[Android Apps and Games] velis74:
Long time since I heard this app was simple :) Nowadays it's more like "Soooo many settings, I don't know what to do, this app suxxorz because of that". Some folks just can't run through wizard and leave it at that but are then baffled by quantity of options they are given :confused:
[Android Apps and Games] devilrulz4ever:
Much better than Lux Auto Brightness, I agree. Giving comfortable brightness all the time. Removed Lux since I got Velis.
[Android Apps and Games] Nicknoxx:
Yeah, I've just moved from Lux to VAB and while I love the app, I did find all the settings confusing. How about putting some in an "Advanced" section and maybe offering default values for things like "Screen-on sensor value override" which are a bit daunting at first? I also managed, despite the warning, to make my screen completely black using the superdim option and it took me a while to work out how to make it visible again! However I like it enough to buy both the Tasker support and the developer support. Keep up the good work
[Android Apps and Games] velis74:
Categorisation is on my to-do, but so far I didn't get to it because it's hard to decide which settings should or shouldn't be the "advanced" ones. It's different for everyone. There's also no default for screen on override as only you can say whether you want your screen bright or dim... I'm fixing superdim right now. Hopefully, I will have something soon.
[Android Apps and Games] hokiemoto:
I don't think the "Screen-on sensor value override" setting is working as designed on Samsung Note 4, Android 5.0.1. I've set it very low (1) and very high (9000). I believe the purpose is to cover that fraction of a second when the screen first comes on, before VAB recognizes the light reading. No matter what number I put there, the screen is always bright for a half second when the screen comes on. Is that unavoidable? Would be great to not have to hide phone when checking it in a dark theater because of the initial "flash" of brightness! anyway, love the app!

Note: I'm not using a lockscreen... maybe this is the issue (?)
[Android Apps and Games] velis74:
The initial flash is a result of VAB giving control of AB for lock screen to system on android 5. That flash is what your ROM does when screen comes on, it would seem. Sorry, but there was no other way that I could find to make lollipop lock screen work. Since I can't know that your device doesn't use lock screen, I don't treat it no differently. So what you are seeing is one brief flash of system brightness then followed by VAB taking over and reducing the brightness.

Currently there's no way to disable this solution, but I think I could hack up something like not activating system AB if you add lock screen to excluded apps. Would you test and report your findings if I did that?
[Android Apps and Games] hokiemoto:
Thanks - Sure, I'll test anything you can think of. I do notice the override working when I use a lockscreen, but only immediately after unlocking (does no good at that point). During the time the lockscreen is displayed, it seems like only system AB is in effect.

Use case: Remaining in dark environment, no lock screen, screen on causes system AB bright flash
[Android Apps and Games] velis74:
OK, I have put a new APK in downloads section, size 640KB (yes, that's correct, it's significantly smaller than previous one). This APK doesn't activate system AB IF you add lock screen to excluded apps list. It DOES however set system brightness for lock screen: "screen on sensor value override" setting if it is set or current screen brightness if it's not.

My LG G3 doesn't do what you describe, so I can't test this, but hopefully this should make it possible for you to kill the bright flash: set screen on override to a low value, add lock screen to excluded apps and you should be good to go. If it still flashes, we're in trouble ;)

APK size explanation: I have split deployment to pre-ICS and post-ICS APK's. The post-ICS APK doesn't include compatibility library and that makes it lose some weight. Don't worry though: one of the future features will put that weight right back :cowboy: Right now I only included the post-ICS APK in downloads section since this is an interim publish. When I complete the feature I'm implementing right now, I'll publish both - though I don't think many people here are on pre-ICS devices :)
[Android Apps and Games] hokiemoto:
Thanks for the test file - I tried it but unfortunately no change in behavior. I followed your instructions but regardless of what I put in the exclusions/overrides, it always takes a second for VAB to take effect after the screen is turned on.
[Android Apps and Games] velis74:
Sorry to hear that. We could try the kitkat variant where I don't hide the overlay for screen off, but I'd have to place this into dev options dialog or something. It's definitely not something many lollipop users would enable. Also, I'm right in the middle of implementing the next feature so it'll take a week or so before I can do this. The new feature's UI isn't finished and I'd hate to publish something as ugly as that :)
[Android Apps and Games] marceldossantos91:
Hoping someone could help me, the app works excellent, i just have one annoying issue, though i have the disable system sliders handler enabled, the system values still override those of velis in the lock screen, once screen is unlocked it dramaticly drops and velis kicks in, is there any work around to disable system values? I am on root + ubl, so modding some sys files is no problem for me, just want one consistent brightness, can anyone help? Thanks. Running on D6603 .28 moonbreaker provolution rom + androplus kernel 57b, thanks!
[Android Apps and Games] velis74:
You're probably on lollipop. Lollipop in lockscreen does not provide an option to adjust screen brightness without issues. So for lock screen, VAB temporarily leaves brightness handling to the OS. Sorry, I also hate it, but it's the best I can do for now.
[Android Apps and Games] marceldossantos91:
Thanks for clearing that up, now i understand why :) much appreciated!
[Android Apps and Games] sampalmer:
By the way, just in case you didn't know, I think you can reduce this app's RAM usage by running the service in a separate process to the UI. For an app this big, it mightn't be worth your time, but it's an option for if you ever decide you want to lower the RAM consumption.

I've implemented this in an app on Google Play, and it reduces the background RAM usage to about 4MB on Android 5.1.1. The main hurdle I had to overcome was controlling mutually exclusive access to the app's SharedPreferences since SharedPreferences isn't multi-process-safe. (The code for that is on GitHub.)
[Android Apps and Games] bamtan2:
side note: you need to better describe what you app does, because I still don't have the foggiest why it's different than built-in auto rotate :)
[Android Apps and Games] AlkaliV2:
His app, from what I can tell, is intended to allow the user to lay sideways in their bed and their device will maintain portrait mode instead of entering landscape mode like default auto-rotate does.

Life examples: Rolling over on your side at night to check your messages and you don't have to sit up to view your phone in portrait mode. This will maintain portrait mode sideways under certain conditions.

Velis74,

I just started running this app on my Note 4 with Smart Launcher 3, the Touchwiz lockscreen disabled, and using smart launcher's lockscreen. I notice what the other person stated about the initial rise of brightness, but your app corrects that brightness level in milliseconds so for me there is no issue. I am very impressed with the app and will definitely continue to use it. I'm going to cruise the thread and see what settings everyone is using so that I can customize my perfect auto-brightness settings :good: