473,406 Members | 2,633 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,406 software developers and data experts.

Capture battery life of laptop in java

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 advance.
Sep 18 '07 #1
4 4625
r035198x
13,262 8TB
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 advance.
Generally you want to perform such low level fiddling in lower level languages like C++ or even C. Java is happiest when it doesn't care where it's running.
Sep 18 '07 #2
Generally you want to perform such low level fiddling in lower level languages like C++ or even C. Java is happiest when it doesn't care where it's running.
Thanks, But that means it cant be captured in java, right...???
Then, can you provide me some help regarding capturing battery status of laptop in C or C++. In that case native code will be imported in java

Thanks in advance
Sep 18 '07 #3
Nepomuk
3,112 Expert 2GB
Thanks, But that means it cant be captured in java, right...???
Then, can you provide me some help regarding capturing battery status of laptop in C or C++. In that case native code will be imported in java

Thanks in advance
Check this thread. I guess, that will help you.

Greetings,
Nepomuk
Sep 18 '07 #4
r035198x
13,262 8TB
Thanks, But that means it cant be captured in java, right...???
Then, can you provide me some help regarding capturing battery status of laptop in C or C++. In that case native code will be imported in java

Thanks in advance
You'd have to ask in the C++ forum
Sep 18 '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...
0
by: cognite | last post by:
This venue would surely appreciate the cool stuff being done in python on bioinformatics and python's tools for info parsing and extraction (like fulltext indexing, xml tools, parser builders,...
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: JeffDotNet | last post by:
I wrote a small data processing application that writes a summary of several hundred files. I use drag and drop on a panel (Panel1) to grab the absolute path to each of these files. Then I begin...
1
by: Steve | last post by:
Hi All I have a VB.net 2005 windows forms application which uses webcam to take photos of staff members etc for use within the application All works fine if an external webcam is used The...
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...
3
by: dolittle | last post by:
Hi, I want to create a screen capture using java. I'm new to java and I'm overwhelmed by the so many terms: SE, EE, FX, Swing... I saw a nice product written in java that let you start the...
3
by: Tuy Solang | last post by:
Hi Everyone, I am just starting to learn Java from O'Reilly CD. I could not find any example that is related to screen capture. Is it possible in Java like in Microsoft C? Thanks,
7
by: jx2 | last post by:
Hi guys im having a big problem with JMF and i would appreciate your help... i saw a lot of source codes with these two lines unfortunatly this doesnt work for me: Vector deviceList =...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.