Battery Health WMI Reader is a C# console application that displays various battery statistics for a machine running Windows. It uses Windows Management Instrumentation (WMI) to gather battery-related data such as full charged capacity, designed capacity, cycle count, and other battery status indicators. Additionally, it provides information on the motherboard details including the product, manufacturer, and serial number.
Tested on Surface Studio and Surface Laptop devices I own.
- Windows Operating System with .NET 8 runtime
- Clone the repository to your local machine.
- Compile the program using a C# compiler or open it in Visual Studio.
- Run the executable in a command prompt.
- Follow the on-screen instructions to view battery and motherboard information.
- Press any key to refresh the data or Ctrl+C to exit the program.
Contributions to improve Battery Health Reader are welcome. Please feel free to fork the repository, make your changes, and/or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.