Do CPUs or GPUs provide fine grained energy consumption data?

by 2080   Last Updated July 12, 2019 15:01 PM - source

I want to determine the amount of Watt-seconds my computer uses, as accurately as possible. Do desktop, laptop or smartphone computers monitor this and provide any means to access this information?

So far I'm only aware of battery monitoring on mobile devices, e.g.

$ upower -i $(upower -e | grep BAT)
  native-path:          BAT0
  power supply:         yes
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              15,36 Wh
    energy-empty:        0 Wh
    energy-full:         41,68 Wh
    energy-full-design:  45 Wh
    energy-rate:         11,83 W
    voltage:             11,067 V
    time to empty:       1,3 hours
    percentage:          36%
    capacity:            92,6222%
    technology:          lithium-polymer
    icon-name:          'battery-good-symbolic'
  History (charge):
    1562942608  36,000  discharging
  History (rate):
    1562942608  11,830  discharging

on Linux.



Related Questions


How do I load test large UPSs?

Updated June 28, 2019 22:01 PM

PC restarts on power outtage despite having a UPS

Updated March 30, 2016 08:00 AM



Xperia Z5 can be charged but cant be turned on

Updated October 21, 2017 22:01 PM