Table of Contents

@TaG: PoweR

POWERTOP

2.0 is out , I add to add a -l and it works on debian amd64 but it does not display watts ?

powertop_2.0-0~rzr1_amd64.deb

LenovO:

for d in /sys/class/power_supply/*; do echo $d; cat $d/uevent; done

/sys/class/power_supply/ACAD
POWER_SUPPLY_NAME=ACAD
POWER_SUPPLY_ONLINE=1

/sys/class/power_supply/BAT1
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11100000
POWER_SUPPLY_VOLTAGE_NOW=12230000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=39960000
POWER_SUPPLY_ENERGY_FULL=39940000
POWER_SUPPLY_ENERGY_NOW=39940000                                                                                                                                                                
POWER_SUPPLY_MODEL_NAME=PABAS024                                                                                                                                                                
POWER_SUPPLY_MANUFACTURER=LG                                                                                                                                                                    
POWER_SUPPLY_SERIAL_NUMBER=3658Q   

LENOVO G470

sudo aptitude install powerstat
sudo powerstat 
Machine is NOT running on battery and hence we cannot measure power usage.
Running for 300 seconds (30 samples at 10 second intervals).
ACPI battery power measurements will start in 180 seconds time

  Time    User  Nice   Sys  Idle    IO  Run Ctxt/s  IRQ/s Fork Exec Exit  Watts
11:56:04   3.3   0.0   2.5  72.3  21.8    1   4827   1364   11    6   10  10.19
11:56:14   3.0   0.0   2.3  71.1  23.6    1   4646   1255   20    6   11  10.26
11:56:24   1.7   0.0   2.2  74.1  22.0    1   3085    916   10    6   10  10.17
^C-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
 Average   2.7   0.0   2.3  72.5  22.5  1.0 4185.9 1178.3 13.7  6.0 10.3  10.21
  StdDev   0.7   0.0   0.1   1.3   0.8  0.0  782.0  191.1  4.5  0.0  0.5   0.04
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
 Minimum   1.7   0.0   2.2  71.1  21.8  1.0 3084.9  915.6 10.0  6.0 10.0  10.17
 Maximum   3.3   0.0   2.5  74.1  23.6  1.0 4826.8 1364.4 20.0  6.0 11.0  10.26
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
Summary:
 10.21 Watts on Average with Standard Deviation 0.04  

MISC

MORE

consumption.txt · Last modified: 2020/09/08 20:41 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki