I'm adding some features to Open hardware Monitor. I have found a cool class for C# to read the battery info.
I need three (and maybe more in the future):
Battery temperature
Battery voltage
battery Life remaining.
Now I have found some classes for C# with this information. But how can I use those classes. I will use the battery class from Microsoft. (http://msdn.microsoft.com/en-us/library/microsoft.spot.hardware.battery(v=vs.102).aspx).
I does not get the class to work when I call it (can't call it).
Or if you guys have some C# api with battery info that I can use please let me know.