Small linux CLI tool to output power usage of Intel Graphics
Right now, the i915 graphics driver is used for many Intel GPUs. Sadly, hardware monitoring isn't yet fully implemented, leaving out important data like power usage.
This tool reads the "accumulated energy" sensor repeatedly and artificially calculates the current power usage. This data is presented in a graph using tui-rs.
Tested to work with my Intel Arc A770. Should work for integrated graphics as well.