yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] reidler:
I found out that my phone (HTC Touch Pro 2) has another Reminder indicator for all day appointments. If there is an all day reminder it is in a separate register (APPTALLDAY) than regular reminders (APPT). So I set another content field to use this register. It would look like this: R2 +1 R2 is the regular reminders and the +1 means there's one all day reminder. But I only want the all day reminder to show if there is 1 or more all day reminders. If there are none then I want it to be invisible. So in colors I set it to be green for +1 for the HIGH field. For the LOW field I set the colors (all 3 numbers) to 0. The word LOW is then invisible. When I testet it, however, it showed me 0 in white. BUT I think that might go back to that non-existant register issue. When there are no all day reminders the APPTALLDAY register is deleted and non-existant. I bet when that fix makes it in to Battclock then I think it will indeed become invisible. I think it will be invisible even if you set it up to show a 0 on numeric registers as I requested. It'll be invisible becase the LOW color is invisible for anything less than one. I hope I wrote this message clearly. Thanks. I'm anxious for the updates. I hope you get some time soon. Thanks very much. Eli
[Windows Mobile Apps and Games] ZuinigeRijder:
Actually this is already the case for a long time. All translations are removed, except the builtin English and the selected language setting in Windows Mobile. So for English users, all translations are removed.

Those settings will not consume extra battery. Of course, anything which costs CPU cycles will use more battery, but BattClock is optimized to use as less as CPU cycles possible.

Yes, that is normal behavior of the battery drivers. They estimate the battery % left. And they recalibrate at boot time.

I am not familiar with SPB Wireless monitor, but I expect BattClock is more efficient, because of the simpler design and using less CPU cycles. Actually, when GPRS is off, BattClock will only spent a CPU cycle to check if GPRS is off.

So you really have to compare, to know for sure.

Depends how efficient Lumos is compared to the standard Windows Mobile setting. Setting fixed low brightness always consumes less battery ;) Although the brightness gains battery, if it is inefficient done, it can have a counter effect. I know e.g. G-Light drained more battery then it gained (at least in earlier versions).
[Windows Mobile Apps and Games] ZuinigeRijder:
I have already spent quite some time on the upcoming version. 2 development items I still have to do, but the others one have been basic tested. Maybe one of the development items I skip for the upcoming version (BattConfig action screen). Hope I can post a new version soon.
[Windows Mobile Apps and Games] ZuinigeRijder:
[APP] [Updated 16-02-2011] BattClock version 3.5 *NEW* Stripe background image

# Fixed problem that + sign in DetectBackGround X in Others setting screen was not working

# Fixed bug that import settings in BattConfig About did not remove previous settings, so the end result could be wrong (note if you import registry values directly, first remove existing ones)

# Fixed that the CSV file is correctly showing the correct header for BATTERY_CURRENT or BATTERY_CURRENT_FORCE

# Fixed bug that some values where only used as stripe when log was enabled for them (minutesCall, minutesDisplayOn, minutesStandby, minutesUptime)

# Fixed Russian typo, thanks to d8389

# Treat stripe values as unsigned instead of signed

# Make it possible to show registry key HKCU\ControlPanel\Volume\Volume as a number between 0 and 100 (divide by 42949672 and unsigned arithmetic)

# Reset signal strength registry key to 0 when in flight mode/radio off to overcome WM bugs/quirks

# When a registry key does not exists, return 0 instead of keeping the old value

# Improved performance when background image is used

# Also use the Background Image for stripes, if configured

# Support detectBackground negative X values to support landscape

# Added option to align text horizontal (left or right) and/or vertical (top or bottom), prefix display format by < (left) or > (right) ^ (top) v (bottom) [ (left bottom), ] (right bottom) { (left top) } (right top)

# Same info can be used in more than one stripe
[Windows Mobile Apps and Games] reidler:
Thank you SO MUCH! I immediately downloaded the new version soon as I got the email. I did not check all the improvements yet but soon as 3.5 booted up on my phone the reminder registers were fixed! Excellent. Even the new thing I tried today -that field is invisible! I have to wait until the allday event pops up again to make sure it comes up but I assume it will.

I would like to set up the volume display. Meanwhile I used up all 6 registers. I may borrow one register to try it. I think a volume display is a great idea.

Thanks very very much!
[Windows Mobile Apps and Games] jcmm:
Hello ZuinigeRijder,

Thanks for the reply.

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

I forgot to comment you a topic. I tried the option to give me the total BattClock GPRS data, because what interests me is the cumulative total of GPRS data. It seems to work perfectly, and I will use instead of "SPB Wireless Monitor", containing many details and options, but do not need them, and this program uses many resources.

There are some details I wanted to know about the operation of BattClock respect to the data provided the total in GPRS. Possibly this is documented, but I have not understood correctly

1 .- I need full GPRS data (sent + received, ie the sum total), provided one month (from 17 to 17 months, which is how my telephone operator). Then when the end of a month would take note of the cumulative total, and would eliminate the counter BattClock to begin next month, is this correct?. How to collect this data file, if there is a problem and want to recover?.

2 .- As there is little space in my top bar, I can only use a column two three data: battery percentage (fixed), and total time of the day + GPRS data (rotating these two values in the second line of the column .) The problem I see is that the GPRS data counter is in KB, so that when the value exceeds 1 MB, you need much space (I can get about 200 MB per month). Can not adjust the BattClock to 1 MB to reach this value, the counter functions in MB and not KB?. Take up less space.

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

Align text - great feature.

Thanks.

But it does not work with Battery charge indicator.

<V~%d%%

~<V%d%%

~%<Vd%%

~%d<V%%

:(
[Windows Mobile Apps and Games] ZuinigeRijder:
I think you spotted a bug in this new feature. This is working for all formats, except for the Battery % when on power. This is a special case and there I did not check for this alignment format feature :mad:

Will be solved in the next version. Sure others will find other problems too ;) Hope not too much though :cool:
[Windows Mobile Apps and Games] reidler:
How did you know about this alignment feature? I did not see it in the documentation.

I ran out of registers to be able to set up the volume guage stripes. I'm using the registers for Reminders, SMS, Email, Voicemail and missed calls. I played with one register for volume..

There are 6 volume increments. 0, 858993459, 1717986918, 2576980377, 3435973836 and 4294967295. They are evenly separated by 858993459. If you divide by 858993459 then you'll get a number 0, 1, 2, 3, 4 and 5 respectively. In order to get the numbers from 0-10 you would have to divide by 42949679.5. That did not work. It causeed Battclock to crash. So I kept it in the 0-5 range. But for some strange reason the colors did not work. I set it to show the stripe as green for HIGH 1. It only showed 0, 1 and 2. For 3, 4 & 5 it would not show. To test my colors I changed it to a be a different register and then the colors worked right.

It would be a great thing to have the screen showing the volume of the Ringer, System, Ear sound, Speakerphone and Bluetooth using stripes but I don't have enough registers to use. Is there another way to get that information?

I am loving the new fix you did for the disappearing registers. It works very nicely. Thank you.

Eli
[Windows Mobile Apps and Games] ZuinigeRijder:
It was in the Changelog:

# Added option to align text horizontal (left or right) and/or vertical (top or bottom), prefix display format by < (left) or > (right) ^ (top) v (bottom) [ (left bottom), ] (right bottom) { (left top) } (right top)

And it was in the documentation in the Display Formats section:

http://touchlockpro.sourceforge.net/BSettings.html#4.4

By default the text will be aligned in the middle (horizontal and vertical). You can align text horizontal (left or right) and/or vertical (top or bottom). Just prefix display format by < (left) or >: (right) ^ (top) v (bottom) [ (left bottom), ] (right bottom) { (left top) } (right top).

Yeah, maybe I should increase the number of programmable registers.

When I tested it, I did divide the Volume by 42949672 to get a value between 0 and 100. But I believe this only works for display format. For stripe you should set the min value to 0 and the max value to 4294967295 (or -1). But I must admit I did not test it.

Hmmm, that is a lot of different settings. A possibility would be to combine one number for all these volume settings, each digit 0-9, 0 = off, 9 = loudest.

So e.g. 90127 would mean respectively Ringer 9, System 0, Ear Sound 1, Speakerphone 2 and Bluetooth 7. You cannot use it for a stripe though, but as a display number. Or indeed 6 extra programmable registry keys.

Good to hear that it works as expected. So you see, small changes can have great effect and flexibility.
[Windows Mobile Apps and Games] Myster:
It has been a while since i posted this , but i finally found the time to hard reset the phone and do a clean setup

I installed latest version 3.5 and the same problem appeared again

Only this time i know for sure that the WiFi signal meter worked nicely until i turned the phone OFF and then on again. After that it could not detect if wifi was on and what the signal % was. I had to Quit Battery meter and then start it again and then the Meter showed up nicely

What do you think might be the prooblem ?
[Windows Mobile Apps and Games] ZuinigeRijder:
1. Currently you must indeed reset yourself the cumulative total each 17 of the month. However, you can also use the feature of logging the data to BattClock.csv. Probably you want not too often that the log file is written, so you should set the LogToFile not once per second, but maybe once per hour (3600).

Later on you can even examine the data use on your PC using Excel or another tool (nice graphs).

2. You can divide the MOBILEKBYTESTOTAL in the Display Formats screen by 1024 (Divide By field) to have MB. Actually, you can also use a display format as floating point, e.g. %.1f So it shows e.g. 60.4 MB.
[Windows Mobile Apps and Games] ZuinigeRijder:
If it is reproducable, you can enable debug logging, reproduce the scenario and post the log file. Maybe that gives me a clue.
[Windows Mobile Apps and Games] wolfvinz:
Hi ZuinigeRijder,

thanks for the new version 3.5.

Unfortunately I now have a problem with the registry text format.

In the version 3.43 i have in "HKLM \ Software \ pocketMax \ phoneAlarm \ current profile name" entered the value "

% s

",

and in "HKLM \ System \ State \ Phone \ Last Incoming Caller Name" the value "

% 12.11s

", both worked.

In version 3.5 crashes BattClock.

What value should I enter?

Thanks

Greetings Vinz
[Windows Mobile Apps and Games] jcmm:
Hello,

Great is your program and your work is great help, thank you very much for both subjects.

Perfect, I think I understand everything, and I get the screen perfectly in total GPRS data "MB", for example, habiedo set to "Total Mobile" and "Screen Format" in "%.1fMB" I get "1.1MB"... perfect.

Regarding the first question, indicating to me that setting to "3600 sec." passing data to the file "BattClock.csv" having turned into "Total Mobile" two options "log", so it is not so continuous information, right?. Is writing for the creation of this file increases the demand on battery power?. I guess this file is cumulative in terms of information. If I reset the "Total Mobile" day 17 of each month (which is what I need), clears the file, or is it cumulative?. Also active If the "log" in the percentage of battery, data from both regintan section in this file "csv"?.

Thanks again for your valuable help.

Greetings,
[Windows Mobile Apps and Games] Myster:
It is reprodusable just as i said , I turn off the phone and turn on again

all indicators work except WiFi % , WiFi Kbps ( That's all i used )

Exit Battclock , Launch again and everything works

I am attaching debug log
[Windows Mobile Apps and Games] riowong:
a suggestion about providing copy & paste functions

Hi there, I'm just newly trying BattClock. May I have a suggestion? How about adding copy and paste functions, so that user can simply click two small icons to perform the copy texts and paste texts functions? Thanks! :)
[Windows Mobile Apps and Games] ZuinigeRijder:
Thanks for the testing effort.

I see in the logging, that initially Wifi was not on and then it got activated:

2011-02-18 15:53:10 -320714106 RegistryNotifyCallbackFuncNetworkCount m_nNDISCount: 1

....

2011-02-18 15:53:11 -1931582166 WifiSignalStrength: -84

2011-02-18 15:53:11 -1931582166 WifiSignalStrengthPercentage: 19

2011-02-18 15:53:11 -1931582166 WifiConnected: 1

Then the Wifi is disconnected:

2011-02-18 15:53:16 -320714106 RegistryNotifyCallbackFuncNetworkCount m_nNDISCount: 0

And no updates are given anymore. I assume that in the reproduction somewhere the display was off? However, I did not see in the logging that the phone was coming out of a deep sleep. And there is no notification anymore that the Wifi was activated again. Hmmm, strange, that I do not get a notification that Wifi becomes on again.

So my question is, in this test run, was the display going off once for only a few seconds?. Because I did not see a deep sleep. And then it did not react anymore. A possibility could be that I never got the notification, but hard to tell from the logging. Maybe a possibility is that It did not get connected automatically again to your router? Could you still use Wifi?
[Windows Mobile Apps and Games] ZuinigeRijder:
Could you elaborate on what you exactly mean? Because it is a little bit cryptic. I try to understand the use case.
[Windows Mobile Apps and Games] ZuinigeRijder:
When you log to file, then it will append a row each time one of the values you want to be logged is changed and the time is elapsed. So if you do this once per second and the Data changes once per seconds, you can get a huge BattClock csv file. And yes, writing is more expensive (especially to SD card) than doing things in memory. So probably you want to limit the number of records written, so once per hour, once per 15 minutes or another value to your likings.

Each reboot, BattClock will continue appending info to the BattClock.csv. If you reset the settings, those will be appended also to the BattClock csv starting over to the reset settings. Probably you want to start with a fresh BattCLock csv when you reset the settings. Just stop BattClock, rename the BattClock csv file and start BattClock again.

Hope it is clear.
[Windows Mobile Apps and Games] ZuinigeRijder:
Nice screenshot.

Can you tell me (and others) about the information you show?

I will try to reproduce your problem with registry values containing string info. Maybe I can reproduce. Is it possible the Last Incoming Caller Name key does not exists and therefor it crashes?
[Windows Mobile Apps and Games] jcmm:
Hello,

Thank you very much for all the clarifications, and patience in explaining everything. Now if I understand the program and how it works in this area.

Regards,
[Windows Mobile Apps and Games] holmanm:
If you have QuickMenu installed or are willing to install it even if you don't want to use it, you could go into QuickMenu, Options, Commands and create a link for "Text Edits" and associate the BattClock Press Command to the TextEdit link.
[Windows Mobile Apps and Games] wolfvinz:
Hi ZuinigeRijder,

both entries exist, I think the format in version 3.5 has changed.

What value can I enter for, to get the screen as shown in the screenshot?

Greetings Vinz
[Windows Mobile Apps and Games] pupakota:
whoa, indeed, this is VERY nice screenshot, very presentative, imho.
[Windows Mobile Apps and Games] d8389:
Can you also add sign +/- for currents in battery ?

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

I understood everything right, everything I've been showing in previous messages. But something went wrong in the program. Let me explain: I stated it in the top bar of MB of GPRS data, perfect. Also these data are well recorded in the program, if you were perfect. But what does not work well is the writing of data in the file "csv". Check the boxes that interest me to save the data, all GPRS data, or only the totals (which is what I need). I give time of 1 second or 5 minutes (300 seconds), but... sometimes the data are recorded in the file, and sometimes not recorded. I go into the settings, and I alone have been off some boxes that had been activated (?????). How I can have stability for this file "csv" work well?. I find it very necessary that these data are recorded forever, and well recorded... is unstable this item on the agenda, at least on my device. I tried to uninstall it, delete all traces in the registry, then reinstall... but still fails on this issue, only on this issue.

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

BattClock is only saving Data to the .csv when the selected values have changed.

This means no update to the .csv when no new values are recorded.

Maybe this is your problem?

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

No, this is not the problem. Today I connected, and the data are viewed on screen within the program, but the file "csv " is unchanged, with last date of movement yesterday (??????). Moreover, I find no logical to me turn off solo options "log"for the "csv" some of the options (?????).

Everything works fine, unless the subject of the file "csv".

Regards,
[Windows Mobile Apps and Games] ZuinigeRijder:
Hi Vinz,

I could reproduce the problem. This problem was introduced to allow non-existing registry keys. I will fix this in the next update.
[Windows Mobile Apps and Games] ZuinigeRijder:
I am still interested in the information shown :confused:
[Windows Mobile Apps and Games] ZuinigeRijder:
I am not sure if people would like this. I left out the minus sign, because it saves one position. And we do not have much space in the Taskbar :eek: So if I would add that, I am sure people want to have the possibility to configure it to be as it was. I had the reasoning people know it is charging :confused: so it is clear it has than a positive number :rolleyes:
[Windows Mobile Apps and Games] d8389:
may be place for sign in format ?

Something like %#d or %+d where + or # place for +\-
[Windows Mobile Apps and Games] ZuinigeRijder:
Problem will be that I need to parse the string and distinguish between special meaning and the normal C sprintf formats. And that is something which can be error prone.

Is there a special reason you want the + or - sign?
[Windows Mobile Apps and Games] ZuinigeRijder:
I tried myself today, with the settings once per 60 seconds. For me it was working.

In the Log Settings screen I enabled Battery% and Wifi for Log to file. The entries were appended, as I expected. Every time you start BattClock, it will append the header.

Note that you need to *STOP* BattClock, because BattClock uses file buffering. So it might appear the file is 0 bytes, but after stopping BattClock you see the real size. And then you can also copy/rename/delete the battclock.csv file. And yes, it will only log something if one of the values to log has been changed in-between.
[Windows Mobile Apps and Games] reidler:
Hi. I'm sorry if the fix you made for me for non-existant register might be causing a problem. The fix really helped me and I appreciate it. Is that indeed the reason for his problem or is it something in the formatting? He said the both of his entries do exist.

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

Perfect, now you understand how this file "log/csv". Thanks.:)

Regards,
[Windows Mobile Apps and Games] ZuinigeRijder:
It was just a small programming error, which was related to the non-existing keys changes. However, both will be possible with the fix in the next version. Programming is an art and sometimes I make errors ;)
[Windows Mobile Apps and Games] Myster:
No screen did not go off ( nor did the phone entered deep sleep )

As i said if i turn off the phone or even perform a restart then the WiFi indicators do not work ( WiFi connection is successful and working ) unless i quit BattClock and then run it again

It makes no sense to me maybe is something with the coocked rom
[Windows Mobile Apps and Games] ZuinigeRijder:
It looks the notification is not working. I am planning to make a version which just polls the registry key:

HKLM\System\State\Connections\Network\Count

When this registry value is 0, BattClock will not measure Wifi anymore.

Can you check the value of this registry key with a registry editor, when the problem occurs :confused: If it is > 0, than the notification is not working......
[Windows Mobile Apps and Games] ZuinigeRijder:
[APP] [Updated 21-02-2011] BattClock version 3.5.1 *NEW* Stripe background image

# Fixed bug when showing textual registry keys

# Also make it possible to align display text for Battery % when charging

# Made it possible to show Volume registry key as stripe (large unsigned values)

# Do not use registry key notification for Wifi to avoid problems some people encounter with Wifi

# Flush BattClock.csv at least once per minute if logtofile is configured to avoid loss of data because of possible reboot/power off.
[Windows Mobile Apps and Games] Myster:
I did check this when WiFi is Off value=0

when WiFi is on value=1
[Windows Mobile Apps and Games] reidler:
Sorry that I have not fully followed this discussion. On my phone the wifi and mobile counters have never worked. The numbers stay 0 for all counts. I once got some strange numbers in the mobile data when I was experimenting and chose one of the wifi fields to display in content.

It would be nice to be able to keep track of these numbers but I just figured it doesn't work on my Sprint HTC Touch Pro 2 phone.

I did just download and install 3.5.1. Then I turned on wifi and loaded a web page. Then I checked wifi and - all 0s.

Thank you for the update! I will try to play again with the volume stripe.

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

I have a problem with the new version v3.5.1, which I happened to previous versions: I have one column with 3 data (battery%, time of day, total KB GPRS), the last two rotations. Battery% and total well maintained KB GPRS placement and alignment of the spine, but the time of day disturbs a little bit down and left after making the settings and close the program settings. I hope you can reproduce this problem on your device to see and correct it. Thanks.

Regards,
[Windows Mobile Apps and Games] riowong:
Hi Mike, I've followed your instruction to add the .lnk file into BattClock Press Command. However clicking to the BattClock item doesn't popup Text Edit of QuickMenu. I've tried moving the TextEdit .lnk shortcut to root and link it to the Press Command, but the Text Edit still doesn't come out. Reloading BattClock still doesn't work. :confused:
[Windows Mobile Apps and Games] riowong:
how to show date format dd + weekday

Could anyone pls tell me how to show the date format in "dd" and "weekday" only such as "22 Tue"?
[Windows Mobile Apps and Games] ZuinigeRijder:
I do not understand the issue. Is it possible the data is too wide to fill in the display area? So you need to change the fontsize or enlarge the size of the battclock area.