As you surmised in your comment the limitation is not with the software but with your battery not reporting correctly.
To clarify these software tools below will only measure power consumption on laptops when running on battery. For desktop or server machines the only current solution is an electronic watt-meter that plugs into the mains socket.
#Power Statistics
In Ubuntu Precise 12.04 there is a new power statistics history window. This can be accessed by clicking the battery item in the application indicator menu then selecting Latop Battery tab.
#Powertop
As mentioned by the OP this program provides information on per process/device power usage.
#Powerstat
Another alternative that measures process/device power usage is powerstat that was written for Ubuntu by Colin King. There is a detailed review of its features on hecticgeek.com.
It can be installed from the PPA: ppa:colin-king/powermanagement

Help monitoring CPU/GPU power consumption
How do you monitor power consumption?
c - How to get CPU cores' energy consumption in Linux kernel? - Stack Overflow
Linux power draw ON DESKTOP
How to check CPU power consumption in Linux?
How to check how many CPU cores you have in Linux?
How to find CPU utilization in OS?
Videos
Hi community,
I've been trying to read power consumption of my CPU/GPU for the past few days.
PC specs:
CPU: Ryzen 5 3600
GPU: Radeon RX570 4G
Motherboard: Gigabyte Aorus Elite v2 rev1.0 B450.
OS: Arch btw, kernel: linux-lts
I've managed to change cpu governor and core frequencies using cpupower and cpupower-gui, but im not able to read CPU power consumption. I've tried all apps mentioned on the Ryzen Archwiki, most of them managed to run but didn't show any useful info/functions.
With GPU its a bit different: I've managed to manually set GPU power profiles ( AMDGPU Archwiki ) and read frequencies and power consumptiom with lm_sensors but my GPU power consumption on idle is around 30W on powersave mode compared to 6-10W in Windows as read in CPUID HWMonitor and MSI Afterburner. What may cause such a big difference? Are there any apps to monitor both CPU and GPU or just GPU and set different power modes? How to decrease GPU power consumption on idle?
output of lspci -v for GPU:
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev ef) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd Radeon RX 570 Gaming 4G
Flags: bus master, fast devsel, latency 0, IRQ 71, IOMMU group 16
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at e0000000 (64-bit, prefetchable) [size=2M]
I/O ports at e000 [size=256]
Memory at fce00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Capabilities: [200] Physical Resizable BAR
Capabilities: [270] Secondary PCI Express
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] Page Request Interface (PRI)
Capabilities: [2d0] Process Address Space ID (PASID)
Capabilities: [320] Latency Tolerance Reporting
Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
Capabilities: [370] L1 PM Substates
Kernel driver in use: amdgpu
Kernel modules: amdgpuAs you surmised in your comment the limitation is not with the software but with your battery not reporting correctly.
To clarify these software tools below will only measure power consumption on laptops when running on battery. For desktop or server machines the only current solution is an electronic watt-meter that plugs into the mains socket.
#Power Statistics
In Ubuntu Precise 12.04 there is a new power statistics history window. This can be accessed by clicking the battery item in the application indicator menu then selecting Latop Battery tab.
#Powertop
As mentioned by the OP this program provides information on per process/device power usage.
#Powerstat
Another alternative that measures process/device power usage is powerstat that was written for Ubuntu by Colin King. There is a detailed review of its features on hecticgeek.com.
It can be installed from the PPA: ppa:colin-king/powermanagement

Have a look at s-tui: https://amanusk.github.io/s-tui/. Runs in the terminal, shows you the parameters pertinent to the CPU.
Since power usage (at least cpu-wise) is fairly easy to monitor in windows (hwinfo). Is there is a cli equivalent for linux?