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 Charged, or Not Charging
Use the Win32_Battery class: