yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] adazamim:
How to get this figure with Batt Clock?

Hi, nice work

On the first post I've noticed a figure that I need to have on my HD2 with the BattClock,

please check pic below.

Is it possible to have it on my phone?

I'm running a stock ROM: 1.66.415.9(76641)WWE.

Thank you!

Ahmed

Cairo, Egypt

19.11.2010
[Windows Mobile Apps and Games] adazamim:
Thank you,

I have done it,

Great App
[Windows Mobile Apps and Games] ZuinigeRijder:
Yes, it is just a matter of making the BattClock area smaller and put a stripe just below it. The example has a gray background, to have a good indication of the maximum percentage.

Would be nice if you could post a screenshot of your creation.
[Windows Mobile Apps and Games] ZuinigeRijder:
The problem with the screenshot is that it also takes everything with it was is drawn over it.

If the wallpaper is having a registry key pointing to it, an option could be to look to a change of the registry key.
[Windows Mobile Apps and Games] adazamim:
Here they are - screenshots of my BattClock on HTC HD2

Dear ZuinigeRijder,

Attached are two screenshots of my HTC HD2,

I, normally, tend to have simple layouts that would do the job.

All whites on a black background, except when battery falls under 25% turns red:)

Centered not to touch the speaker icon, vibration icon or the silent icon on the left. Also not to touch

the "X" mark on the right, when an application is open.

Your application is a savior for those who prefer sticking to the STOCK ROM with windows mobile 6.5

not capable of showing the two indicators at once. (Battery & Time)

Find also attached the text file for setting in case someone needs to have the same appearance of

the taskbar indicators. N.B: This took me almost 2 hours to have the result i need :)

Thanx a million ZuinigeRijder!!

Ahmed

Cairo, Egypt

November 20, 2010
[Windows Mobile Apps and Games] HRQ.SLV:
Hi ZuinigeRijder,

First: thanks for this great app.

Second: here's a screenshot of my creation.

With "Clock", "Free MB", and "Mobile Connect Time Total" and 2 stripes the first it's the "Battery%" and the second the "CPU%".

Cheers.
[Windows Mobile Apps and Games] ZuinigeRijder:
Thanks for sharing the screenshots. Very nice.
[Windows Mobile Apps and Games] ZuinigeRijder:
Very nice. Thanks for sharing :)
[Windows Mobile Apps and Games] bh77a:
Hi ZuinigeRijder and all,

I've just installed BattClock 3.1.2 to my Touch Pro 2. It doesn't have any custom battery driver installed at present. The battery percent, which is represented as %d%% only shows "1%". It doesn't show the actual percentage, which is represented in x10 intervals.

Any thoughts?

Thanks in advance!
[Windows Mobile Apps and Games] Smellie2:
Memory

Is it possible to only display the memory? And if yes, how can I realise that?
[Windows Mobile Apps and Games] ZuinigeRijder:
That is strange, because the default Touch Pro 2 already has a battery driver of 1% increments. No custom battery driver needs to be installed.

Do you have a special ROM installed, which does not work correctly?

You can enable debug logging and post the log file, so maybe this gives me a clue.
[Windows Mobile Apps and Games] ZuinigeRijder:
Just make all entries empty in the Content screen and the first entry select memory.
[Windows Mobile Apps and Games] iusauser:
Very useful app!

my screenshot (animated gif):

htt p://d.imagehost.org/0734/battclock.gif

First Row (Content 1): "Battery Current"

Second Row (Content 2): "Mobile Kbits Per Second"

Third Row (Content 3 & Content 4 alternating in last row): "Mobile KBytes Received Total" (blue colored), and "Free MB" (w/default auto-coloring)

Top stripe: CPU usage

Any chance to, in a 1-column/3-row configuration, the first row and second row alternates with a 5th content and a 6th content, respectively? (sorry for my bad english)

thanks, I think its a must-to-have app, Best regards
[Windows Mobile Apps and Games] Tokl:
Finally i get Home and was able to test it (better late than never ;) ), but its also not counting anything on WiFi :confused: ... see Log.

And im back on latest Stock ROM 3.14.407.2 Ger

Edit:

PacketsReceived and PacketsSent are filled out in Log :D

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
Nice screenshot. I will think about the alternating option.
[Windows Mobile Apps and Games] ZuinigeRijder:
Thanks for the testing effort.

Ok, so the test succeeded, because PacketsReceived and PacketsSent are filled in the log.

2010-11-27 11:02:53 1506082662 Wifi PacketsReceived: 125

2010-11-27 11:02:53 1506082662 Wifi PacketsSent: 108

So apparently the HD2 Wifi adapter does not support the BytesSent and BytesReceived :mad: But it shows PacketsReceived and PacketsSent :D

This is in the msdn documentation:

So only the Packets are supported on the HD2 adapter. That poses another problem. I do not know the packet size. And it can be different for different phones too, I guess. So I only can make an estimate of the Bytes sent and received. Or does someone know a way to detect the packet size :confused:
[Windows Mobile Apps and Games] Tokl:
I read somewhere the MTU (Maximum Transmission Unit) on the HD2 is 1452

but this is useless, the only way is to use an average size per packed.

for example this guy has calculated an average size of 557 bytes at his network .

http://etherealmind.com/average-ip-packet-size/

but it is like the other one sayed "On averages: Put your feet in the oven and your head in the freezer. Averagely speaking, you’re fine"

So far, no Luck for WiFi on HD2 :mad:

Thanks for your effort;)

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
Hmmm, maybe I must make the (average) packet size configurable. And use it as fallback when BytesSent and BytesReceived are not filled.
[Windows Mobile Apps and Games] Tokl:
hmm, maybe better than nothing.

I think some People who like to have the WiFi counter working on HD2 will be happy about this;)

Greetz Tokl
[Windows Mobile Apps and Games] mmoiron:
Creating a report with monthly traffic

I've created a Mortscript script that allows me to save the Battclock mobile counter value to a report file and reset its value. It automatically schedules its execution for the beginning of each month creating a new entry in the Notification Queue. I use this report to check my ISP bill. There's also a script to remove next execution from the notification queue. The script itself doesn't look pretty or even finished. I've created it to scratch my own itches but maybe someone else finds it useful. Remember to change script paths to suit your system.
[Windows Mobile Apps and Games] ephestione:
Thankyou very much, very instructional script!

I don't need it to monitor traffic or anything, but reading the source saved me, like, half an hour spelunking in mortscript helpfile :D
[Windows Mobile Apps and Games] ckchau:
Thanks ...much. I try and comment later
[Windows Mobile Apps and Games] GLO:
Hi ZuinigeRijder,

Im hoping you can help me with this.

I have been using v3.1.0 with Energy Roms, and after a motherboard issue i had to send it in for replacement.

Now that i have it back, with the default T9193 Telstra HD2 rom, i have installed v3.1.0 again to monitor cpu % and temp.

However i have found that i now see 2 problems.

1.app is unsigned and after loading my Battclock config file, it loads it but then somehow changes back to the default settings.

2.There are instances where it has locked up, but with only your app installed.

I have attached my config file to see if that provides any insight.

Thanks in advance for your help!
[Windows Mobile Apps and Games] ZuinigeRijder:
I think you forgot to post your config file.

Can you reproduce the scenario 1. If yes, can you enable debug logging, reproduce it and post de debug log file.

2. Can be anything, I expect not a problem because of BattClock (but of course you never know).
[Windows Mobile Apps and Games] GLO:
Sorry,

Here is my reg file.

I'll try to replicate again with a log file.
[Windows Mobile Apps and Games] ZuinigeRijder:
I do not see a problem with this registry file.
[Windows Mobile Apps and Games] alex fung:
Now my battclock is showing chinese all over the config pages. It is hardly intelligible to me. How do I reinstall it so that it speaks English again?
[Windows Mobile Apps and Games] mike2nl:
Please check the following in your registry:

HKEY_CURRENT_USER \ Software \ HTC \ Manila : Locale ????

for me it is nl-nl, means dutch.
[Windows Mobile Apps and Games] Tokl:
Hi,

delete the subfolder inside BattClock for the locale language (dont.know what name for chinese, but there should only be one folder inside).

Then is Battclock auomaticaly falling back to english.

Greetz Tokl
[Windows Mobile Apps and Games] hugojungle:
Wifi Strength?

Hallo,

since I have the HTC HD2 StockROM 3.14 (GER) on my HTC, I have the feeling, that I have a much better reception on 3G, but as soon as I move to my living room, I loose the Wifi. On 1.66 ROM I haven't had this issue...

Is there a possible to display the WiFi Signal strength? Which reg. key do I have to select?

Hugo the JungleDyret
[Windows Mobile Apps and Games] alex fung:
Thanks. That's the issue. Actually it is the Settings -> Locale and text -> Regional -> Region. I now choose Australia (though I am no where near it) and battClock speaks to me in English now.

Now that I changed my regional setting, it also solved lots of mysteries. I have always wondered why Opera Mini used Chinese in the setting pages and doesn't give me a way to choose another language. or why the yes/no dialogues suddenly became chinese. Really quite a lot of places refer to this regional setting. web sites normally give us choices (zh-hk vs en-hk) but HTC seems to think that HK people should read Chinese. Even though 95% can doesn't mean that they want to. So we have to become Australians to survive on the HD2.

Wow that's great! i knew I had a zh-cht folder which shouldn't be there, but I thought I needed to create a en-us folder myself and I didn't know how to. Please add this info (simply delete the folder) in the FAQ because I think many people with Hong Kong as regional setting don't want to see dialogues in Chinese.
[Windows Mobile Apps and Games] ZuinigeRijder:
No, BattClock does not have Wifi Signal strength (yet). I have a new laptop (Dell M4500) which I have to setup for compilation. But I will put it on the wish list. I am sure some other free tools are available to measure Wifi strength. So maybe you can try those till it is available on BattClock :confused:
[Windows Mobile Apps and Games] Tokl:
Hi,

Search for Wififofum, its an great (but very old) program.

Greetz Tokl
[Windows Mobile Apps and Games] Jrmstl:
Woot ! I have just noticed the possibility to launch a command line from clicking in BattClock area ! This is just making from the basic good old native task manager an awesome app-switching tool, accessible at any time, very quick, w/o needing to install another external application as Dutty's or Touch X's ones (even if these ones are good too).

Thank you a lot for this too.

[Edit] Because my HTC HD2 don't have the quick app-switching menu anymore in the right side of its taskbar.
[Windows Mobile Apps and Games] deadmend:
Thank you for really useful program!

Can you add the information on calls? It's located under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\CumulativeCallTimers\Line_0\

Of course it could be added by using RegKeyN keys, but please add Reset option for it (to reset call counters just delete Line_0 registry key)
[Windows Mobile Apps and Games] cambys:
battclock doesn't show the current voltage or watts info for battery on my omnia II I8000

all read 0
[Windows Mobile Apps and Games] ZuinigeRijder:
I am going to provide the possibility to provide commands per BattClock item, so you can configure even more commands......
[Windows Mobile Apps and Games] ZuinigeRijder:
It is difficult to pre-program all wishes. However, this regkey can be usefull for others too. I will add it to the documentation.

So I propose to just change the Regkey1..RegKey6 to the content you like.

Also resetting is something you can better tune to your own needs, e.g. use MortScript. That will be much more flexible than a solution I would provide.
[Windows Mobile Apps and Games] ZuinigeRijder:
That is a known issue. The battery driver of omnia does not provide this information :mad: They did not implement all functionality in the battery driver.
[Windows Mobile Apps and Games] Abhy-Boy:
Background TaskBar

Can this taskbar background become transparent ?? In order to match with every theme
[Windows Mobile Apps and Games] ZuinigeRijder:
Unfortunately I do not know a way to have transparency. If I know the background image of the theme, BattClock can already cut out the appropriate portion and use that as background and write the information on top of that.

So if there is a theme switcher, a possibility could be to automatically switch the background when the theme image has been changed. But then there should be a registry key or something like that which points to background theme image. And BattClock could look for changes to that registry key.......
[Windows Mobile Apps and Games] ephestione:
Bug report.

I had this problem with 3.1.0 already, but I waited to flash a new rom and install 3.1.2 to make sure it wasn't just something corrected with new revisions.

Shortly, sometimes battclock doesn't read the settings when it starts.

It may happen once in a while that I reboot the phone, and what I see is not what I configured, but I just see the default battclock you get right after first installation (clock, battery% and maybe something else in a column -I wouldn't know, it gets cut off on 6.5-, and some bars at each corner).

What it takes me to solve the problem is hitting the battclock link twice in the start menu, hence closing and restarting battclock again... after that, battclock "reads" the settings in the registry correctly and loads the layout that I saved.

It's as if for a certain delay the registry isn't readable by apps in the very first moments of system boot, so battclock is forced to revert to standard layout.

As I said it doesn't always happen, I'd say something like 40% of the times.
[Windows Mobile Apps and Games] ZuinigeRijder:
Hmm, maybe BattClock has become so efficient at startup that it is quicker then Windows Mobile :eek: However, I did not have heard about the registry not available at boot for applications.

I did not have a startup delay (it was once 6 seconds, but I have removed it some time ago). So I think I will add a delay of 1 second. I also will exit BattClock immediately, when I cannot access the registry, just to be sure the phone will not be locked in one way or another by BattClock.

I am finishing currently:

- adding Wifi Packets as info

- fallback if Wifi Bytes is not returned by Wifi Adapter (as is the case for HD2), using WifiPackets

- added Wifi Signal Strength (in dBm and %)

So I will include the above mentioned measures in the upcoming version. Hope that helps :confused:
[Windows Mobile Apps and Games] Tokl:
For me this is true!!! :p:D

I can see some parts (only the Stripes) of BattClock before i did see the Homescreen :eek:

Its for 1-2 Seconds at the "Standard" Orange WM6.5 Boot Logo before the Homescreen is visible :D

But i never had problems with default configuration loaded in BattClock after bootup

(No matter what ROM i use) :confused:

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
[Updated 19-12-2010] BattClock version 3.2 *NEW* Wifi Signal Strength & Wifi Packets

# Added option to show Wifi Signal Strength in dBm and Wifi Signal Strength %

# Added option to show Wifi Packets

# fallback if Wifi Bytes is not returned by Wifi Adapter (as is the case for HD2), using WifiPackets

# 1 second startup delay and exit BattClock when registry is not accessible to possibly avoid reported problem
[Windows Mobile Apps and Games] mike2nl:
Jesus, an update again. You have to many free time ZuinigeRijder? Then you can help me to put away all the snow around my house ;).

Thank you for the this update that solves some little issues. Very good work so as every time.
[Windows Mobile Apps and Games] ephestione:
Hehe, I will be using the latest version then... as soon as this HD2 will come back from warranty servicing and I will have to flash again a custom rom.

The touchscreen has the habit of dying on me lately.
[Windows Mobile Apps and Games] Tokl:
Here are my results:

- wifi kbits/sec is showing around every 2 seconds an negative number ( mostly around -4700kbs ) while all kbytes/session are counting (positive) up

- wifi connected time/Session in seconds is counting 1 - 2 - 0 -1 - 2 - 0 and so on

- wifi kbytes total is counting negative, while wifi kbytes sent/received counting up

see attached log - what i did here:

1. enabled wifi

2. started battclock (with reset counters)

3. wait a view seconds (doing nothing)

4. had some traffic

5. ended battclock

send you the logfile

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
Thanks for pointing out the problems :rolleyes:

because I do not have a fallback to WifiPackets on my Diamond, indeed there was something wrong in the code. I could reproduce/fake fallback and fix the problem. Note that you probably have to reset the Wifi Counters after installation.

You can download version 3.2.1:

# Fixed fallback if Wifi Bytes is not returned by Wifi Adapter (as is the case for HD2), using WifiPackets

# Fixed Wifi Connect Time counting (increment when connected, not only when data received)

# Fixed Mobile Connect Time counting (increment when connected, not only when data received)

# Wifi updates once per second instead of once per 3 seconds
[Windows Mobile Apps and Games] jcmm:
Hello ZuinigeRijder,

I am a regular follower of this great program since its inception. I work very well, but with the passage of the versions you've made (each time with more features), I have been observing a higher consumption of the battery on my HTC Touch Pro, despite having put a new battery, and have the same programs installed on my HTC.

I really only use the functions of the percentage of battery status and time of day, to use less battery. I have made many tests yet, and for a long period of time, and it consumes less battery as your program. I have it set to 180 seconds the data query.

Recently tried the "BattLineSvc" and actually consumes less battery power than your program BattClock, but only has the function of the top bar. Moreover, having only called that program, and uninstalled (not just off) "BattClock" my HTC battery lasts much, much more.

I wanted to ask if the v1.7 of "BattClock is stable enough (and valid for WM5.x WM6.x) to use only two functions that must now (percentage of battery status and date of day), because if you eat less than later, which would be used daily. I remember that these versions prior to v2.0 "BattClock" I consume less battery.

Regards,
[Windows Mobile Apps and Games] Tokl:
Hmm,

i checked the actual version 3.2.1 in Taskmanager and see an average of 0.37% CPU Load @768mHZ and 0.29% consuption @998mHZ at my HD2.

This is not that much!

I think the problem at your device is maybe some funktion (called by battclock?) wont let your device go to deep sleep...

Try following:

let Battclock logging the actual battery % or better the mw consuption with logging every 10 seconds and put the device to sleep.

look after an while (hours) to the created logfile.

normally there shouldnt be as much entries while device is at sleep.

didnt try this with battclock but with another batterylogger, so i found my energy hungry program wich dosent let the device go to sleep.

I dont think itd Battclock itself, because my Touch HD lasts for weeks with battclock in standby mode.

Greetz Tokl
[Windows Mobile Apps and Games] jcmm:
Hello,

With the latest version of BattClock CPU consumption is similar in my HTC Touch Pro on your device, despite having just checked the date and the percentage of battery status, only these two parameters (no need to over time) . With the v1.7 version of BattClock, with these two parameters, the low consumption of 0.10% or 0.25% of maximum value, long time is 0%. That is, consume fewer resources and battery of v1.7 that newer versions ...

These checks are made with the same programs installed under the same conditions. To me, the HTC Touch Pro, as long the battery lasts me 1 day of normal use.

At rest (normal shutdown, not total), with a night BattClock I can drop by between 3% and 5% of battery. BattLineSvc with me only 3% down ... as much. BattLineSvc is part of WM services, so that you can not easily analyze CPU usage, but if you spend just under BattClock battery, though much more simple the information provided.

With BattClock, modern versions, if you noticed an increase in battery consumption (lowering the percentage of battery status) if activated the top bar battery status, or any another service, so I've only used with 2 services listed at the beginning of this message.

Regards,
[Windows Mobile Apps and Games] ZuinigeRijder:
I would expect the same sort of battery usage, when other feautures are disabled. That is at least the design. But maybe there is somewhere a check which should not be done, e.g. Wifi of Mobile data. I need to check my code for that.

Can you also do me a favour? Enable debug logging and just run it for an hour or so (but be prepared for a huge log file in the same directory as where BattCLock program is installed, so maybe install it on the memory card for this experiment). Maybe I can find the cause of the battery drain with this.....:confused: Preferably, make sure you do not use the phone in that hour (display off).
[Windows Mobile Apps and Games] jcmm:
Hello,

Perfect, I'll install the latest version of your program, and tonight I'll leave the device off the screen (sleep) without using it, and in the morning I will send the file "log" that you tell me if everything is correct.

I am very interested in making sure that everything works well, because your program is essential to me ... is very good.

Regards,
[Windows Mobile Apps and Games] Tokl:
Thanks for the new version!

Now i get a little time to try, its not perfekt - but close to ;)

-all the "session" counters (send/receive/together/time) are not self resetting after a new connection is established, so it counts on and on (even after an restart of battclock)

- the Wifi counter - reset button does also reset the time from active session (i think this can be ignored ;-) )

- if i first enable wifi and then start/run battclock after that, battclock is not recognizing the connection and also not counting (i have to disable and reenable wifi, then it works fine)

Thanks again, if you need any logs let me know! :)

Greetz Tokl
[Windows Mobile Apps and Games] sxtheone:
Hi, ZuinigeRijder,

I found some discrepancies between battclock's wifi strength and that of homescreen plusplus. I'm now confused and don't know which one is correct. However, when I move closer to my wireless router, homescreen plusplus can show the signal strength as strong as -38dbm, while battclock shows a maximum of -50dbm.

Another question is, are both Wifi Kbits Per Second and Mobile Kbits Per Second updated once per second now?

Thanks.
[Windows Mobile Apps and Games] Tokl:
Thats true, i have also differences between battclock and wififofum - battclock shows around 10% less -dbm than wififofum.

But both can go down to -10dbm when i lie my hd2 direct on the router antenna....

but i dont care about this because its not possible to make exact measuring with an smartphone... (put your finger on the side where your wifi antenna is located and you will see what i mean ;) )

Wifi has one second, mobile has tree seconds update time.

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

I am attaching the file "log" that you asked me. I had stayed my device for one hour (possibly more). I beg you tell me something about the issue I raised. As I mentioned, I have only checked the date and the percentage of battery status, as well as the upper line of battery status.

Greetings and thanks,