How to get notebook battery remaining capacity

Hi,All

I want to get notebook battery remaining capacity(shch as 80%).
I try use WMI Win32_Battery Class,but it can not.

How can I realize it?
Any help is appreciated.Thanks.

Best Regards
Zhou ChengJun

Please describe what you have tried so far and what you’re getting back… that is, WHY you think it doesn’t work.

Peter
OSR

On Wed, Sep 15, 2010 at 11:55 AM, wrote:

> I try use WMI Win32_Battery Class,but it can not.
>

Hmmm… I tried pws gwmi win32_Battery and it can.

Mark Roddy

I can do it now.Thank you all.