Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / VB for WinCE / July 2008

Tip: Looking for answers? Try searching our database.

Capturing battery temp

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Adam Davis - 07 Jul 2008 01:57 GMT
Hello there, I know many programs can display the battery temp from my dell
axim 51v however I'm writing a program in visual studio 2005, for the smart
device with vb and so far I've had no luck.

I've seen that

http://msdn.microsoft.com/en-us/library/ms941842.aspx

The SYSTEM_POWER_STATUS_EX2 structure holds a BatteryTemperature field.

I've been looking at examples on the internet and tried to create an example
but it doesnt work, it consist of a timer and a text field, I'm wanting it to
simply display and update the battery temp in a text field.

You can see what I've attempted here;

http://pastesite.com/1312

Anyone any ideas how I can simply grab the battery temp?
Paul G. Tobey [eMVP] - 07 Jul 2008 16:57 GMT
So what part is the problem?  The call doesn't work or your code for
displaying the data is wrong?

Paul T.

> Hello there, I know many programs can display the battery temp from my
> dell
[quoted text clipped - 19 lines]
>
> Anyone any ideas how I can simply grab the battery temp?
Kadaitcha Man - 11 Jul 2008 09:46 GMT
Sounded like he's not getting the data back properly.  Of course
you can't display afterward.

> So what part is the problem?  The call doesn't work or your
> code for
[quoted text clipped - 30 lines]
>>
>> Anyone any ideas how I can simply grab the battery temp?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.