How to get Battery charging status in WPF?

Let’s learn how to get Battery charging status in WPF. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

How to get Battery charging status from WPF applicatioin using WMI?

I'm trying to get charging percent, and exactly the same text that is Windows showing - Not Charging, Full Charged, Charging I'm using wmi-query. I don't want to hard-code that texts, because it's working differently every time. Sometimes it's showing 95 percent- Not Charging, or can be Charging. Is there any way to get that result text? What I can do, just to check if it is 100 percent charged, to display Full Charged. But for 96 percent, it is working differently, sometimes Windows display...

Answer:

Use the Win32_Battery class: static string GetBatteryStatus() { ManagementScope scope = new ManagementScope...

Read more

User1234 at Stack Overflow Mark as irrelevant Undo

Other solutions

Answer:

don't think you can, which sucks i know :) or if you can do it.. i haven't figured it out yet! the only...

Read more

anonymous for now at Answerbag.com Mark as irrelevant Undo

Dell laptop - No battery detected problem.?

My laptop is around 7 months old. The battery has, up until recently, been working fine with around an hour and a half battery life when not plugged into the AC. I turned it on one day and the battery was completely run down and refusing to charge. However...

Answer:

1. power down laptop 2. unplug ac power cord 3. remove battery 4.press and hold power button for two...

Read more

Malika at Yahoo! Answers Mark as irrelevant Undo

PSP Go Charging problem Will it void warrenty if I open back and replace battery?

I bought a psp go in January and love it and use it allot, a few weeks ago I switched it on to play like normal but discovered there was no sound. I checked the volume was up and that sound wasn't switched off but it wasn't, I plugged in head phones...

Answer:

ok well what i would is send it to sony because u cant replace the battery by your self unless u want...

Read more

teddybea... at Yahoo! Answers Mark as irrelevant Undo

Blackberry 9300 mysterious battery drain?

I own the BB Curve 3G 9300 for about a year and not had a problem with it until about 2 weeks ago. My battery will mysteriously drain without any warning, prompts and the battery level does not seem to be projected correctly on the battery power status...

Answer:

Sell it on craigslist, buy an iphone or a galaxy. You'll be able to do alot more, alot faster.

Read more

alwaysle... at Yahoo! Answers Mark as irrelevant Undo

How do I fix my battery for my 13" Macbook?

I have a 13" Mac-book and i have had it for about one and a half years. This is its info: Mac OS X Version 10.5.6 2.2 GHz Intel Core 2 Duo 2 GB 667 MHz DDR2 SDRAM I have just returned to my mac-book after about 9 weeks of it not being used, and...

Answer:

Might be the charging circuit in your laptop that has broke, can you get a battery from anyone to try...

Read more

gilad at Yahoo! Answers Mark as irrelevant Undo

Problem With Charging My PSP?

Whenever I plug my 5V AC adapter into my PSP 1000, the orange light flickers on (indicating that it is allegedly charging), and I can turn my PSP on. However, the problem is this: no matter how much I charge my PSP, as soon as I disconnect the AC adapter...

Answer:

Maybe change the battery into a new one?

Read more

Yahoo! Answers Mark as irrelevant Undo

My computer says "plugged in, not charging" EVEN MORE URGENT!!?

Help! It keeps saying this and now it is 14% now and I WANT to play on my computer, but if it reaches 0% I doubt I would play on it anymore, do I need to get a new battery or something I checked the whole computer status and it said the computer is fine...

Answer:

I had the option on my dell to turn off charging while it was plugged in. This option preserves battery...

Read more

CloneTro... at Yahoo! Answers Mark as irrelevant Undo

95 sts electrical issues

Hi Rob, There is obviously something I wrote wrong.... your comment"I don't understand where you came up with my contempt for the 1995 Northstar, but while you mention it, I have contempt for engineers that designed the Northstar and all other...

Answer:

Hello, You are more than welcome, but keeping up with these year changes want my mind to explode! ...

Read more

Miningco.com Mark as irrelevant Undo

Is it bad to constantly charge your laptop?

i have an hp pavillion dv4-1125nr, which has a 6 cell lithium ion battery. i always leave the charger in my laptop because the charge never really lasted long since i've gotten the computer and i'm too lazy to take it out when it says its done fully...

Answer:

As Mercuri says, the battery stops charging when it's fully charged. An older battery will lose charge...

Read more

lalalala at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.