yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] ephestione:
forgetting something: tried another image as background... I only now noticed that battclock stretches the image to fit its current size. If my battclock is 230x36, and I set a 480x640 image, that will get resized without aspect ratio to 230x36.

Would it be possible to make it so (mabe with an option) that instead, out of the image, only the corresponding portion relative to battclock size and position?

That way, you can just set as a background the CHT_WallBar1.png image, and battclock will pick out of that image the part that it needs.

Example: battclock is 230x36, and positioned 10px from the left, and 0px from top; the background image would be the portion of CHT_WallBar1.png (background of top windows bar) that goes from (10,0) to (240,36)
[Windows Mobile Apps and Games] firinghead:
Can tell to me why status WiFi doesn't work in last version? TNX
[Windows Mobile Apps and Games] ZuinigeRijder:
You mean WifiConnected? For me it is working.

Did you use 3.0.5? Because problems about not updating immediately has been solved in that version :confused:
[Windows Mobile Apps and Games] ZuinigeRijder:
Although the Config UI did improve in several aspects, I still know it is not perfect. Actually, you can see that I am not an UI designer and the configuration is rather technical :cool: The way the screens are always on top is done on purpose, to be able to see the taskbar changes immediately.

The selection of background images is indeed slow, when there are a lot of images in a folder. But this is a normal .NET implementation (example of Microsoft itself).

I will put on the wish list to improve the UI Config further, taking into account the suggestions you did make.
[Windows Mobile Apps and Games] ZuinigeRijder:
That is a good idea. I will invest if that is possible. Maybe even the selected Wallpaper is somewhere in the registry? So you even do not need to configure it?
[Windows Mobile Apps and Games] firinghead:
Yes, WiFi connected, but counter (download/upload) not update value. (Sorry for my English :rolleyes: )

I use 3.0.5
[Windows Mobile Apps and Games] Ross202:
Editing "Stripes" - Error

Hi, Nice App but I seem to have struck a problem - not sure if it is a bug or just my lack of understanding. I edited Stripes 1, 2 & 3 to show Battery %, Signal Strength and CPU usage respectively, I then went to create Stripe 4 to show MobileConnected so that I could see whether or not data was downloading, etc.

Unfortunately it seemed to crash the configuration program and came up with the error messages in the attached images. Every time I now try and access Stripe 4 it crashes so I can't access it. This also means I can't configure any other stripes beyond number 3.

Any help please.
[Windows Mobile Apps and Games] ZuinigeRijder:
You can go to the About Screen and press "Reset". Then all settings will be default (and you have to configure from scratch :mad:)

In the mean time will look into it why it crashes, because that should not occur.
[Windows Mobile Apps and Games] ZuinigeRijder:
Tokl also reported this already. I cannot reproduce. I looked into the logfiles of Tokl and could not see why it was not working. It could be related to the ROM/adapter :confused:

Can you post a debug log file (enable in About Screen), stop/start BattClock, stop BattClock and post the logfile BattCLock.log.txt in the directory where BattClock is installed (On WWE Program Files\BattCLock). Do not forget to disable Debug logging afterwards.
[Windows Mobile Apps and Games] Ross202:
Thanks for the quick response, donation on its way.:)
[Windows Mobile Apps and Games] firinghead:
:rolleyes:

BattClock.log.txt
[Windows Mobile Apps and Games] mike2nl:
This is a very good one. And XDA market grows. I have read about it on a chinese site. So how more we have how better for us. We are not MS :D
[Windows Mobile Apps and Games] ukadvantage:
Stripe length not adapted to landscape?

I'm using a stripe for cpu load with x=0/x2=480 on a 480x800 display. If the dispay is in portrait, it works fine. But in landscape mode the stipe is too short. Isn't it possible to configure separate landscape settings? :confused:
[Windows Mobile Apps and Games] ZuinigeRijder:
Just set X2 to -1. Then it will compute it relative to the right + 1. So then it automatically adapts on Portrait and Landscape.

This is stated in the Stripes documentation:

Stripes in Landscape and stripes from right to left. The positions can be negative (measure from the right/bottom): X, X2, Y, Y2.

# X and/or X2 negative: measure from the right (great for landscape)
[Windows Mobile Apps and Games] YoLoLo:
I'm one of the guys at www.pocketpcfreeware.com, and we ALWAYS put the url of the soft, not a stored binary, to allow our followers to reach the latest version, even when we have missed it !

We only put local download when some websites are closed, and freeware still alive !

Why such a website ? Because it's multilanguages and some guys over there won't understand well English... We need here to have a good English skills to read and understand...

www.pocketpcfreeware.com will talk to you in English (of course) but also in French ! ;)
[Windows Mobile Apps and Games] ephestione:
yes, it is in fact saved into the registry, the location being realtive to the theme used... gonna do a search on mine to give an example feedback
[Windows Mobile Apps and Games] ephestione:
here it is:

hkcu \ software \ microsoft \ today \ taskbar

TaskBarThemeImage=<imagepath>

this is for WM6.5.5 at least
[Windows Mobile Apps and Games] ZuinigeRijder:
The same adapter is found as with Tokl:

2010-09-22 13:42:18 445865370 SearchWlanDevice Adapter name: BCMSDDHD1

2010-09-22 13:42:18 445865370 SearchWlanDevice Adapter name: L2TP1

2010-09-22 13:42:18 445865370 SearchWlanDevice Adapter name: PPTP1

2010-09-22 13:42:18 445865370 SearchWlanDevice Adapter name: ASYNCMAC1

2010-09-22 13:42:18 445865370 SearchWlanDevice: BCMSDDHD1

In the logging I do not see that Wifi got connected.

My Diamond is working, it has TNETW12511 as adapter.

Which ROM do you have?

Which Device?

Maybe it is related to another Wifi protocol n? :confused:
[Windows Mobile Apps and Games] firinghead:
I'm using HTC HD2. Custom ROM of Russian developers. What version of ROM, OEM, I don't know. :rolleyes:

Can you fix this problem with wifi adapter in future? :)
[Windows Mobile Apps and Games] ZuinigeRijder:
I checked with my Diamond (6.1 with Standard WM Home screen) and there the registry key is not there. So I will research further in the direction, that when the image is bigger than the BattClock area AND fits the width, then I take out the appropriate portion of the BattClock area. I am also not sure what happens in Landscape, so first have to investigate more. But it is on the wish list.
[Windows Mobile Apps and Games] ZuinigeRijder:
I found the problem. It was a debug log statement :mad: which in the end would not be written anyway. Problem of index out of bounds crash of BattConfig was when selecting Stripe of "Mobile Connected" or higher. Fixed the problem (index out of bounds) and only do the message construction when actually debug logging is on. This also improves performance a bit. I will see when I can post the fix.
[Windows Mobile Apps and Games] ZuinigeRijder:
I think it has to do with the adapter, BCMSDDHD1.

This is my code (which works on my Touch Diamond):

bResult = OpenNdisUio();
if (bResult) {
DWORD dwBytesReturned = 0;

m_statistics.Size = sizeof(m_statistics);
m_statistics.ptcDeviceName = m_szWlanDeviceName;

if (
DeviceIoControl(
m_hNDIS,
IOCTL_NDISUIO_NIC_STATISTICS,
0, 0,
&m_statistics, sizeof(m_statistics),
&dwBytesReturned,
NULL)
) {
if (m_statistics.MediaState == MEDIA_STATE_CONNECTED) {
wifiConnected = 1;
DWORD wifiSeconds = 10; // TODO: get setting how often polled
ULONGLONG wifiBytesReceived = m_statistics.BytesReceived;
ULONGLONG wifiBytesSent = m_statistics.BytesSent;
....

Apparently the statistics are not given back for your adapter/ROM?

Have other HD2 users problems with the Wifi in combination with BattClock?

If for some it works and for others not, it might be related to the ROM?
[Windows Mobile Apps and Games] firinghead:
Only two users HD2 has other ROM and WiFi counter don't working too
[Windows Mobile Apps and Games] pupakota:
Thanks for real PDA users site, man(it's unlike as HTC subsellers bs).

It's old, it's good, it's real.
[Windows Mobile Apps and Games] ZuinigeRijder:
Ok, then I need help, because I do not own a HD2.

I made a new version with extra debug logging and with an alternative call to DeviceIOControl (giving the adapter as parameter).

Please unzip the attachment and copy battclock.exe over the existing one (stop battclock first). Enable debug logging (in BattConfig About screen), start BattClock (with Wifi Bytes received shown in BattClock area). Make sure to connect to Wifi and download some data. Stop BattClock and post the log file BattClock.log.txt. Do not forget to disable debug logging again.

Hope this gives me a clue :confused:
[Windows Mobile Apps and Games] Tokl:
Hi YoLoLo!

I am the Guy who gave you the tip on your site, there is an new BattClock Version out.

I think ZuinigeRijder means not the REAL good Freeware pages like yours ;) ,

he means more the Pages where even is no Link to the source available.

He gave us an example www.freewarepocketpc.net

, here you can see they did not even copy the new Text he has created at his Site,

they took the old one and only change version at the headline...

(for sure no one can expect that everybody will make so much effort and create an new even translated text like you on your site, but copy and paste is not too much to do...)

Maybe i am wrong, because i did not ask ZuinigeRijder that i am allowed to make a little advertising on some (i think good pages)

for example XDA here itself has today reacted to my request to post it...

http://www.xda-developers.com/windows-mobile/new-version-of-battclock-available/

on the opposite:

here is an german page wich i told there is a new version out:

(i thought to tell them because many internet articles from magazines like focus and other bigger ones will rever to this site - but still commercial BS)

http://battclock.softonic.de/pocketpc

they also copy and paste the old text and added the new version on headline...:(

"Die kleine Freeware hält jedoch leider keine Details zur Stromversorgung bereit. "

(its a shame, also for me... :o but i will contact them again and make an proposal how they can write it in german...)

Truly the only REAL support for BattClock is here, no other Site can do it better.

And only here can the author ZuinigeRijder see how the reacts to changes or whatever are...

So long - Tokl
[Windows Mobile Apps and Games] Tokl:
Here you go...

@ephestione:

Is wifi counting working on your HD2? :confused:

Greetz Tokl
[Windows Mobile Apps and Games] Tokl:
I also did not have this Reg entry (WM 6.5.3 with manila on HD2)

did an search over the whole registry (with TotalCommander, seems to take hours:rolleyes:) for "TaskBarThemeImage" but did not found an entry with it...

Maybe its from S2U2 on your device, but "hkcu \ software \ microsoft" hmm... :confused:

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
Unfortunately what I expected:

2010-09-22 21:17:35 2135113730 MediaState: 0

2010-09-22 21:17:35 2135113730 Wifi BytesReceived: 0

2010-09-22 21:17:35 2135113730 Wifi BytesSent: 0

So the call:

DeviceIoControl(m_hNDIS, IOCTL_NDISUIO_NIC_STATISTICS, m_szWlanDeviceName, wcslen(m_szWlanDeviceName), &m_statistics, sizeof(m_statistics), &dwBytesReturned, NULL)

Does only give back if it is connected, but does not give back the BytesReceived and BytesSent :mad:

Apparently this specific adapter does not support this?

Maybe someone else a clue :confused:

I need to Google if there is another way to get the send/received bytes.....
[Windows Mobile Apps and Games] GLO:
Hi, i just loaded 3.0.5 but my cpu setting is stuck to 768Mhz. Shouldnt it display diffent cpu speeds?

thanks

edit:it doesnt drop below 768mhz, strange when in v2.1.2 i set it to cpu% and it dropped all the way to 0 to 100% so i was expecting cpu mhz from 0 to 1000.
[Windows Mobile Apps and Games] Forever022:
Ok, so I dont know what im doing wrong... but trying to configure the stripes to be different lenght in portrat and landscape and cant do...

Im using the latest version 3.0.5 w the latest Energy ROM...

I've set up in portrait.... then started battconfig in landscape and once i go back to portrait the sizes are wrong ..
[Windows Mobile Apps and Games] firinghead:
here it's my log

I hope you will fix this problem. Thank you for your work.
[Windows Mobile Apps and Games] ephestione:
wouldn't know... I don't use the wifi functions of battclock ;) and got no space left on the bar to add more values :D luckly zuinige found the error himself

I searched with dotfred taskmanager which is faster. Anyway, if you have a customized taskbar background, all you need to know is the name of the image used as background. I use CHT to customize the taskbar, so I searched for cht*.png files under \windows\, and there it was my bakground image, CHT_WallBar1.png. Then I searched that filename in the registry, and found that key. Maybe yours is different, you should search by filename, so you should know the image used first

the percent is the CPU load, not the CPU frequency :P you can have 5% and 100% on a cpu which is always at 768MHz. The cpu goes to 1ghz only on intense load, so since the battclock upodate is not instantaneous, it could be that by the time battclock updates, the cpu has gone back to 768 already
[Windows Mobile Apps and Games] Ross202:
Great. I shall look forward to the fix. In the meantime, the app is very useful as is.

P.S. Would it be possible to post some of the X/X2 & Y/Y2 settings for the various indicator stripes that you show in the first post, eg the line underf the "Start" button, as I don't seem to be able to get any of the stripes showing on the bottom of the indicator bar, only the ones on the top. Thanks in advance.
[Windows Mobile Apps and Games] ZuinigeRijder:
Unfortunately the Landscape specific settings is only possible for the BattClock area, not for the stripes. The only option is to specify negative values for X2, to measure from the right. This will probably only work nice if you have one stripe per line and not with 2 stripes side-by-side.
[Windows Mobile Apps and Games] ZuinigeRijder:
I do know that the adapter does not implement correctly the interface. However, I do not have a solution yet :mad: Actually I think the adapter does not fully support the statistic interface spec.
[Windows Mobile Apps and Games] k-four:
Topbar

HTC Iolite T4242 (Touch Cruise 2009), WM 6.1, QVGA
[Windows Mobile Apps and Games] bh77a:
Loving 3.0.5 - this is one of my favorite all time apps... it's just that handy! Thank you.

One issue I've run into - CPU frequency isn't displaying anything other that 0 Mhz. I'm running a HTC Touch Pro (model 1) with a WM 6.1 stock ROM. The carrier is CDMA if that makes a difference.

Also, a question - I noted in the thread somewhere that users might have to calculate their battery temp, mah, etc. What is the rule there, as mine seems quite high (335 degrees Celcius!)?

Thanks!
[Windows Mobile Apps and Games] ZuinigeRijder:
Nice screenshot, on QVGA.

If I see correctly you used 6 stripes and 6 BattClock info lines?

Did you have other tools also installed?

Would be nice to post your BattClock.reg.txt (via BattConfig About -> Export).

Actually I still thinking of opening another thread for BattClock3 examples.
[Windows Mobile Apps and Games] ZuinigeRijder:
Can you enable debug logging (in BattConfig About), restart BattClock, stop BattClock and post the log file BattCLock.log.txt. Maybe that gives me a clue.

Can you check what is filled in for Display Formats for Battery Temperature?

Because there you can specify the Multiply and DivideBy. Is DivideBy showing 10? And is the display format %.1f?
[Windows Mobile Apps and Games] firinghead:
k-four using your programms - BattClock, TouchLockPro and other programm like WisBar :)
[Windows Mobile Apps and Games] Tokl:
hmm... i looked again, and it is there :eek:

So i think i had 2 beers to much yesterday :rolleyes: :D

Location of File: \Windows\HTCblack_taskbar.png

Location in Reg: \HKCU\Software\Microsoft\Today\TaskBar\TaskbarThemeImage\

but i am sure this wont help ZuinigeRijder when it has different location on every device :mad:

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
[24-9-2010] BattClock 3.0.6 *NEW* Wifi/Mobile internet monitor and more

[APP] [Updated 24-9-2010] BattClock version 3.0.6 *NEW* Wifi/Mobile internet monitor and many other improvements

Fixed problem that BattConfig crashed when selecting Stripe of "Mobile Connected" or higher. Actually it was a debug log statement, which was not written by default. Fixed the problem and only do the message construction when actually debug logging is on. This also improves perfromance a bit.

Make sure that all registry settings are recreated by BattClock when "Reset" is done in BattConfig About screen to avoid non-default registry settings in later configuration.
[Windows Mobile Apps and Games] jcmm:
Hello,

I had to re-install the v2.1.2, v3.0.6 since (and earlier v3.xx) give me problems on my HTC Touch Pro

With v3.xx after trying different settings, current information is blocked, keeping a fixed values. Even I came to lock the device, and I had to do a soft-reset (?????)... having 135 MB of free memory RAM operating.

I have several other bugs, but I have not come to delve into them after that you indicated ... that removed v3.0.6, and I put the v2.1.2 again, although with fewer options, it works perfectly on my device.

I think you should refine this v3.0.6.

Sincerely,
[Windows Mobile Apps and Games] TonyPants:
did you reset your registry?
[Windows Mobile Apps and Games] jcmm:
Hello,

Yes, but after the reboot is not going perfect this new version on my device ... does not completely correct to believe that consumes more resources than v2.1.2

Sincerely,
[Windows Mobile Apps and Games] bh77a:
For Battery Temp, the program is displaying 344.9 degrees. The formatting for it is:

Display Format: %.1f degree symbol

Multiply With: 1

Divide By: 10

For Battery Watt, the program is displaying 224mW. The formatting is:

Display Format: %dmW

Multiply With: 1

Divide By: 1000

These values seem high in the display, correct? I am using a stock ROM but am using a custom battery driver that gives me 1-100 percent readouts. I think it is nueBattery for Touch Pro CDMA.

The file is also attached so you can check out maybe why CPU frequency isn't working. It's a stock Touch Pro 1 running WM 6.1. Carrier is CDMA, not GSM, if that matters.
[Windows Mobile Apps and Games] ZuinigeRijder:
Looks like for the custom battery driver, the temperature must be divided by 100?

The milliWatt is computes as:

BatteryWatt = BatteryCurrent * BatteryVoltage

W = A x V

Can you also post the log file battclock.log.txt, because that is the interesting one for the CPU Frequency.
[Windows Mobile Apps and Games] ZuinigeRijder:
Can you be more specific what is not going perfect?

Can you enable debug logging and post the debug logfile BattClock.log.txt in the directory where BattCLock is installed. Only then I can improve BattClock :(
[Windows Mobile Apps and Games] reza3310:
Hello dear firends.....

I'm using 826X ROM and the defualt taskbar doesn't let the app to properly run....some mixed items!any idea for make this problem solved??

​
[Windows Mobile Apps and Games] majorassface:
ZuinigeRijder just wanted to say thanks for a great app, really improves the taskbar. Are you going to post the changelog for 3.0.6? I won't update for now as 3.0.5 is working great for me. Thanks again and keep up the great work.
[Windows Mobile Apps and Games] ephestione:
ehm.... did you run battconfig to actually set the size of the battclock item inside the taskbar? that's just the default appearance anyone has after installing the program :P

@ the guy with CPU freq showing 0

if you are using a touch pro as you said, I doubt the CPU freq will be showing for you, as the dll used to do that works for the HD2 only
[Windows Mobile Apps and Games] Tokl:
Hi,

like ephestione sayd, you have to configure Battclock by yourself because you use WM 6.5.3 and here is the Taskbar a little smaller.

this is the reason why it shows a little cutted.

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
Actually I did update the changelog.. Did you retry a refresh/reload of your browser on that page?
[Windows Mobile Apps and Games] Tokl:
it should work on touch pro, it uses the same processor like my blackstone or ZuinigeRijders diamond

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
Actually BattClock also has a dll inside for the Touch Pro. On my Diamond it showed the correct CPU Frequency, but of course there it does not change.

LeoClockLib.dll

Msm7kClockLib.dll

Both provided by NetRipper.
[Windows Mobile Apps and Games] ephestione:
d'oh! :D And here I was missing that piece of info!
[Windows Mobile Apps and Games] ralpheboyo:
Testing

Long time friend.......Testing v3.06....will provide feedback when i get home.....Thxs for all your continued hard work......:D.....and since i am working again 01897714W5715735A:p
[Windows Mobile Apps and Games] bh77a:
Dividing by 100 makes the battery temp more realistic. What are approximate values for watt, current, etc so I know if I am calculating it properly?

The correct log should now be attached. Let me know if it isn't!

Thanks again!
[Windows Mobile Apps and Games] Tokl:
Depends on device and use, but you should have around 250mW in idle mode with backlight set to low, and up to 2500mW while an call in bad reception areas.

Greetz Tokl
[Windows Mobile Apps and Games] reza3310:
Honestly U are right,I don't hanging around in settings:p

I'll come over before sleeping tonight:D
[Windows Mobile Apps and Games] ZuinigeRijder:
Good to hear you have work again :eek: And thanks for the good donation.
[Windows Mobile Apps and Games] ZuinigeRijder:
Ok, so that makes sense.

According to Wiki the MSM7 type of processors is this..

Till now I have added the following processor type strings.

MSM7200

MSM7201

And you have a CDMA and that corresponds to what the log is saying:

2010-09-24 11:17:47 -832886270 CPU id: MSM7501A-528MHz

2010-09-24 11:17:47 -832886270 Frequency Mhz: : 0

So it seems I need to add MSM75xx and MSM76xx to acceptable CPU types.

Here is a test version, to see if it actually works (see attachment).

Just copy/past this version over the version where battClock.exe is installed.

Hope it does not crash :rolleyes:
[Windows Mobile Apps and Games] GLO:
Hi ZuinigeRijder,

Just referring back to this reference from v2.

Im now using 3.0.5 and the 0 setting doesnt work for me now. It just dissappears, and when set to 240 naturally in landscape it only will display 240 wide rather than 800. Can you please update v3 so that a 0 setting will span the full width in both portrait and landscape?

Thanks heaps
[Windows Mobile Apps and Games] ZuinigeRijder:
XDA downtime

http://www.xda-developers.com/announcements/xda-downtime/

The site has been restored from 24 hour old backups and posts are missing due to this error. :mad:

If there are still open issues not yet answered, post them again.
[Windows Mobile Apps and Games] ZuinigeRijder:
I downloaded the png (in the no longer visible post :mad:) and for me it is working :eek: Note that the Landscape background you can configure separately.

The Mhz thingy is fixed, this was only available in the test version.

See attachment.

Can you try again the png taskbar and post a debug log file? Or was it not correctly selected? or in use?
[Windows Mobile Apps and Games] ZuinigeRijder:
in BattClock 3.x it can be done too, but differently. use X=0 and X2=-1. The negative value indicates measure from the right + 1. So this works then also in landscape.