yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] reidler:
GREAT! Works beautifully! Thanks.

But, I will have to wait until the future to use these because, as I said, I am using all 6 registers for notifications. You once mentioned you might possibly add a lot more registers in the future. If you do, I'll set up several of them for serveral Volume controls. It looks great to see these bars showing the volume right on top of the screen! I borrowed from my notifications registers to do the test.

Thanks so much again for your program and support! Good luck with your new Windows 7 laptop.

Eli
[Windows Mobile Apps and Games] nspect:
It broke in 3.5.2. It works fine in 3.5.1. I did not report it earlier, because my solution was to revert to 3.5.1. I was waiting for the 3.5.3 release to see if this behavior disappeared in it. :)
[Windows Mobile Apps and Games] ZuinigeRijder:
Thanks. That makes it easier to pinpoint the problem. The delta is not so big, so O know where to look for now ;)
[Windows Mobile Apps and Games] reidler:
It's been too quiet for over a week.

Anything happening?

Battclock is working nicely for me. It's a major part of my phone's setup. I started to use iPhoneToday but made sure to keep the Battclock information available on top!

Any planned improvements? How about increasing the number of registers? Double or triple?

Thanks.

Eli
[Windows Mobile Apps and Games] ZuinigeRijder:
This is the list I am working on:

# Fixed bug that "on power" was not immediately reflected in Battery Percentage (default ~ instead of %)

# Fixed bug that the when a log to file item was enabled, after restart the next one was shown in BattConfig

# Fixed bug that when Background image was selected, it was only applied after restart of BattClock

# Extended the number of programmable registry keys from 6 to 12

# Added option to control the update speed of the display items in seconds (In Display Formats Settings screen)

# Added counting of the total uptime over all BattClock sessions and total uptime for the battery (before fully charged or replaced).

# Added option to show the number of processes and the last process created and/or destroyed.

# Added option to have an alternative way of measuring network statistics (for people were Wifi and/or Mobile data is not working)

I am not sure all items will appear in the next version, especially the last item ;)
[Windows Mobile Apps and Games] Jackos:
Landscape configurable stripes would be great. Any plans on this?
[Windows Mobile Apps and Games] ZuinigeRijder:
landscape is already supported:

# X and/or X2 negative: measure from the right

# Y and/or Y2 negative: measure from the bottom

Is this not good enough :confused:
[Windows Mobile Apps and Games] Jackos:
I'm trying to setup a battery stripe that goes thru the whole width (480 for portrait). After I change the phone to landscape, the stripe, even if in battery is charged to 100%, doesn't go to the maximal width (800 for landscape).

I hope that explains my problem :) Maybe I misunderstood something in the configuration settings and that's the problem :)
[Windows Mobile Apps and Games] ZuinigeRijder:
If you set X2 to -1, does that not do the trick?

If not, enable debug logging, reproduce the scenario (with portrait and landscape) and post the debug log file BattClock.log.txt as zipped attachment.
[Windows Mobile Apps and Games] Jackos:
I'll try it, that's for the support.
[Windows Mobile Apps and Games] Jackos:
OK, works kinda good. Still, I assume there will be 1px space left even if the battery is charged 100%. Maybe you should add a option if it's set to "-" or "-0" instead to "-1" to get rid of this 1px. I hope you get what I mean.

Thanks in advance! Looking forward to your next release, counting the processes is going to be a cherry on top of this wonderful software.
[Windows Mobile Apps and Games] mike2nl:
Hi ZuinigeRijder,

again thank you for the last version. I was away for a while, but i am back. Here a screenshot from BC from my phone...
[Windows Mobile Apps and Games] hefman:
*deleted*

For some reason my page did not refresh. I see that ZuinigeRijder already responded...
[Windows Mobile Apps and Games] Jackos:
I setup the stripes as OP suggested and it works great! Try:

X=0
Y=0
X2=-1
Y2=1
[Windows Mobile Apps and Games] xlightwaverx:
​

I have a quick question, and was wondering if anyone has had the same issue. I am not using the latest version, but I am using 3.4.3, and I am thinking about updating for my upcoming ROM release.

Notice the picture above is exactly how I want to set my Portrait Mode (maybe change the stripes a bit if there are new features.) I read where if you set X to -1 it will allow the landscape mode to have a full bar.

I was curious about the graphic being able to show on landscape mode. When I switch to landscape mode, everything is quite off (but if I go from the right to left, it should be fixed) but my concern is the graphic. I replace the Start Menu area with a graphic, and it is just all black instead of having the X-920 graphic I created. The graphic is 480x52. If I start the graphic from the left side, it shouldn't matter if it is in landscape or portrait correct? Or is there an issue with the x52?

Thanks in advance,

X

P.S. Z, feel free to add my setup on your First Page examples of BattClock layouts. I think it would show even further benefits and possibilities of this wonderful application.

Edit: Ok, I'm downloading the latest version now. I just read the changelog, very nice list of fixes I see, especially with graphic usage.
[Windows Mobile Apps and Games] ZuinigeRijder:
The software adds 1 when it is negative, so no, there is not 1px space left if the battery is charged 100%.

Yes, the number of processes limit of 32 is something to keep an eye on. And maybe you also want to log which processes are created and destroyed when you do not use the phone, e.g. at night ;)
[Windows Mobile Apps and Games] ZuinigeRijder:
Welcome back. Nice screenshot. I see you have the famous -1 Mhz :cool:
[Windows Mobile Apps and Games] ZuinigeRijder:
Nice screenshot. I really have to update my webpages with nice examples of how BattClock can be tweaked.

For Landscape, make sure that the width of the background is the width when in landscape. So if you have a 480x800 screen, make sure you have a 800x800 background image. BattClock will cut out the correct portion then (at least that is how it is implemented). Otherwise it will probably stretch the image?
[Windows Mobile Apps and Games] mike2nl:
I have done this specialy for you to show it. And this on a HD2 with maaaaany other tings and a lot of cht widgets ;).
[Windows Mobile Apps and Games] ZuinigeRijder:
Seems that it is better that I return 128 Mhz when -1 is returned (by Netripper dll). Because that is apparently the lowest clock speed. Or did you see lower speeds? I am also not sure what the behaviour is for Touch Diamond/Pro users, if they see -1 and what there the lowest clock speed is. At least "hardcoded" 128 when -1 is returned looks better ;)
[Windows Mobile Apps and Games] Jackos:
Yay! Works just like you mention! Keep up great work! Quietly brilliant!

PS I had such a bad feeling that I'm too stupid to configure this properly :D

True, I'll check also the log function when it's ready!
[Windows Mobile Apps and Games] wei2005yh:
cool software!!i found it few days ago.i see there is "taskmgr" in your wish list,here is a screenshot for that idea， the 4th part was wktask,i use this two soft to replace the system taskbar,if you can add the taskmgr that would be more wanderful!thx your effort!

btw:i also cant custom the font,it seems only tahoma can be draw ,other font just appear 1s then became tahoma
[Windows Mobile Apps and Games] reidler:
In the X2 setting - set it to -1 which tells it to count from the right. It will then in Portrait and Landscape properly.

Eli
[Windows Mobile Apps and Games] reidler:
GREAT! I'm excited about the extra 6 registers. I think I'm ready to use them all for some more alerts and for several volume meter stripes.

The other changes also sound good. When it's ready I'm interested in the battery meter. How will Battclock know if a battery was changed? Will the user reset something after replacing it or is it going to be able to figure it out? (You made it sound like it will know on its own).

I'm also anticipating the change for the wifi/mobile meters since my phone (TP2) is one that doesn't work right now.

Battclock shows so much information that it can't all fit on the top line.

There's so much good & useful information but I picked the most important ones to me to display.

Thanks a lot! Good luck.

Eli
[Windows Mobile Apps and Games] jcmm:
Hello ZuinigeRijder,

I appreciated that in this latest version I BattClock the symbol "~" next to the value of the state of battery charge while it is charging, but if it is true that the battery is charging my device, increasing the value load and thus LED indica (HTC Touch Pro). I have not changed anything on my device, except that I do BattClock update whenever a new release.

Not a major problem but it could be interesting to review for the next version of the program.

Greetings and thanks
[Windows Mobile Apps and Games] pablito4paok:
Hi,

I have Samsung Omnia 2, i setup this app...everything is OK, but i want to see as a number, my free main storage...like the ram u already have with "Free MB".

If u don't understand what i mean...go "settings -> memory settings -> main storage" that is the number i mean, and i wanna take this number at my taskbar.

Thanks!
[Windows Mobile Apps and Games] wei2005yh:
may be a bug of the "regkey",when you use custom regkey,the key value wont loaded after a soft-reboot,and wont be refresh when the reg keyvalue changed.

my setting:

"RegKey6"="HKLM\\System\\State\\Connections\\Desktop\\Count"

"Format31"="<SYNC %d"

(for display activesync state)

"Format30"="%s"

"RegKey5"="HKLM\\System\\State\\Connections\\Cellular\\Descriptions"

(for display gprs connection name )

when i reboot my device,first content just display "0"(for sync %d),and when i change the two reg keyvalue manual(for test),the two content wont refresh.but it can work well when i disable then re-enable the battclock manually.

btw,the default regkey1-4 works like a stone ,maybe the prblm occurred when the prgrm read the reg at booting?

confirmed: if i disable the startup for battclock,and manually run it after reboot,the custom regkey will be display correctly.may when the init of booting,the reg is unreadable..hope this will give you a little help

btw sorry for my bad english

i use a workaround now:use a script to delay the booting of the battclock,an advise,to use the ril.dll to get the phone Signal will be more Efficiency
[Windows Mobile Apps and Games] ZuinigeRijder:
Nice screenshot :D

I think I am not going to do a taskmanager replacement, although I made a step in getting the list of processes and monitor creation/deletes of Processes. There are very good taskmanager alternatives, so I think it is better not to invent the wheel again ;)

Also I am going to spent some time on iPad 2 programming to see if I can make some useful programs there. So that means I keep supporting BattClock but the next upcoming release will probably my last major release :(

I do not understand the problem of the font. Can you enable debug logging, reproduce the scenario and post the log file BattCLock.log.txt as zipped attachment? Maybe that gives me an idea.
[Windows Mobile Apps and Games] ZuinigeRijder:
When charging, the Battery is polled once per second, because that does not matter for battery life. So probably that is what you see.
[Windows Mobile Apps and Games] jcmm:
Hello ZuinigeRijder,

Thanks for the clarification, is that in previous versions if this symbol was maintained during loading and in the latter do not.

Regards,
[Windows Mobile Apps and Games] ZuinigeRijder:
I assume you mean the memory free on the second storage card? Probably a SD card. I think getting that info continuously would drain the battery. I am not sure if there is a Microsoft API for that, but for the battery drain I think it is not a good idea.
[Windows Mobile Apps and Games] ZuinigeRijder:
Yes, when charging the default symbol is ~ and when on battery it is %. The problem in 3.5.2 is that it does not switch immediately to ~ when changing from battery to charging. I will fix that in the upcoming version.
[Windows Mobile Apps and Games] ZuinigeRijder:
There was also another one reporting in issue that BattClock was too fast after boot. I do not remember what was the issue there. Is it possible the registry key was not available yet then? And the last regkey is of type string and maybe there the problem manifests? You can help by enabling debug logging, reboot the system (without delay) and post the log file BattClock.log.txt as zipped attachment. Maybe that sets me on the right track?
[Windows Mobile Apps and Games] Tokl:
Hi Zuinige!

I mean the Processor is @ 256 Mhz when showing -1, so maybe 256 is the better value ;)

Here an Screenshot of my actual Homescreen:

I think this will be the last one i shot :( , because im 90% of Time booted into Android :). (still searching for an BattClock for Android with no luck :(, your right Zuinige its nearly impossible to do that...)

Thanks again for an very essential an useful piece of Software!;) And the excellent support! :cool:

Greetz Tokl
[Windows Mobile Apps and Games] wei2005yh:
the reg value was null when there is no connection,but reg key was always there.I only found "battclockconfig.log.txt",here you are..
[Windows Mobile Apps and Games] ZuinigeRijder:
Probably you have disabled debug logging, before you copied the battclock.log.txt. First stop BattClock, copy the battclock.log.txt and then disable debug logging.
[Windows Mobile Apps and Games] ZuinigeRijder:
I am still thinking of which default values I should configure for the 6 extra registry keys. Maybe you can sent me a list of Registry keys you want to monitor?
[Windows Mobile Apps and Games] wei2005yh:
woooo..deathly sadly to heart that.....seems the newer os just yield to common people's operating level,more foolish but no personality and less setting.wm is just for geeker..:D:D

if i had a paypal,i would donate to you,but i hadn't:o:o:o soooo good luck to you
[Windows Mobile Apps and Games] wei2005yh:
ummm..because i replaced the system taskbar with your battclock,so besides of signal,power,connections,time,i also need a volume display.:D
[Windows Mobile Apps and Games] reidler:
Here are the ones I am using now:

1. HKCU\System\State\Messages\vmail\Total\Unread\Count - voice mails

2. HKCU\System\State\Phone\Missed Call Count - missed calls

3. HKCU\System\State\Messages\sms\Unread\Count - text msgs

4. HKCU\System\State\Messages\totalemail\Unread\Count - emails

5. HKLM\System\State\Reminder\Count\APPT - reminders

6. HKLM\System\State\Reminder\Count\APTALLDAY - reminders

With the new ones I will probably add (might change when I actually set it up and figure out which are the correct registers to use).

7. HKLM\System\State\Reminder\Count\ALARM - reminders

and there are a few more of these that pop up when needed. As you

know these registers are underfined until needed. I don't know them all

until I come across one. Since I had run out of registers I did not mark

them down yet.

By the way I don't suppose that it's possible to set up a register made of multiple registers that can be added together to make one total number. - I'M NOT EVEN ASKING FOR SUCH A FEATURE. It would not fit in the space provided if someone wanted to add three of four registers together. I think it is not doable.

There are separate volume controls for System Notifications, Phone Ringing volume, ear piece volume and Speakerphone. There are also volume registers for many other settings like keyclick, screen taps, etc etc. But I think the normal ones that would be of concern are four. Phone ringing volume, Speakerphone, Ear piece volume and Notifications. I found three registers so far. I would have to test to see which of these represent its corresponding volume and still find one more.

8. HKCU\ControlPanel\Volume\Volume

9. HKCU\ControlPanel\Volume\VolumeHS

10. HKCU\ConteolPanel\Volume\VolumeSPK - looks like speakerphone

11.

It will take a little effort to figure these out because the volume rocker works for the active volume being uses. For example, while on a phone call using the earpiece the rocker will adjust the ear piece volume. While on speakerphone it will adjust the speakerphone volume. Ring volume and system volume (notifications) can be set on my TP2 using the rocker while the phone is idle.

What are your thoughts?

Thanks,

Eli
[Windows Mobile Apps and Games] pablito4paok:
Hello ZuinigeRijder,

First, is there any chance of put, with your app "battclock", for example battery% on traybar like the icon of the application "psshutxp"...i want to put them on traybar and no on taskbar...i hope understand...and i'm waiting for your answer...

And my second question is...why i can't take a value in temperature, or voltage or watt or or or....no values for the most...whats wrong with them???

thanks again...
[Windows Mobile Apps and Games] ZuinigeRijder:
You can also subclass the desktop window, as described here.

Window Name (TaskBarWindowName = "")

To subclass other windows than taskbar window, so you can put the BattClock items e.g. on your home screen instead of the taskbar. Note that the Window Name DesktopExplorerWindow is on my Touch Diamond the Home screen (works in Windows Mobile standard Today screen and Touch Flo 3D) Note that BattClock will not work correctly when the Window does not (yet) exist. If it does not yet exist, it will poll each 5 seconds, till the window is there. See here for a list of window names.

I use a Microsoft API to get those values. Not all battery drivers give back all information. So for Samsung users this is a known issue. So maybe a different battery driver for Samsung can solve this. But I do not know a better Samsung battery driver.....
[Windows Mobile Apps and Games] reidler:
So. Anything happening? Any news? Been quiet for over a week.

Eli
[Windows Mobile Apps and Games] jcmm:
Hello,

Is this good project dead? ... :confused:

Regards,
[Windows Mobile Apps and Games] reidler:
Don't even think such a thing! Certainly don't put it in print. ZuinigeRijder is working on a few updates - see the recent past posts and he probably needs some more time. He's been super! Great! I'm eager for the upcoming updates which sound very exciting. I can't wait.

Thanks.

Eli
[Windows Mobile Apps and Games] ZuinigeRijder:
I did spent time on the new features. However, currently my laptop is upgraded to Windows 7 64 bits. After that I need to update my development environment, so I can continue developing Windows Mobile (Window Mobile SDK's etc, ActiveSync, etc.). Hope that I do not encounter problems by moving from XP SP3 32 bits to Windows 7 64 bits with respect to developing for Windows Mobile.

So be patient :cool:
[Windows Mobile Apps and Games] reidler:
Ok. Thanks for the update. Good luck.

Eli
[Windows Mobile Apps and Games] stevedebi:
You may already know this, but Windows 7 uses the WMDC, not Activesync.
[Windows Mobile Apps and Games] phixion35:
Hi Tokl, I really like your layout of BattClock. Would you be willing to send me your saved configuration txt file? I want a similar layout (couldn't get it work for me when trying to setup a similar layout) but of course with a few different values displayed. Thanks!
[Windows Mobile Apps and Games] Tokl:
Here you are :)

Maybe you have to adjust the Date, because its showing in German format ;)

Left stripe = Memory

Upper Stripe = Battery

Right Stripe = CPU

i think the others are self explaining...

Greetz Tokl
[Windows Mobile Apps and Games] Joe Bleau:
Re: BattClock Thread Dead? ActiveSync - XTask

Man you guys are demanding. :rolleyes: There are not many app threads where the creator is so active in his thread with many personal support replies or custom cabs for troubleshooting like ZuinigeRijder does here.

Go to post #1 and check the date: 5th January 2010. So he's been doing it since more than 1 year.

BTW when was the last time you went to post #1 to give him a tip to encourage him to continue or/and clicked on one of his recent post's Thanks button?

If you don't see the Thanks button next to Quote then check bottom left of this page and switch to the XDA 2010 UI instead of the old XDA Classic.

*****

Yes on Vista & Windows 7 it's called the Windows Mobile Device Center 6.1 (a.k.a. WMDC. 32 & 64-bit version downloads link) but the phone still uses the app named ActiveSync. ;)

BTW I had problem connecting my HTC Tilt 2 to my Windows 7 64-bit and the solution was to uninstall Windows Mobile Device Center, reboot, download a fresh copy from MS & no more problems for me.

*****

Show Free Ram: BattClock vs. XTask and CPU Usage

@ ZuinigeRijder: I still use BattClock but would like to help out a cook & make a ROM better. I'm running Nega's [WWE][Kitchen & Roms] Nega's HTC CP | Sense 2021 for Rhodium/Touch Pro2/TP2/Tilt 2 @ the present on my HTC Tilt 2.

What's cool is that the chef includes his full kitchen in post #1 contrary to the majority who keeps the tricks for themselves. :cool:

If you have some time on your hand on some inclination, the app XTask ver. 2.3b4 is cooked & shows the Free Ram in MB data on the taskbar but it's difficult to read because the font is outline style and there are 2 decimals which is not necessary. There are no settings in XTask to modify this & the creator does not support the app anymore.

The codes were published here: [APP][Source Code UPDATE 14.12.2010]XTask ver. 2.3b4 - task manager for WM5/6/6.5.x.

My workaround is to disable "Show Free RAM" in XTask & use BattClock but maybe with your knowledge you could find a fix for XTask?

I searched that thread & others with "font" and/or "decimal" but found only that unanswered post:

Edit: I just checked the CPU usage of XTask > XHook when selecting "Show Free RAM" with DotFred's Task Manager v3.3 and it fluctuates between .17 and .52%. When disabling that feature in XTask, it drops to zero. Then I installed BattClock and set to show only the free RAM (see attached BattClock.reg.txt file) and Task Manager v3.3 confirmed 0% CPU usage. :)

Still, I would like to know how to tweak XTask, just for kicks.
[Windows Mobile Apps and Games] ZuinigeRijder:
I have my notebook with Windows 7 64 bits up and running and can continue Windows Mobile development :rolleyes:

I looked quickly at the source code and it appears there are 3 versions in it?

And it is an eVC 3/4 Workspace project and not a 'normal' Visual Studio Project. I have not much experience with that type of projects, but you can convert it to other Visual Studio formats I guess.

The file XTaskC.rc contains the formatstring to show it in 2 decimals:

IDS_OTHER_NAME3 "½ñÈÕ Óà%.2fM"

Strange characters in this format string.

This magic code gives the result:

MEMORYSTATUS ms;
ms.dwLength=sizeof ms;
GlobalMemoryStatus(&ms);
double dap;
dap=ms.dwAvailPhys;
dap/=1048576;
TCHAR string[MAX_PATH];
::LoadString(hInst,IDS_OTHER_NAME3,string,MAX_PATH);
wsprintf(mems,string,dap);

So someone can change the code there, who is more familiar with eVC 3/4 projects :confused:
[Windows Mobile Apps and Games] reidler:
Hi ZuinigeRijder. How's everything? How's the new laptop? Any progress recently? I hope you'll be able to continue enhancing this great program.

Thanks,

Eli