yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze Themes and Apps] nik3r:
I downloaded Task Manager v3.1 (204 KB) and tried it.

This program shows even less CPU usage that MemMaid (0,00 - 0.10 in idle, spike 4.9% if backlight change) so it's definitely a problem specific for your software configuration or ROM.

I have an idea though, how often does your Task Manager update the values? It seems like it's 750ms by default in the version I downloaded instead of 1000ms in MemMaid, that would explain why I have lower readings. Yours may be set to measure in longer time periods (that would have to be refresh every 2-3s) so it shows imprecise CPU usage as a result.

If that's not the case, it must be another program that is active and can touch the backlight. To better understand why I claim it's not a problem of Lumos itself, I will back it up with facts.

Lumos is created using similar architecture as a 3D game engine, the polling interval specifies the maximum (like) FPS rate. And Lumos is completely idle between the individual frames, not reading, not writing, not listening, like if you switch it on only for the duration of a poll (only sensor read and some math) and then shut it down again until the next poll.

Because we all have Raphaels and Diamonds with the same conditions, the single poll will take exactly the same time for all of us. That logicaly means the only way how to increase CPU stressing is by increasing the maximum (like) FPS of the engine. The polling rate in Lumos is by default set to 1250ms, that means it's like 0.8 FPS.

The conclusion is:

- either you have incorrect reads of the CPU utilization

- you have very low pagepool size (that results in more CPU usage in general)

- some other application is accessing the HTC sensor and is blocking the way for Lumos, so the single poll takes longer than usual

- you may have insane amount of applications in the exception list (I've seen ZERO impact when testing with 5 exceptions but if you have more try to backup your config file and remove some)

If you suspect case #3, try to take your favorite task manager and kill all application processes until you find the one blocking the sensor or interprocess communication.

Good luck
[Touch Pro, Fuze Themes and Apps] pkley:
Very nice program, thanks a lot! Cab works great, just to be safe I went ahead and disabled .6 and deleted it first, no problems here...

A little confused on how exactly to enter exceptions, only exception I can think of is Teeter!
[Touch Pro, Fuze Themes and Apps] horstborsch:
Please add AppToDate support!
[Touch Pro, Fuze Themes and Apps] nik3r:
I am planning a versatile subsystem for active window name and class lookup in the future including process tracing (Wizard will run in background and log all window and class names until you disable it).

Until I have time to make this, you need to use a task manager (even the basic HTC task switcher will do). Just enter a name of application that task switcher shows for the application you want to force backlight in, select PRG type (that means program window name), set your desired brightness and add it to the list.

This is useful for example in 'Album' (HTC Album to show presentations), when you use GPS navigation in car on battery and so on.
[Touch Pro, Fuze Themes and Apps] nik3r:
If I understand right, all I have to do is to add a XML file to the cab installer to inject into that app. (I heard about it but never used it yet) If that's so, I will include it in next version.

EDIT: Sorry I'm not including AppToDate support until I get my new domain, there would be only problems with the moving to new website.
[Touch Pro, Fuze Themes and Apps] nik3r:
I just figured out an interesting thing, I tried this on every poll:

if (Microsoft.WindowsMobile.Status.SystemState.Time.Minute == 00)
bgTimer += CONFIG.POLLING_INTERVAL;
if (Microsoft.WindowsMobile.Status.SystemState.Time.Minute == 01)
MessageBox.Show(bgTimer.ToString());

I switched the device off at 19:58 and switched it on in 20:01. Guess what I saw - a messagebox which said '60000'.

Weirdness, I always obliviously thought that when a PDA enters standby, the CPU stops executing everything but low level system processes like phone functions, but it obviously doesn't and any application is running at full speed even though the device should be sleeping.

If I manage to exploit this and properly hibernate Lumos when the device is on standby, I can reduce its power consumption by as much as 95% (considering you use your phone 5% of the time it is switched on).

I am still exploring how to properly do this but I already guess we all have something to look forward to. Auto backlight that only touches your battery when you really need it to work :p
[Touch Pro, Fuze Themes and Apps] nik3r:
PowerAwareness implemented

I made it - I implemented complete power-awareness!

Lumos can now hibernate itself once the screen backlight dims or gets turned off and automatically resumes once it's required :)

At last auto-backlight doesn't affect battery life in suspend/standby AT ALL!

Measured CPU usage

- when backlight is active: ~0.05-0.20%

- when backlight dim: 0.00%

- device on standby: 0.00%

Now can ANYONE PLEASE test the now completely obsolete Lumos v7 on Blackstone aka. Touch HD and make a screenshot of the Main tab in Wizard? Pretty please this is the last thing I want before I release v08 :)

I just noticed Lumos got only 300 downloads in 11 hours. How is that possible? Spread the word!

And I have to say 'I thank you' to people who decided to donate for the project, you know who you are, and you surely made me give this project little bit more more attention. Thank you ;)
[Touch Pro, Fuze Themes and Apps] ctyy:
Waiting for v0.8. Cool
[Touch Pro, Fuze Themes and Apps] jolas:
I tested in my HD for a few hours and it seems to working pretty smooth.

I didn't measure the battery concumption, but as I see the memory consumption (via memmaid), is 427,62 KB.

Below is the screenshot attaced.

Thanks for your work with lumos.
[Touch Pro, Fuze Themes and Apps] nik3r:
I have a working prototype of v08 for BLACKSTONE ONLY. Don't even try DIAM&RAPH users ;)

Can please someone test this CAB and see if it works on blackstone and has no redundant scrollbars?

As for the v08 release, it will take some more time, there are still some issues to be resolved, especially with the AC not showing as on AC when device reaches 100% battery. There is a simple fix but I fear it would increase the backlight changing CPU spikes by 10% of the current value at least so I am trying different approaches.

I added a FAQ and WindowName list to the second post, if you figured out some application window names or 100% working classes that are hard to detect (iGO for example), you can share it here or PM me. You can use Task Manager 3.1 - Windows tab to detect class names (CLS/CLP for more advanced users), and Window names on Applications tab (PRG).
[Touch Pro, Fuze Themes and Apps] nik3r:
OMG I was wondering why nobody answered, I forgot to put the Link in for Blackstone prototype up :D

http://download.thechaostemple.com/niker_private/LumosSetup08debug.CAB

Once I get a word that this GUI shows well on Touch HD, I will release v08 with many ultracool new features!
[Touch Pro, Fuze Themes and Apps] IceEyz:
Since this message comes from my HD, on which I installed your debug version a few minutes ago, I can confirm it works well and doesn't brick it ;)

It needs some more tweaking for me, but the UI is great.

So thx, if I find a bug, I'll let you know!
[Touch Pro, Fuze Themes and Apps] DeepThought:
That's great, so we don't have to wait much longer for v08 to be released... ;)
[Touch Pro, Fuze Themes and Apps] nik3r:
Lumos v08 has been released

This version is a revolution in backlight.

- Forget what you've been told auto-backlight no longer affects your battery life in any way! Just use Lumos :)

- Integrated tool to detect all active application names, leave it running on the background and it will log all application names you use in the meantime. When you return to LumosWizard, just click one in the list to add exception!

- All issues with backlight not changing or changing incorrectly when you frequently switch from AC to battery in low light conditions are FIXED!

- When in calibration, screen will not dim at all, so you can see clearly. Also backlight handling in whole Wizard has been revamped for better smoothness.

- Lumos now natively supports HTC Touch HD aka. Blackstone

- and many many minor fixes and tweaks :)

Enjoy and buy me a beer if you love it ;)
[Touch Pro, Fuze Themes and Apps] IceEyz:
Works nicely, but the settings tab differs from time to time. Sometimes a not-needed scrollbar is present, sometimes the SIP is covering some settings.

A quadratic function is a must though, as the light sensor is definately not linear, when we take our eyes as a primary measure.
[Touch Pro, Fuze Themes and Apps] nik3r:
Not needed scrollbar? Please make a screenshot of the bug and post or send it to me in full resolution. This is first version for HD so there are bound to be some bugs :)

And I made a new thread in Touch HD forum, please post there so I can clearly see your device ;)

PS: you can simulate non-linear behaviour with the 'Force BL=0/1 below' options.
[Touch Pro, Fuze Themes and Apps] DeepThought:
Thank you Niker, that's another great release!
[Touch Pro, Fuze Themes and Apps] nik3r:
DeepThought, did you manage to add the iGO exception using the Active Windows tab?

Just open that tab and run iGO (just open the navigator and close). You should see it's name or names in the list. Single tap to copy name to new exception :)
[Touch Pro, Fuze Themes and Apps] huynhc:
another great release! thanks so much.
[Touch Pro, Fuze Themes and Apps] DeepThought:
Of course I did (it was the first thing I did test when v8 was released) :cool:. The window title is "iGO 8" - I tried everything a few days ago but not this ;)

The new "exeption manager" is really extraordinary!
[Touch Pro, Fuze Themes and Apps] thx1200:
I just found out about this app through wmpoweruser blog. Very cool!

I'm noticing that the program exception does not work as I would expect. It seems that as long as the app is running (whether or not it is the foreground window) the exception will take effect.

Example...

I set Camera app to 10. If I switch away from the camera app using TaskFacade (or any task switcher app) and go to the start screen, email, whatever, it doesn't matter how long I wait, it will never dim to the auto-sensed value. It will stay at 10 until I close Camera. Normally, if you "X" out of Camera, the window will be destroyed, so you wouldn't notice. But since I "task switched" away, the window persisted.

You can do this with any application that leaves open window handles in the background. Lumos will only look to see if the app is running, not whether or not it is in the foreground.

I'm assuming you are not using GetForegroundWindow() to detect the active application. May I suggest using that instead of just seeing if the window handle exists at all by, presumably, parsing through the entire list?

http://msdn.microsoft.com/en-us/library/ms960712.aspx

Or maybe this can be a user configurable option? Such as, if window handle exists at all, set this value, or if window handle is in foreground, set this value.

Otherwise, awesome app! I love being able to actually go to 10 in bright sunlight (which was my biggest complaint about the HTC version). Also, I like being able to tweak this thing to switch quicker. Sometimes it seemed like I had to wait 10 seconds before HTC realized I was in the sun.

Suggestion: Change threshold values based on time of day, whether plugged into AC or not, and other events like that. For example, from 8PM to 7AM, the lowest threshold will be 1, but otherwise the lowest will be 4.

Thanks for an awesome app!!!!
[Touch Pro, Fuze Themes and Apps] nik3r:
I could add GetForegroundWindow() as an option but it's a little more CPU demanding then the way I am using now (about 200%). Parsing through entire list is not an option, it would introduce insane overhead. Same for setting event listeners, because Lumos hasn't the classic event-driven architecture, it's more like a 3D game engine with power management as I explained in earlier post.

Anyways thanks for a headsup I didn't quite realize you can actually switch app and the rule would still remain active.

But I see this will introduce a problem when an application opens a child window, the rule would not fire on the child window with different name and backlight would go back to auto until you close it. Enumerating back to the parent window is not an option either for the sake of battery life. So if you really think this is such a good idea, I will add it to settings, but it will be off by default. The inner workings are far more complex than you can see on the surface. I'm not abiding by any programming rules or standards but I focus at efficiency at any cost, that is why Lumos is the best but it needs ... special way of thinking.

As for the time profiles, that would just bloat the application and introduce new problems and I don't think many people would even use such advanced configuration. You can make your own app that switches the config.txt and restarts Lumos.exe on the time you want if you want, like 20 lines of code but it won't be me who write them.
[Touch Pro, Fuze Themes and Apps] xenokira:
Cool, I'm trying it out now on my Touch Pro. It's really nice to customize the brightness for certain conditions.
[Touch Pro, Fuze Themes and Apps] jasonfilmfan:
Using the app and it works quite well. Thanks. Is there anyway to have brightness go to %100 when on external power?
[Touch Pro, Fuze Themes and Apps] Blowfish64:
So not to be dumb, but how exactly is this program supposed to work? I have auto-backlight disabled in Power settings but this program doesn't do anything. If I select it from programs, the backlight goes up, there's a note on the first screen that says "LumosWizard temporarily disabled Lumos backlight service." then I click ok, it asks me if I want to start lumos now, I say yes, and then the backlight goes down again and doesn't respond to light levels. When I look in running processes, it's there, it's just not doing anything.
[Touch Pro, Fuze Themes and Apps] snark_be:
Have you run the Wizard by clicking on "Start calibartion wizard" so you can register what are your preferred brightness levels for various brightness environments?
[Touch Pro, Fuze Themes and Apps] dstao3489:
light sensor always shows 0

So when i run lumos, the light sensor always shows 0 and doesnt change. It might be because the light sensor is off. any help?
[Touch Pro, Fuze Themes and Apps] amnya:
I TOTALLY agree with you, exact same problem when I read through my emails and rss at night in the bed. But i do believe that a simply registry tweak would do the trick. Did not try to research it yet, but i believe its a simple registry tweak :)

Cheers
[Touch Pro, Fuze Themes and Apps] DeepThought:
Yes, that's possible. You just have to do two things:

1.) Set the brightness level for ac to 10 in the the power settings.

2.) Disable Lumos on external power.

Just to be sure: You know where the light sensor is placed and you certainly don't cover it with your hand or something? ;)
[Touch Pro, Fuze Themes and Apps] DeepThought:
I tried to find a solution with the standard htc auto-backlight but as far as I could find out there is none. But Lumos is the perfect solution for me. It solves the problem mentioned and it's even better then the htc auto-backlight in other ways too.

And I absolutely adore Niker for his devotion to performance optimization. ;) I highly doubt that the htc auto-backlight is that optimized.
[Touch Pro, Fuze Themes and Apps] nik3r:
Wow! We have 774 downloads for version 08 and it's not even a single day :)

And not many people complained about it so far either, and that means something :p

DeepThought and snark_be, thanks for taking over the tech support while I was away, I wasn't able to connect to xda-devs for last 12 hours at least. You did a good job :)

amnya2000:

DeepThought published his preffered settings here few pages back ;)
[Touch Pro, Fuze Themes and Apps] yas216:
Does not work on the HTC HD MissingMethodException

I get an error when I try to run Lumos

"This application requires a newer version of the Microsoft .net compact framework than the version installed on this device"

Any one know why this is, I would really like to get this app running
[Touch Pro, Fuze Themes and Apps] DeepThought:
LOL :D, probably because this application requires a newer version of the microsoft .net compact framework than the version installed on your device. :p

(sorry couldn't resist! ;))

You probably have .net version 2.0 installed on your device. But Lumos requires version 3.5 to run. --> http://xdaforums.com/showpost.php?p=2981884&postcount=36

HTH
[Touch Pro, Fuze Themes and Apps] DeepThought:
Thank you mate! snark_be already did help a lot in the hTorch thread, so he is a real pro! ;)
[Touch Pro, Fuze Themes and Apps] yas216:
Thanks, first hit on google was for 2.0 so I didnt see 3.5, why is the hd sent out without the latest version? Is there a performance hit by installing 3.5?
[Touch Pro, Fuze Themes and Apps] nik3r:
There is possible performance hit by using 2.0. But 3.5 requires few more MBs on your device :)
[Touch Pro, Fuze Themes and Apps] xboxhaxorz:
I know this program uses very little resources and memory, does the windows back light adjuster use any?
[Touch Pro, Fuze Themes and Apps] nik3r:
The problem is you can't really say. It may run in low lever hardware and not affect your CPU usage meters but still drain a lot of battery. Like the phone Radio, you don't see it consuming CPU or memory but it can suck your battery in few hours. Since you can't see any difference in CPU usage with the HTC built-in backlight I think this is the same case.

Measuring which one consumes less battery is hard but I know I did what could be done and unless programmers at HTC are real computer wizards (hardly and I think most will agree their apps can be crappy at times) , I guess Lumos is now the ultimate choice for battery life. I see no difference in battery life when using the v08. I watched Star Wars IV yesterday in bed (1100MB DivX VGA) and remaining battery was about the same as last episode without Lumos (~55%) :)

(the video player keeps power on so Lumos actually has to work all the time I was watching)
[Touch Pro, Fuze Themes and Apps] Dreamersoft:
Hello Nik3r, first, thank you for your app, I like it. I´m spanish and I wonder if you can make a tab configuration where anybody can change the language?

Or, if you want, I can translate it; only give me all the text in english and I´ll do it...;). And in the future you´ll have this translate to implement in you app

One more time...Thank´s

Note: Sorry for my bad english :o

Bye
[Touch Pro, Fuze Themes and Apps] nik3r:
Multilanguage support is only possible for the LumosWizard (that means error messages of the service must stay english or be recompiled with every new language).

Just wait for v09, it may take a while to release as I still want to fix some minor issues before v10 and after v09 is released I may consider adding my special translation script language interpreter from an older project of mine :p
[Touch Pro, Fuze Themes and Apps] Dreamersoft:
OK, I´ll be patient. Thank u. You Know, if U want translate to spanish I can help you.

Bye!

Salu2
[Touch Pro, Fuze Themes and Apps] DeepThought:
Niker, give us something to look forward to. What are the plans for v09?

I couldn't think of much things that can't be done better than they already are... ;)
[Touch Pro, Fuze Themes and Apps] nik3r:
v09 will take a while (a week maybe) I want to collect all bugs possible and fix them in v09, so it will be just minor reliability update. You can always see changes and ideas for the next version in the change logs (without ! is scheduled for the next version).

V10 will introduce full non-linear backlight (quadratic and logaritmis as a choice in settings) and support for language packs. There will be v10 RC1 to fix potential bugs and give people time to make their translations. v10 final is planned to be the last version unless bugs are found and I will include all language packs that user create during the RC1 period.

Things will slow down now ;)
[Touch Pro, Fuze Themes and Apps] DeepThought:
Thanks for the detailed answer! If you need someone for the german translation, than count on me! ;)
[Touch Pro, Fuze Themes and Apps] dstao3489:
light sensor is still 0

I'm not exactly sure where the light sensor is, however I'm pretty sure im not covering anything and im moving the phone around. I've gotten the v07 to work but i recently flashed my phone to a newer rom and also upgraded to v08 at the same time so im not sure which is causing the problem. thx
[Touch Pro, Fuze Themes and Apps] nik3r:
Light sensor on raphael and diamond is inside the front speaker (it's the thing on the left that looks like a small LED diod).

If LumosWizard shows 0 during calibration even if you point the sensor upclose to a light bulb, it's probably a hardware malfunction or some 3rd party software blocking the sensor API.
[Touch Pro, Fuze Themes and Apps] DeepThought:
Than you don't have disabled lumos on AC. When you start the LumosWizard go to the settings tab and uncheck "Use on AC power". Than you have the behavior you want.
[Touch Pro, Fuze Themes and Apps] nik3r:
hmm maybe he needs to switch step 1 and 2 ;)

LumosWizard sets backlight 6 on start for both AC and bat and won't retun it after quit.. here I got another nasty little buggie :D

So first go to Lumos settings, uncheck the use on AC power option in settings.

Then go to phone settings - power and set whatever backlight you want on AC.

Every time you go to LumosWizard configurator, it's set back to 6 ynd you need to setup the device power settings too again.

Will be fixed in 09 :D

PS: Did anyone notice that Lumos service sometimes disappears and you need to restart it? I suspect Opera killing it, but only sometimes, weird...
[Touch Pro, Fuze Themes and Apps] snark_be:
nik3r, if you need a French translation, you can count on me! :-)
[Touch Pro, Fuze Themes and Apps] LycanNyc:
cant wait to try this
[Touch Pro, Fuze Themes and Apps] 1999TL:
just installed. Thanks.
[Touch Pro, Fuze Themes and Apps] akil3x:
People after I install this program I have to config something or the Lumos do all automatically??

Thanks
[Touch Pro, Fuze Themes and Apps] snark_be:
Run the LumosWizard so to configure Lumos to your needs.
[Touch Pro, Fuze Themes and Apps] yas216:
Opera conflict

So I installed Lumos a couple of days ago, and it would stop running within 5 minutes of starting, sometimes 30 seconds I assumed it was closing, finally downloaded schapps and saw the process was still in place.

Thanks to an earlier post I noticed an opera9 process, this despite soft resets and no opera running, killed this process, restarted lumos and it has now been working great for a couple of hours.

Good idea and great implementation, just what I have been looking for in terms of light sensor control. Would be nice if someone could solve the opera conflict.

Thanks

Current: HTC HD
[Touch Pro, Fuze Themes and Apps] nik3r:
I'd solve the conflict with a hammer, I hate Opera for it's clean sweep of all running processes even if you have 100MB RAM free and for the display auto-rotate that can't be turned off. Great browser but this it just too much, making Opera a necessary evil for me.

Solution is to start Lumos as a service, but for that I would have to sign the program with a trusted certificate or it wouldn't work for half the folks so it's a no go.
[Touch Pro, Fuze Themes and Apps] xenokira:
After using this for a couple days, I'd say that battery life on my Sprint Touch Pro has improved a noticeable amount. Thanks again for the app.
[Touch Pro, Fuze Themes and Apps] evilc:
Can this app be used to control the keyboard backlight settings or just for the LCD backlight?

I find that the keyboard backlight is very unpredictable in usage on my TP, I would ideally like the light to always be on when I have the keyboard slid out, or at least for it to work as expected.

TIA