I'm developing an app which needs to know about the energy consumption on computers (On windows). I realized the OS has no functionalities to support this directly, so my workaround is collecting info about all the hardware devices and aggregate the amount of energy they consume, I found databases like eXtreme Power Supply Calculator but they don't have any APIs that I could use. Do you have any suggestion of how to accomplish this? any open source software?
Because my app is supposed to mainly run on laptops I was thinking of having a rough estimate based on laptop model but I could not find a database holding such a info, any ideas? Thanks