473,396 Members | 1,966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How can i check the battery level of any device

2
Hi
Any one suggest me how can i check the status of any hardware battery status attached to my PC in .net.
Jun 4 '07 #1
4 1513
kenobewan
4,871 Expert 4TB
Use smtp server to send an email to the technician. Actually I have no idea... anyone else?
Jun 4 '07 #2
Plater
7,872 Expert 4TB
You will most likely have to make a call to the specific battery drivers.
I know with WMI you can determine if you are on battery or wall power, but I am pretty sure actual battery information is pulled from the individual drivers.

Try digging through your battery's driver/info/manual/website.
Jun 4 '07 #3
Motoma
3,237 Expert 2GB
I dug up this link that had some useful information and samples.
Jun 4 '07 #4
Plater
7,872 Expert 4TB
I stand corrected. That was in fact, very very useful.
Jun 4 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Maria | last post by:
Hi all ! :) I am trying to find a way to return the battery level of a notebook or laptop or any mobile device (but to make it simple a laptop would be fine). I am trying to do this because I'm...
1
by: teohster | last post by:
Hi all, What I am trying to do is generate a stored procedure that is desired to output XML in this type of format <Parent Device> <Device> <Device ID>1</DeviceID> <ChildRegister>...
2
by: Woo Mun Foong | last post by:
I would like to check or be notify by Windows that the system is running on UPS battery and then I would prompt up a message informing the user to save their work and logout. The UPS software I...
2
by: Miri | last post by:
Hi I have 3200 series laptop battery light is on but battery wont charge...anyone with any suggestion, it has no charge at all thanks
3
by: Scott Bell | last post by:
Hello all, What is the equivalent in the .NET Framework for accessing a device at the block/sector level such as one would when using CreateFile on a device like "\\.\D:"? Attempting to create...
1
by: gz | last post by:
Hi! I wanted to use python to test a simple character device (on linux) and I'm running into strange behaviour of read.. I have a short buffer inside my device and the idea is that it blocks...
4
by: EKTAGOEL | last post by:
Hi I want to capture the battery life of laptop Windows XP. Please provide me the platform for that. Is there any API to capture battery life. Please reply me as soon as possible. Thanks in...
173
by: Marty James | last post by:
Howdy, I was reflecting recently on malloc. Obviously, for tiny allocations like 20 bytes to strcpy a filename or something, there's no point putting in a check on the return value of malloc....
23
by: kid joe | last post by:
Hi all, Sorry this is a bit off-topic... but I do write a good amount of C code on my laptop so there is a link... Basically, it's a question about laptop batteries. About ten days ago, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.