English 中文(简体)
Log my battery performance on netbook [closed]
原标题:

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

Which Windows API (Windows Xp and Window 7) do I use to log my battery performance on netbook? I want to write an app which can graph the watt vs time. I always run a select few apps on the netbook. Is there a tool for this already?

问题回答

The Windows DDK tool PwrTest /BATTERY emits a log file including all the info you are looking for. From MSDN:

The PwrTest Battery scenario is designed to facilitate automated inspection of battery and power source information. PwrTest is capable of logging battery capacity, voltage, rate of drain and general state for up to two batteries on the system. Battery data is logged at a specified interval for a specified number of cycles.

I m not sure if this tool works on XP, but it s easy to download the DDK and try the tool on XP.





相关问题
How Can I Check To See If the User Set His Clock Back?

In my desktop program, I want to check that to see if the user has set his clock back. To do so, I compare the timestamp of certain Operating System files to the current computer date. If any are ...

How can i add a button to all windows explorer instances?

I am trying to add a button to one of the existing tool bars in any windows explorer instance. After much research i figured out that BHO (browser helper objects) are the best way to hook to ...

Migrating to Windows 7 - How will this impact my software?

I want to migrate to Windows 7 from XP, and I have some questions: Will Oracle 10g and SQL Server 2008 work? Will my C# programming (in Visual Studio 2003, 2005 and 2008) work? Do I need to do ...

Log my battery performance on netbook [closed]

Which Windows API (Windows Xp and Window 7) do I use to log my battery performance on netbook? I want to write an app which can graph the watt vs time. I always run a select few apps on the netbook. ...

PHP on IIS 5.1 is not working

I know this has been asked a few times here. But none of the suggestions or answers related to PHP on IIS have helped. I have tried installing PHP ON IIS 5.1 (XP SP 3) on two computers and it still ...

WPF Memory Leak on XP (CMilChannel, HWND)

My WPF application leaks memory at about 4kb/s. The memory usage in Task Manager climbs constantly until the application crashes with an "Out of Memory" exception. By doing my own research I have ...

热门标签