Can any help me to write a WMI Provider for Battery using C#.net 4.0?
There is an old C# example here. Maybe you can use that as a starting point.