yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV Themes and Apps] del4:
Noticing some strange problems lately with the backlight level switching almost every interval (which I have set currently at 2500ms). May just be my configured levels, but I'm finding that just simply using my stylus, meaning that my hand is partially blocking light to the sensor, is causing the light level to change.

Wish we could find out the algorithm used by HTC's built-in auto adjustment option and simply have the ability to tone the brightness down a bit as I don't see their adjustment mechanism acting this way. Almost seems like they are doing some time of smoothing so that the adjustments are more gradual. Hope you're able to resolve this in a future release and look forward to doing some power benchmark tests once we can get it to be better behaved.

@ageye

Just a thought that may help you debug some of the issues your users are having. What about an option to log the light sensor level and adjustments to a text file so that we can more easily send you the details of the behavior we're seeing, rather than just providing anecdotal reports that are hard to describe accurately? If you include the current battery level and/or power draw, this could even be used to aid in benchmarking the power savings (if any) G-Light provides?
[Touch Diamond, MDA Compact IV Themes and Apps] itoYo:
hey i ageye, i got another suggestion for you app if youv not already added it!

on the application exception list is is possible to set a minimum backlight level instead of a fixed one! say for example i set opera to back light level 4, when i go the brighter environment would make the up increase the backlight level. instead of staying at level 4!

hope you can add this!
[Touch Diamond, MDA Compact IV Themes and Apps] ss1271:
Hi,ageye

Thanks for your brilliant software,and I'm now using G-Light v0.4, sometimes it works perfect, however sometimes it still could not adjust backlight automatically.

My device is Touch Diamond with Dutty's V2.9 (19974), and I'm sure I've enabled G-Light.

It works perfect when it was first been installed. Nevertheless, after several times of device rebooting, the G-Light may not auto adjust backlight(I've check the G-Light process was running via Task Manager, and put my finger on the light sensor and, according to the default settings, the backlight should be turned down to level 1). And when this incident happens, the only way to call on the G-Light is to reboot my device again.

Is this the incompatible issues?

I'll flash another version of ROM and try again.

I'm very appreciate your work!

Danke dir~
[Touch Diamond, MDA Compact IV Themes and Apps] serphinox:
start up Delay always resets to 1

After exiting from changing and saving the startup delay to 5 seconds, opening the program again will give a value of 1 again?

Is that suppose to happen?
[Touch Diamond, MDA Compact IV Themes and Apps] dd129:
Thanks for your brilliant software,

unfortunately, change the brightness when it is no longer in the docking station stood.

I'm using G-Light v0.41 with MDA IV, Comec Rom 4.1 Secondtoday with TFD3 and Sbp PocketPlus.

Sorry for my bad English.

Greetings

DD129
[Touch Diamond, MDA Compact IV Themes and Apps] tepss:
On my must have list ;)
[Touch Diamond, MDA Compact IV Themes and Apps] mxl180:
I've started using this program today (8 hours). I just received a crash error

"

NullReferenceException

at

Sensors.HTCLightSensor.BrightnessThread()

"

Any ideas? I have the HTC touch pro
[Touch Diamond, MDA Compact IV Themes and Apps] mmoonsamy:
same thoughts here....anybody can confirm this?? thanks
[Touch Diamond, MDA Compact IV Themes and Apps] jolas:
Same here. I use it on Touch Hd, and it runs perfectly. But also, I had two or three of the same message.

The strange think is that G-Light does not stop working after terminating the crash error :confused:

Other than that, it's a perfect application!
[Touch Diamond, MDA Compact IV Themes and Apps] rich_n:
GREAT application. Thank you and looking forward to the ac connected setting!
[Touch Diamond, MDA Compact IV Themes and Apps] Ximoon:
Seems nice !

But has anyone done a some benchs to know if it *actually* saves battery, and how much ?
[Touch Diamond, MDA Compact IV Themes and Apps] marmo:
I get the same exception
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
New version released: 0.4.2

No new features but a lot of cleanup and stability improvement...

Please report if it works better now...

Changelog: http://www.ageye.de/index.php?s=glight/changelog

Download: http://www.ageye.de/index.php?s=download

Have fun with it!

Some remarks:

Some user asked if you can save battery with G-Light. For now I still haven't tested it. I don't even know if it is significant what you can save...

But me and I think most of the users use G-Light because of te ability to decrease the backlight level to the lowest level which is perfect for darker places... (Navigating during night, reading news in the bed, whatever...)
[Touch Diamond, MDA Compact IV Themes and Apps] enormous:
Just updated to the latest version, and still getting this error:

GLightRunner.exe
NullReferenceException
at
Sensors.HTCLightSensor.BrightnessThread()

Really appreciate the app. Love it!

EDIT: I should include, I get this error only after unlocking with S2U2. It also does not happen every time.
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
Released 0.4.3

try the new version. Sorry for that!

Download: http://www.ageye.de/?s=download
[Touch Diamond, MDA Compact IV Themes and Apps] enormous:
Thanks for the quick update! Just AppToDate'd it, I'll let you know how it does.

One other oddity: in the last two versions the "Current light sensor level" output has displayed "0.00" no matter what the lighting conditions. The app continues to detect light levels and change the backlight, it just doesn't show the numerical value here. I have even tried a soft-reset to see if it started displaying.
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
that's strange! For me everything is working fine... but I'll check that again
[Touch Diamond, MDA Compact IV Themes and Apps] jolas:
I have the same situation with "0.00" displaying.

But G-light is working perfect.
[Touch Diamond, MDA Compact IV Themes and Apps] Azlum:
Same with me, the displayed value doesn't work.
[Touch Diamond, MDA Compact IV Themes and Apps] whc:
This is just what I have been looking for, works very well, thanks bro for your hard work :).
[Touch Diamond, MDA Compact IV Themes and Apps] lindalinda:
same problem but work perfect with S2U2
[Touch Diamond, MDA Compact IV Themes and Apps] jolas:
Did anyone noticed an increased battery drain with last version?
[Touch Diamond, MDA Compact IV Themes and Apps] peacock93:
I was getting the 0.00 read out also but my Touch Pro would not change backlight levels. I still had a copy of 4.1 and went back to it and everything is working fine now.

peacock93
[Touch Diamond, MDA Compact IV Themes and Apps] yaneck:
Now it works perfect with PocketShield.

I also have problem with "Current light sensor level" pointing to 0,0 but everything works fine.
[Touch Diamond, MDA Compact IV Themes and Apps] mxl180:
same problem "current light sensor level" always shows 0 now.

BUT NO CRASHES SO FAR!
[Touch Diamond, MDA Compact IV Themes and Apps] jolas:
I dowgraded to version 0.4.1 to check if the excessive battery drain issue I have, is because of the last version.

(I use it on a Touch HD)
[Touch Diamond, MDA Compact IV Themes and Apps] rigbyrj:
hey,

I'm having trouble getting the two to work together - when I install the latest version of g-light and enable it then pocketshield stops locking the phone. g-light works fine but pocketshield is disabled. could you tell me your procedure for getting the two to work together - the order you installed them and the versions you are working with. any help would be greatly appreciated.

thanks very much.
[Touch Diamond, MDA Compact IV Themes and Apps] del4:
I'm having the same issue as others here with the sensor reporting a 0.00 level. Also still having issues where the backlight level is almost constantly changing, which is understandably quite frustrating. Is anyone using G-Light successfully on a Sprint Touch Pro and, if so, could you share your backlight level settings? Maybe that's my problem? May try again with the default settings...
[Touch Diamond, MDA Compact IV Themes and Apps] dr g:
I notice that when you have a program running which you have an exception for, say TCPMP at level 5, when you minimize that program, the level stays at 5 for all other programs ... is it possible to have it only apply to that specific program?
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
some good and bad news:

good news:

I could find the 0.0 bug and the issue that G-Light first brightens the screen when powering on and then change it back to the normal backlight level.

bad news:

I somehow screwed up my code that's why I can't released it yet (it always freezes after pressing the power button :D)

I hopefully can find the issue and can fix it soon. 0.4.3 should then run perfect and afterwards there will be some new features...

@minimized exceptions:

this is true. you have to close the program otherwise G-Light thinks you are still using it. In the next version or at least after 0.4.3 I will implement that it only looks for the application which runs in the foreground
[Touch Diamond, MDA Compact IV Themes and Apps] peacock93:
Thanks for the update Ageye!!
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
New version released: 0.4.4!

I could fix all the bugs you have described. Check the changelog...

In the next releases there will be new features...

Changelog: http://www.ageye.de/index.php?s=glight/changelog

Download: http://www.ageye.de/index.php?s=download
[Touch Diamond, MDA Compact IV Themes and Apps] Rod65:
Just a short question if it is possible to make this great tool run with build in net 2.0, so that i can uninstall this damn netcf 3.5 ?
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
you're right. my mistake! I accidentally used .netcf 3.5 instead of 2.0

If I have time I'll convert it to 2.0
[Touch Diamond, MDA Compact IV Themes and Apps] lover:
very intresting app, i suggest backlight overide in options too
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
?!? what do you mean ?!?
[Touch Diamond, MDA Compact IV Themes and Apps] sblop:
Hi ageye.

I really love your software. :-)

I know is was a bug, but i really liked that the screen brightend up when the device were turned on. Then I never had the problem that the screen were to dark the first 2 seconds... Would you consider making it an option? :-)

Greetings.

EDIT:

Enjoy the beer I sent you. ;-)
[Touch Diamond, MDA Compact IV Themes and Apps] Azlum:
I'm having this exact same problem :( I can't live without pocketshield either.
[Touch Diamond, MDA Compact IV Themes and Apps] Lycox:
Feature request:

I don't know, if it's already been asked, but could you implement to the exception list a process or directly an exe instead of just the window name?

Explaination: When using, let's say Opera, the window title always change when you entering a new website. To prevent this, I (and maybe others too) need that option.

Btw: Thanks for that nice proggy :D
[Touch Diamond, MDA Compact IV Themes and Apps] lover:
i mean option to keep backlight always on for selected program
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
thank you for the beer! I already have answered you via email.

I don't use pocketshield that's why I don't know why this happens... Is there any user of pocketshield who can help him?

that's right. I will see what I can do...

I can add an option for that...
[Touch Diamond, MDA Compact IV Themes and Apps] yaneck:
Same problem with PocketShield here...It stopped to work with new GLight :/
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
what was the last version of G-Light which worked?
[Touch Diamond, MDA Compact IV Themes and Apps] alexk1f:
Feature

Hi,

I'm not sure if this has been requested but would it be possible to:

On a call:

turn off the display once i put the phone to my ear

turn on the display once i move the phone away from my ear

Thanks

Alex
[Touch Diamond, MDA Compact IV Themes and Apps] yaneck:
0.4.3 was working with PocketShield
[Touch Diamond, MDA Compact IV Themes and Apps] lindalinda:
great ageye now all my problem are solve!!!

now other people and I've some suggestion for you app

or put a checkbox for this option to each program in exception list

another request: when I'm in "settings" tab and change the value in "dim backlight to level" box can the backlight change in accord to this value so I can view the real status of my settings

thanks again for your hard work
[Touch Diamond, MDA Compact IV Themes and Apps] yoohoo:
or put a checkbox for this option to each program in exception list

I second this since I requested for this feature as well. Better still, we should allow for individual min-max level setup and with this exception handling is redundant.
[Touch Diamond, MDA Compact IV Themes and Apps] sblop:
I havent received an email either on this forum or on my private mail.
[Touch Diamond, MDA Compact IV Themes and Apps] Vladimyr:
Ablosutely agree. Continuously changing backlight level nearby the "edge" between two paces making this program almost unusable!

I hope author finally will implement the hysteresis feature :)
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
first of all: new features will come! Please be patient...

Unfortunately this is not possible because when the display is turned off the light sensor reports no valid data. that's why I don't know when you move the phone away from your ear...

Now to your bug reports:

PocketShield annoys me :confused:

There are so many locking tools which DO work with G-Light so I don't think that G-Light is the problem. Maybe you should talk to the developer of PocketShield. You paid for it so he has to get it work for you. G-Light does nothing except of measuring the light level and changes the backlight level...

There is already a buffer of 3 seconds... I can implement a option to change the size of this buffer. But I have to tell you that there is a problem with your settings! Just adjust the backlight levels...
[Touch Diamond, MDA Compact IV Themes and Apps] Vladimyr:
the buffer is not a solution

Please understand, the buffer is not a solution! It's rather maleficent.

Look: if i have settings, for example, 50..100=level2 and 101..200=level3.

Then if the ambient light is changing from 100 to 101, then back to 100, then again to 101 and so on, i'll get continuously switching the backlight from level 2 to 3, then again 2 and so on.

If i change levels, say, 50..110=level2 and 111..200=level3, at this illumination everything will be all right, but i'll get the same trick around 110.

Please notice that a very small change of illumination (even on 0.01) leads to changing sensor value from 100 to 101!

The buffer does not solve this issue, but makes inadequate behaviour of the backlight, which will be changing with a delay, when ambient illumination will be constant! The bigger buffer causes the bigger inconformity.

But if you make a small hysteresis, for example, from 90 to 100, in order to backlight will raise at 100 and fall at 90 - there will be no flickering around 100..101 (and at any other value, too)! It should be changed for 10 points to cause switching!

An important remark: amount of hysteresis should be proportional to the size of the level itself, e.g. if the level is spanning from 10 to 20, hysteresis should be around 5, but if the level is from 200 to 400, it should be 50 or even 100.
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
ok, thank you
[Touch Diamond, MDA Compact IV Themes and Apps] MUMMIA:
Anybody else have seen excessive battery draining also with the last version of g-light ?
[Touch Diamond, MDA Compact IV Themes and Apps] jolas:
With version 0.4.4 I haven't such a problem.

I had excessive battery draining with version 0.4.3
[Touch Diamond, MDA Compact IV Themes and Apps] Vladimyr:
It seems i did... Thought it was something else went wrong...

Will try to uninstall and check!
[Touch Diamond, MDA Compact IV Themes and Apps] k1sr:
Great App...

A couple of thoughts to add...

1. I feel the logic is a little around the wrong way - wouldn't be best to pick a light range, then select the screen brightness - it just seems to take a little longer to set up with the way it is now...

2. The use of sliders could work pretty well - say you have 10 sliders (one for each backlight level) you could adjust it that way, with all 10 shown at once - would need a stylus to operate, but would show a complete overview of your setup

3. I'm not sure what the windows start up delay is, however, you could include some kind of user defined light based buffer, such that if the light is within say 20 points of its maximum/minimum levels, it will still maintain the current level - this would prevent 'pulsing' due to ambient lighting changes right in between two levels... The update interval almost solves this problem, providing the fluctuations are within this interval, however it also prevents a quick update if you're deliberately going somewhere darker/lighter (inside/outside)

All things being said, I wonder why the built in 'auto adjust' works nowhere near as good as this...
[Touch Diamond, MDA Compact IV Themes and Apps] Vladimyr:
excessive battery draining confirmed

After the night i noticed that power consumption returned back to normal.

None was done except i uninstalled G-Light. version 0.4.4.

So, the words "save some battery" sounding like a joke ;)
[Touch Diamond, MDA Compact IV Themes and Apps] DMagister:
I have the same (battery draining) problem. G-Light 0.4.4, HTC Touch Pro. I monitor with UpTime pluging and uptime was the same the time since last charge.
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
I don't know what happens on your device but G-Light goes to sleep during standby just like any other program. It doesn't prevent Windows from going to standby or something like that.

EDIT

I just looked over the code again and I'm sorry, you are probably right...

I've changed something which may cause the problems. Please give me 10 minutes to release 0.4.5 which should fix the problem
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
New version released: v0.4.5

I fixed the battery-draining bug and also updated the exception list. it works now with .exe filenames as well (not only window names)

Changelog: http://www.ageye.de/index.php?s=glight/changelog

Download: http://www.ageye.de/index.php?s=download
[Touch Diamond, MDA Compact IV Themes and Apps] :
Fyi, I had NO problems at all with v0.4.4,

1) no backlight changing all the time (just use other values, if the default ones don't suit you, e.g. I disabled backlight level 1 at all) and

2) no excessive battery draining at all.

Maybe YOU, Vladimyr, have problems on YOUR device,

but nevertheless the way you have described the two issues was quite harsh and disgusting.
[Touch Diamond, MDA Compact IV Themes and Apps] Lycox:
Thanks for adding exe files to the exception list. Works great so far :)
[Touch Diamond, MDA Compact IV Themes and Apps] yoohoo:
Thanks for your responsiveness and the constant upgrade.

Always work as per usual.

Battery drain (just minimally increased in my case) reported in earlier version seems to have been addressed.

Keep up with the good work! :)
[Touch Diamond, MDA Compact IV Themes and Apps] gabbababbahey:
How about polling the accelerometer every few seconds? Might be a fair assumption to say that most people have their phones in a vertical orientation while talking.
[Touch Diamond, MDA Compact IV Themes and Apps] :
Alone the arguable fact "that most people have their phones in a vertical orientation while talking" will make such a feature useless and for most people it will just add overhead.

Also I bet that most people don't wanna see such a feature in G-Light because G-Light controls the backlight and has nothing to do with the accelerometer.

In my opinion another tool is needed to satisfy your needs.

On the other side this feature would be very useful:
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
New version released: v0.5

sorry for the delay. I'm pretty busy right now but I could complete some of your requests. That's why I release 0.5 now although not all planned features are done...

Changelog: http://www.ageye.de/index.php?s=glight/changelog

Download: http://www.ageye.de/index.php?s=download

Please report if everything works fine!

Thank you for using and supporting G-Light... you're great!
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
I saw that there is a similar application here called LUMOS

the developer compares G-Light to LUMOS and I think I have to correct some points...

@unpredictably: that's not quite true. G-Light interpolates the values it receives from the light sensor as well...

in the latest version (0.5) it also has a tolerance which prevents jumping of backlight

I have never measured more than 3% of CPU usage. When G-Light is idle it uses 0.00%. Only if it accesses the light sensor or the backlight level there is about 3%. If you set the update interval to 2000 ms you will have 3% of cpu usage every 2 seconds. but you have this with Lumos as well...

and what are 3% if you have 97% left?

that's not true. when you set the update interval to 3 seconds (for example) g-light reads the light sensor only every 3 seconds...

that's true

well, every application has different features. Lumos has function which G-Light doesn't have and G-Light has functions Lumos doesn't have...

try both tools and decide for yourself! I just didn't want to have some wrong things posted here...
[Touch Diamond, MDA Compact IV Themes and Apps] yoohoo:
Hi ageye,

Any fair comparison has to be done quoting the versions involved.

A overly generalised comparison is unjust since we know s/w will evolve

(hopefully improve over it various lifecycles).

I can see you are on the right track with each version upgrade better than the one before.

Cheers!
[Touch Diamond, MDA Compact IV Themes and Apps] whc:
Well I have been using G-Light for some time now, and overall it really saves some battery life, and most important I don't feel any noticeable performance decrees, overall very nice little app.

Have not tried LUMOS yet, am happy with G-Light so no reason to try anything else, keep up the good work ageye, much appreciated :).

BTW. Have not been able to get v0.5 over 2% CPU usage yet, most common for me is between 0.29 - 1.78%.
[Touch Diamond, MDA Compact IV Themes and Apps] chekmaan:
I am using LG KS20.

the program is not working on my device, there is error message while the program acitivates

"Can't find PInvoke DLL "HTCSensorSDK"

"Can't find PInvoke DLL "HTCUtil.dll"

i do have Microsoft .NET CF 3.5 installed in my device

any idea how to solve the issue?

thank you
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
this works only on htc diamond, diamond pro and hd
[Touch Diamond, MDA Compact IV Themes and Apps] lindalinda:
there is a bug in new version:

when I start G-Light config the backlight go to level 1 then flashes every 2 seconds and the value of "Current backlight level" is always 0
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
sorry for that bug! will be fixed today
[Touch Diamond, MDA Compact IV Themes and Apps] ageye:
New version released: v0.5.1

I fixed some bugs

Changelog: http://www.ageye.de/index.php?s=glight/changelog

Download: http://www.ageye.de/index.php?s=download
[Touch Diamond, MDA Compact IV Themes and Apps] :
After updating to v0.5.1, I also installed LUMOS v0.8 for testing, and want to post my findings about the CPU usage:

(Of course with both applications there are fluctuations all the time and what I post here are my *subjective* averages, on a Diamond.)

no change in backlight level:

G-Light: ~1.5 % every 2 seconds (polling interval)

LUMOS: ~ 0.1 % constantly

changing backlight level:

G-Light: ~ 19 %

LUMOS: ~ 8 %
[Touch Diamond, MDA Compact IV Themes and Apps] MetalG:
so LUMUS is superior ?