Monitor pc power consumption
Recommended software to measure total pc power consumption?
Monitoring the total wattage from apps, if there's any?
Is there a way to tell how much power pc uses/needs
How much electricity does an average PC use per year?
How does WattSeal measure power consumption per application?
Will WattSeal itself use significant power or slow my PC down?
Videos
Is there a way to take in account how much watts my pc consumes in a month and store them in a log file or a excell that i can look into? I am on windows 10/11, i know a software called hw monitor that displays a rough amount of instant power consumption but i don't know if i can store it in files automatically. Would be quite useful as i have 5 pc running 24/7 and i wanted to start taking in account how much electricity they consume, even if it is a rough estimate, without using external wattmeters.
Code (in C):
#include <stdio.h>
#include <windows.h>
#include <powrprof.h>
#pragma comment(lib, "powrprof.lib")
int main(void)
{
SYSTEM_BATTERY_STATE sbs = {0};
CallNtPowerInformation(SystemBatteryState, NULL, 0, &sbs, sizeof(sbs));
printf("Charge rate: %.1f W\n", (int)sbs.Rate / 1000.0);
return 0;
}
Executable (base64; 1 KiB):
TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABX6uPGE4uNlROLjZUTi42V0ISClRKLjZUTi4yVEYuNldCE0JUWi42V0ITulRKLjZXQhNeVEouNlVJpY2gTi42VAAAAAAAAAABQRQAATAEBADJq1E4AAAAAAAAAAOAADwELAQcKAAIAAAAAAAAAAAAAMBAAAAAQAAAAIAAAAABAAAAQAAAAAgAABAAAAAAAAAAEAAAAAAAAAAAgAAAAAgAAAAAAAAMAAAQAABAAABAAAAAAEAAAEAAAAAAAABAAAAAAAAAAAAAAAAARAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAAigEAAAAQAAAAAgAAAAIAAAAAAAAAAAAAAAAAACAAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABiEQAAAAAAAEwRAAAAAAAA/Knx0k1iUD8AAAAAAAAAAP8lABBAAMzMzMzMzMzMzMyD7DiycohUJAOIVCQHM9KJVCQZiVQkHYlUJCG4IAAAAFCJVCQpsWWIRCQKiEQkEIhEJBWJVCQtjUQkHFCITCQNiEwkEjPJiVQkNVGJVCQ9UWaJVCRFagXGRCQUQ8ZEJBVoxkQkFmHGRCQYZ8ZEJBxhxkQkHXTGRCQfOsZEJCElxkQkIi7GRCQjMcZEJCRmxkQkJlfGRCQnCohMJCiITCQsiFQkS+hH////20QkKIPsCI1MJAjcDRAQQADdHCRR/xUIEEAAM8CDxETDzMzMzMzM
RBEAAAAAAAAAAAAAVhEAAAgQAAA8EQAAAAAAAAAAAAB8EQAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYhEAAAAAAABMEQAAAAAAAPECcHJpbnRmAABtc3ZjcnQuZGxsAAAAAENhbGxOdFBvd2VySW5mb3JtYXRpb24AAFBPV1JQUk9GLmRsbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
which can be decoded with online tools, e.g. this one.
Output:
Charge rate: -18.0 W
Of course, it's only querying the battery for the information, so its accuracy is entirely dependent on the battery's. :)
Update: April 2026
❌ Joulmeter is no longer available, it has been deprecated and removed by Microsoft.
Note: It is possible to download the app from some third-party mirror sites, however opening the app and attempting to perform an initial calibration will cause the app to crash as it relies on cloud assets that are no longer reachable.

Original Answer: November 2011
At last, I have found a solution! Microsoft has a free Research Labs program called Joulemeter which estimates power usage of the overall system and various components:
Joulemeter is a software tool that estimates the power consumption of your computer. It tracks computer resources, such as CPU utilization and screen brightness, and estimates power usage.
On laptops it uses internal power-measuring circuitry which I presume is present in most computers. For desktop computers, it can make estimates or use an external power measuring device to calibrate itself.
Unfortunately, I ran into some errors with the automatic calibration on my laptop (possibly related to the fact that HP batteries don't provide as much battery usage data as other laptops do), but was able to calibrate it manually.
I just found this and haven't had much time to play with it yet, but it looks like it'll do the job!