View Full Version : Reading Battery Life Remaining
scroots
06-15-2004, 08:33 PM
I have a laptop with a battery and wish to read the amount of power remaining using C or VB. Is this possible?
I did a search on google and a lot of the reults where just rubbish e.g. reviews on batteries.
scroots
Celtboy
06-15-2004, 09:23 PM
But of course! Check out the following MSDN documentation:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingsysinfocontrol.asp
and
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconsysinfoscenario3monitoringbatterypowerstatus.asp
hth,
-Celt
scroots
06-15-2004, 09:33 PM
thanks for that looks very interesting. It is a leap forward in the way i want to go.
scroots
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.