0

so i was wondering why power gives 0mW for all the processes that are running in my laptop , even thought some of them needs a lot of computation, here's a screenshot of the output of powertop, thank you.the result obtained in powertop

3
  • "all"? I see 2 with a number not 0 and 1 of them with a staggering 317W. That is 1 heck of a power drain that radio device... and I'd turn that backlight off too if I was you...
    – Rinzwind
    Dec 9, 2015 at 15:41
  • yeah there are two and those are devices , that consumes a lot of power, but all the others are at 0, i don't understand why Dec 9, 2015 at 15:58
  • could be callibration. Can you try with these 2 high turned off?
    – Rinzwind
    Dec 9, 2015 at 18:39

1 Answer 1

0

perhaps you should try an alternative tool, such as powerstat, c.f. http://kernel.ubuntu.com/~cking/powerstat/

sudo apt-get install powerstat
powerstat 
4
  • does it give you the possibility to see power usage per process? Dec 9, 2015 at 16:22
  • afraid not. just overall system power. If you have Intel RAPL support it does allow one to see the power consumed by the CPU core, package and also GPU. Generally, the amount of CPU being used by a process does related to the amount of power being used, so one could use tools like "top" to see the busy CPU consumers. Dec 9, 2015 at 17:20
  • that's the problem , i need a tool that gives me power usage for a certain process, i don't care if it's powertop, i just need it to work on linux, if you have any suggestions, i'll be very grateful. Dec 9, 2015 at 18:30
  • According to lwn.net/Articles/569674, perf can read the RAPL stats from modern CPUs (Intel SandyBridge, IvyBridge, Haswell) and perhaps will give you what you need. This is not trivial and I am not sure how accurate it is. Dec 9, 2015 at 18:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .