yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] ZuinigeRijder:
Maybe you can enable debug logging, try Wifi and make sure you connect to Wifi and download some data. Maybe that gives me a clue.

Please check also HKLM\System\State\Connections\Network\Count when Wifi is working (e.g. via browser).

For the Volume to use as stripe, you must put -1 for the High/Max value, so it will be in the range 0-100.
[Windows Mobile Apps and Games] ZuinigeRijder:
The new version 3.5.1 is not using the notification, but just reads the network Count.

Did you mean that while you were able browsing internet via Wifi, the Wifi value for the registry key Count was 1? And then BattClock was not displaying Wifi signal strength?
[Windows Mobile Apps and Games] ZuinigeRijder:
See Display Formats settings screen

- Select Date Time Format 1

- Change Display Format into: %d %a

- Show the Date Time Format 1 in Content Settings screen
[Windows Mobile Apps and Games] jcmm:
Hello ZuinigeRijder,

I do not think that is a problem of definition of data space in the only column that I use for them. In all previous versions of this V3.5.1 what was defined in this way and I failed. With v3.5.1 I fault only the time of day, but put it in the first row or second row of the column ... it always disturbs, while other data remains always perfectly placed, either at first or second row.

Until this problem is resolved I had to delete the time of day, and it is a fact that suits me very well, but I can not turn failing ...

Regards,
[Windows Mobile Apps and Games] ZuinigeRijder:
Can you enable debug logging, reproduce the faulty case and post the BattClock.log.txt as zipped attachment. So I can reproduce or find the problem.

Also exporting the settings and posting BattClock.reg.txt would help.
[Windows Mobile Apps and Games] Myster:
Yes that's correct Registry Value=1 and BattClock did not display the strenght until quitting and restarting BattClock ( version up to 3.50 )

So should i try new version or wait ?
[Windows Mobile Apps and Games] ZuinigeRijder:
Yes, you can try the new version 3.5.1. I expect it will now work with the remarks you gave.
[Windows Mobile Apps and Games] Myster:
Well i am sorry to tell but still has the same behavior. I still have to quit BattClock and start it again to display the meters

Maybe it has something to do with the autostart sequence ? if you put a time delay until it loads after a device restart or something ?
[Windows Mobile Apps and Games] ZuinigeRijder:
You mean, when restarted, Wifi keeps working?
[Windows Mobile Apps and Games] Myster:
:confused: Don't quite understand what you mean .... but i did a test and i think i found the reason of this behavior

I removed the battclock.lnk from the startup folder ( so it didn't autoload after a device reset )

Then after the reset i waited until device fully started and then launched battclock

It worked nicely , so what i meant in the previous post is maybe you could implement some sort of a timer and have battclock launched with a delay after a reset (S2U2 has this feature)
[Windows Mobile Apps and Games] gazsyka:
Question about CPU% - Refresh rate

Hello ZuinigeRijder,

I have a question or request. Is it possible, I can change refresh rate of CPU%?

Because it is generate "higher" cpu usage, then without this options.

thanks your free project, it is very usefull utility.
[Windows Mobile Apps and Games] jcmm:
Hello ZuinigeRijder,

I've gotten it to work correctly, but greatly reducing the size of the characters, something that has not happened with previous versions of BattClock (prior to v3.5.1), always fit quite right in this column of two rows. I imagine that something you've changed in this v3.5.1 to happen to me this problem.

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

a few versions before it was stick to 3 seconds, then Zuinige changed it to 1 Second.

Your right, this means an higher CPU usage :rolleyes:

But:

Im sure most of the people want to see the changes immediately when they activate the CPU value to shown.

Whats the matter when you see this value, lets say 30 seconds later? :confused:

Greetz Tokl
[Windows Mobile Apps and Games] Tokl:
Hmmm,

seems that many people having problems with this (me include;) had this too :p )...

Is it necessary that BattClock have the file always opened?

Why not open, write the contend, and then close?

(Maybe this is also the reason for higher Battery consumption when BattClock is installed on SD and logging is ON, because WinMo know an File is opened :confused: )

Its also an thinking for preventing of data corumpation.

I mean when the device locks up, or what reason ever, BattClock is suddenly ended, this file is at an unknown state (especially on SD -> FAT32... greetings from checkdisk :D )

Greetz Tokl
[Windows Mobile Apps and Games] ZuinigeRijder:
The problem that opening/closing files is very expensive. Currently the minimum write pace is once per second. Opening/Closing would really slow down your device. Keeping the log file open is on itself no problem. In version 3.5.1 I added flushing the contents once per minute (if there is something to flush), to avoid loss of data.

I think it is also better to install BattClock on the phone memory, so you do not keep the SD card consume power.
[Windows Mobile Apps and Games] Tokl:
Thats an argument, thanks! ;)
[Windows Mobile Apps and Games] ZuinigeRijder:
Did you select another font or fontsize?

Actually, I do not see any changes in that area in 3.5.1, except the possibility to change the alignment possibility. But the default is as it was.
[Windows Mobile Apps and Games] ZuinigeRijder:
It is always difficult to choose defaults. But if I have to make everything configurable, the configuration will not get easier. There are already so much overwelming possibilities :rolleyes:

If you divide the CPU over time, it will be just an average CPU%, which will not tell too much. So I agree with Tokl this does not make much sense.
[Windows Mobile Apps and Games] ZuinigeRijder:
Actually, this gives a possibility to figure out why it cannot find Wifi later on. Apparently BattClock is soo fast....

A general utility to delay startup of any program would be more flexible.

But I would like to figure out the real reason. Can you enable debug logging and reproduce the scenario, by:

- enable debug logging

- soft reset/reboot the phone (just start BattClock via auto-Startup)

- try to enable Wifi and see if BattClock shows Wifi

And then:

- stop BattClock via Programs

- start BattClock via Programs

- try to enable Wifi and see if BattClock shows Wifi

The first one should fail, according to you and the second one succeed.

Maybe I can see the difference in the logging and find the real cause :confused:
[Windows Mobile Apps and Games] Myster:
That is exactly what i have been doing until now and this is what i did on the debug logs i attached before. So i am attaching new logs now with latest version

1. Log with auto startup enabled ( WiFi NOT Working unless i do what i described before )

2. Log with manual startup ( Working )
[Windows Mobile Apps and Games] holmanm:
Just to verify 2 things:

1) Is QuickMenu still installed? The lnk file uses the quickmenu.exe file to run.

2) Since you moved TextEdit.lnk to root, does BattClock Press Command contain "\TextEdit.lnk"? (Needs the path, which is the slash for root, normaly "\Windows\Start Menu\Program Files\QuickMenu-TextEdit.lnk")
[Windows Mobile Apps and Games] jcmm:
Hello ZuinigeRijder,

No, I made no change to install this new version, so I missed this bug, keep the same configuration as long.

Now, with v3.5.1 is when I had to change the font size for me to work well, but now I have to see smaller data BattClock screen, if I extend as they were before me fails again, but always just in the time of day, is in the first row or the second, while the other values work well in two rows with larger font sizes (?????).

Regards,
[Windows Mobile Apps and Games] ZuinigeRijder:
I looked into the autostart battclock.log.txt:

2011-02-22 21:08:49 -319373350 SearchWlanDevice: TNETW12511

...

...

2011-02-22 21:09:07 -319373350 GetRegValue(): Count

2011-02-22 21:09:07 -319373350 ==OLD==: 0

2011-02-22 21:09:07 -319373350 ==NEW==: 1

2011-02-22 21:09:07 -319373350 OpenNdisUio(): 1

2011-02-22 21:09:07 -319373350 MediaState: 0

2011-02-22 21:09:07 -319373350 Wifi BytesReceived: 1007033

2011-02-22 21:09:07 -319373350 Wifi BytesSent: 2285

2011-02-22 21:09:07 -319373350 Wifi PacketsReceived: 922

2011-02-22 21:09:07 -319373350 Wifi PacketsSent: 25

2011-02-22 21:09:07 -319373350 WifiFirstTime

2011-02-22 21:09:07 -319373350 Wifi changed(false)

2011-02-22 21:09:07 -319373350 Wifi prevBytesReceived: 1007033

2011-02-22 21:09:07 -319373350 Wifi prevBytesSent: 2285

2011-02-22 21:09:07 -319373350 Wifi prevWifiBytes: 1009318

2011-02-22 21:09:07 -319373350 Wifi prevPacketsReceived: 922

2011-02-22 21:09:07 -319373350 Wifi prevPacketsSent: 25

2011-02-22 21:09:07 -319373350 Wifi prevPackets: 947

2011-02-22 21:09:07 -319373350 WifiConnectTimeTotal: 968

2011-02-22 21:09:07 -319373350 GetWifiSignalStrength()

2011-02-22 21:09:07 -319373350 GetWifiSignalStrength(): -80

2011-02-22 21:09:07 -319373350 WifiSignalStrength: -80

2011-02-22 21:09:07 -319373350 CloseNdisUio()

2011-02-22 21:09:07 -319373350 WifiSignalStrength: -80

2011-02-22 21:09:07 -319373350 WifiSignalStrengthPercentage: 25

2011-02-22 21:09:07 -319373350 InvalidateStripeValue(): WIFISIGNALSTRENGTHPERCENTAGE

2011-02-22 21:09:07 -319373350 InvalidateStripeValue(): 25

2011-02-22 21:09:07 -319373350 WifiConnected: 1

However Wifi disconnects after 1 minute or so:

2011-02-22 21:10:12 -319373350 WifiConnected: 0

And from there on Wifi is no longer on.

The no autostart is showing the same pattern:

2011-02-22 21:34:14 -1452068906 GetRegValue(): Count

2011-02-22 21:34:14 -1452068906 ==OLD==: 0

2011-02-22 21:34:14 -1452068906 ==NEW==: 1

...

2011-02-22 21:34:32 -1452068906 GetRegValue(): Count

2011-02-22 21:34:32 -1452068906 ==OLD==: 1

2011-02-22 21:34:32 -1452068906 ==NEW==: 0

So here it stopped after 18 seconds....

So in both situations I see it working, so I am confused a little bit :confused:
[Windows Mobile Apps and Games] reidler:
I know there are more important topics going on right now - I hope you odn't mind this simple question: I tried using the < to align a field to the left. It worked. But it didn't look right and I need to get it back in the middle. I removed the < but it still keeps it to the left. Shouldn't it be aligned back in the middle? I tried prefixing it with a > to see if that would move it to the right but it did not either. Is there somehing I am missing? I'll keep playing to see if I can find the problem.

Thanks. Eli
[Windows Mobile Apps and Games] ZuinigeRijder:
Maybe it is not reset correctly when changed via BattConfig, when BattClock is still running? Maybe try to stop/start BattClock, so it picks up the correct settings from startup.
[Windows Mobile Apps and Games] wolfvinz:
Hi ZuinigeRijder,

thanks for the fix, the registry entries. :p Currently I have the problem that the text format changed in the new version, unfortunately I am not familiar with the new parameters. Is there any examples of date, time and volume?

Thanks
[Windows Mobile Apps and Games] reidler:
I had tried starting/stopping Battclock and ever resetting the device but it didn't help. I played with another field - a register - I used < and > and it worked - it aligned to left (<) and then to right (>) and then when I removed it it was centered again.

But on the DateTime format 1 that I set to %a %b %d and on the DateTime format 2 that I set to %#I:%M:%S%p I had added the < to each of those (<%a %b %d <%#I:%M:%S%p ) and it aligned it to the left. Then I removed the < from each of them and it did not go back to the middle. I tried a > in fromt of each of them but it did not align it to the right. I made sure there was no added space at the right end.

In case you need to know I have these two content fields assigned to location #2 which is set to 2 Rows and 1 Column. (X=0 Y=5 W=123 H=46)

I know you're working on bigger issues than this so if you don't have time to look at this right away I can understand.

Thanks,

Eli
[Windows Mobile Apps and Games] reidler:
Hi. It does look like something is amiss with the < > ^ v formatting characters. I got my date and time fields back to be centered. What I did was to go in to CONTENT and choose another field to display like Minutes Uptime. Then I changed it back to DateTime Format 1 and it was re-centered. But then I tried again and the < > did not work on it. The < > worked on some other fields but not on all. Also sometimes my idea of changing the content worked right away and sometimes I had to stop/restart Battclock. One time I tried using > on the DateTime Format 1 and nothing happened. I restarted Battclock and it started LEFT justified - not right - even though I used >. I removed the > and did the trick of changing content fields to Battery Temperature and it became centered again. If I changed it to mm-dd it did not work and neither did < >. So I still don't have a good handle on the problem.
[Windows Mobile Apps and Games] Myster:
I do not know what to say , i just removed the startup link and start BattClock manually after a reset for now and it works

if you have any other suggestions i would be glad to test them for you

Thanks a lot for the your efforts
[Windows Mobile Apps and Games] reidler:
Hi again. About this < > format issue. When the device is reset or Battclock is restarted, it is applying the < format making it left justified even though I removed the <. I have to use Battconfig and change the Content field to one of the fields like Battery Current or Battery Temperature and then change it back to get it centered again. But not to all fields. DateTime format 1 (%a %b %d) maintains its center. But the DateTime format 2 (%#I:%M:%S%p) and another field do not. If I start/stop Battclock, then again it goes left.

I don't know if this started in 3.5 (or 3.5.1) or if it was in earlier versions too.

Thanks.

Eli
[Windows Mobile Apps and Games] jineg:
12h:mm

Content 12h:mm

Location

X -100

Y 0

W 70

H 50

2 Rows, 1Columns

v3.5

8:30 <= Good

98%

v3.51

8:30 <= Left alignment is bad

_98%
[Windows Mobile Apps and Games] Myster:
I Have this problem as well . I left this first left slot empty as a workaround
[Windows Mobile Apps and Games] riowong:
Hi, I mean easy copy highlighted texts and paste it by tapping something created by BattClock shown on taskbar. Win Mobile doesn't offer the shortcuts of Copy and Paste texts function.
[Windows Mobile Apps and Games] ZuinigeRijder:
alignment problem

Apparently I screwed up the alignment with version 3.5.1, while trying to fix:

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

Thanks for the testing effort and help in trying to find the problem.

I can reproduce it, so I am working on the fix right now.

Sorry for the inconvenience :mad:

Hope you do not loose faith in BattClock :cool:
[Windows Mobile Apps and Games] reidler:
No loss of confidence. You're so good that I'm nervous about reporting problems. I wonder if it's Battclock or me. I was going to try to test by reloading 3.5 and maybe even 3.4.3 but I don't have to now.

Thanks so much. Good luck.

Eli
[Windows Mobile Apps and Games] ZuinigeRijder:
[APP] [Updated 23-02-2011] BattClock version 3.5.2 alignment bug fix

# Fixed bug that display alignment got screwed up by solving "Also make it possible to align display text for Battery % when charging"

Sorry for the inconvenience :mad:

Hope you do not loose faith in BattClock :cool:

Grab the bugfix :)
[Windows Mobile Apps and Games] Tokl:
And i was wondering whats happened to my screen :D
[Windows Mobile Apps and Games] ephestione:
ahah you're so dam good on free support that someone might think you're not real :p
[Windows Mobile Apps and Games] Joe Bleau:
Thanks for BattClock - Export/Import Settings

Thank you ZuinigeRijder for your awesome BattClock app & continuous development and support. :cool:

BTW guys, how come he has only a 44 score @ the present :eek: in his Thanks Meter with thousands of downloads & posts in this thread and elsewhere recommending BattClock? :confused:

Come on lazy basterds, click on the Thanks button on one of his post like in the [Updated 21-02-2011] BattClock version 3.5.1 *NEW* Stripe background image above for example! :cool:

One may also make a small donation to encourage him to continue. My small contribution ($5) Unique Transaction ID # 87X09051CF457500B.

*****

Here are my current BattClock settings using the new background feature as posted here in the NRG HTC Rhodium ROM thread including the BattClock.reg.txt for this setup on my WVGA htc Tilt 2 (similar to Touch Pro2).

BTW one can Export/Import his custom BattClock settings with > Start > battconfig > About > Import or Export. That BattClock.reg.txt file can be found in Program Files\BattClock and may be copied to memory card for backup & be used when flashing a new ROM.

Maybe that button should be labelled Menu instead of About which normally does not contain functions like Reset/Import/Export but only info about the program & author?

*****

Does anybody has an Excel template with graph to be used to paste BatClock Log data & compare the real capacity of two different batteries? :confused:
[Windows Mobile Apps and Games] jcmm:
Hello ZuinigeRijder,

Indeed, this new version fixes the problem today came indicating that you had with the previous version, be misaligned data on time of day within the column of two rows that I have ... Now I can again increase the size of the fonts of the characters without any problems.

Regards,
[Windows Mobile Apps and Games] Joe Bleau:
Did you click on the Thanks button in that ZuinigeRijder's post? ;)
[Windows Mobile Apps and Games] reidler:
I clicked on a few THANKS meters. Now that you pointed it out I'll be more vigilant in doing that. Thanks.
[Windows Mobile Apps and Games] cichmen:
Hi,

I have problem with mobile data counter on my Omnia II (WM 6.5.3). It shows 0 kB all the time. Is there someone who is running it on same phone and it works? Or any advice?

Thanks!
[Windows Mobile Apps and Games] ZuinigeRijder:
Very nice use of the BattClock features.

Thanks for sharing :)

Hope someone can answer your question:
[Windows Mobile Apps and Games] ZuinigeRijder:
Someone had the problem because BattClock started too fast after softreset/boot. When stopping BattClock and Starting BattClock (via Programs) it started working. Maybe the same sort of problem?

When not, enable debug logging, reproduce the scenario by downloading data and post the debug log file BattClock.log.txt in the directory where BattClock is installed (normally Program Files\BattClock).
[Windows Mobile Apps and Games] Tokl:
No, not really :(

But IMHO is an logfile not really helpful for doing that...

I think the only solid way to compare 2 Batteries is, when you test them under same conditions, for example:

1. charge the battery full (at least over night! do not unplug shortly after it reaches 100% - it still charges a bit further)

2. switch off ALL data connections

3. close ALL programs (best is to do an softreset)

4. set screen bigness to full (for faster draining) and disable standby

5. unplug now (of course dont use anything on the phone now) and measure the time how log the battery last, this is the point were logging of BattClock may helpful -> the last entry is short before the battery dies.

6. repeat this with the other battery, and compare both times against them

Greetz Tokl
[Windows Mobile Apps and Games] cichmen:
Thanks for reply! I've tried to stop and start Battclock without success. Attached is log - Started Battclock, connected to GPRS, transferred few KB, disconnected GPRS, stopped Battclock.

JC
[Windows Mobile Apps and Games] ZuinigeRijder:
I see that GPRS is enabled:

2011-02-25 21:23:33 1148631838 RegistryNotifyCallbackFuncCellularCount m_nCellularCount: 1

and later I see it disabled:

2011-02-25 21:24:27 1148631838 RegistryNotifyCallbackFuncCellularCount m_nCellularCount: 0

But I do not see anything counting. Apparently, enumerating the GPRS connections, does not give something back.

Hmmm, difficult to say, without adding special logging. Apparently the enumaration of the RAS connections works different for your phone type?

Are there more people with a Omnia II (WM 6.5.3) using BattClock and where Mobile data is working or is not working:confused::confused:
[Windows Mobile Apps and Games] reidler:
I have a Sprint Touch Pro 2. It has never worked on my phone either. No mobile data counters and no wife data counters. They always stay 0.

Eli
[Windows Mobile Apps and Games] Joe Bleau:
Feature Suggestion: BattClock Real Battery Capacity Test

One needs the average current in mA * time to properly compare batteries unless the phone's settings/programs/testing conditions are absolutely identical between the two tests to be able to use only the time the phone took to rundown the battery. Check tobbbie's thread which use your BattClock Data & a Mortscript: Measure and compare your battery capacity - easy, foolproof, comparable - any WM dev.

Now I used that as well as BattClock to log all data to two files. I attached the 2 simplified Excel docs to this message. Here are captures of the graphs I created in each Excel docs using only 3 columns of data: Time, battery capacity in % and current in mA inserted in a X Y Scatter Chart:

The time in the BatteryRundown csv file was in seconds since reboot to start the test which I divided by 3,600 to get hours. That csv has to be renamed to .txt to be opened in Excel & formatted with the ";" and "," and IMO it has too much useless data & is overcomplicated by the need to add the script to Startup, etc.

Now your battclock.csv can be opened directly in Excel. All I had to do was to select only the Time and battery capacity in % (which is not labeled properly in your log BTW) and insert an x y scattered graph. If BattClock could log the time in hours w/o date (or seconds) from reboot, the graph would be perfect!

The next thing was to calculate the average current in mA with Excel's AutoSum and multiply that by the total amount of hours the test ran until the phone shutdown because the battery was at zero. As noted in the battclock_2011-02-21_Example.xlsx spreadsheet:

(2:35 + 24h =) 26:35 H:M - 18:37 H:M = 8 Hours * 173.3 mA average = 1386 mAh Real Battery Capacity. Et voilà! :)

So it would be a cool & very useful feature to add to your already awesome BattClock IMO. All that would be needed is a special function that would:

1- Log to a special battclock_Battery_Test.csv after reboot that would use a simple template with graph (optional).

2- Log BattClock uptime after reboot in hours with at least 2 decimals starting @ 0 & 100% battery capacity.

3- Log battery capacity in % which is already supported.

4- Log Current in mA which is already supported.

5- User need to set his phone before rebooting: Airplane Mode and display brightness set to maximum on battery and auto dim, auto adjust backlight and Turn off device if not used for... disabled (always on).

6- User could multiply time in hours by Average current in mA to calculate real battery capacity in mAh or the Excel template could do it.

7- BattClock Battery Test would have a button asking Start test and reboot now? ;)

Or tobbbie, the author of BatteryRundown.zip and you could make a simplified custom Mortscript for BattClock to be copied by the user or via a CAB to Windows\Startup maybe? :cool: