Thinkwatt: record power consumption and visualize it with gnuplot

https://github.com/mikar/thinkwatt wrote:
Thinkwatt is a bash script for use with thinkpad laptops. However, as of v0.2, it works with all kinds of laptops as long as they've got a battery attached.
Thinkwatt can
* record your power consumption,
* calculate an average of that consumption
* and visualize that data in a 2D gnuplot graphic.
options:   
    -r, --record    record power consumption and optionally create a graph from the gathered data
    -p, --plot    create a plot image from a specified data file
    -a, --average    calculate the average power consumption from a specified data file
    -q, --quiet    makes thinkwatt less chatty
    -o, --output    the output file. can be prepended by a path.
    -h, --help    show this help text
examples:
    thinkwatt -r (will record to a temp file until cancelled)
    thinkwatt -r 300 -o /foo/bar/consumption.dat (will record for 5 minutes to the specified file)
    thinkwatt -p /foo/bar/consumption.dat (will create a graph from the specified file)
Thinkwatt works with all laptops, not just Thinkpads.
If you're running thinkwatt on a Thinkpad it is still recommended to use tp_smapi as it provides more accurate results than the generic acpi.
This is an example of what the graph can look like:
It's mainly useful for retracing power consumption during certain situations (e.g. measuring the influence of certain hardware or software (kernel comes to mind), or simply reliably gather typical power consumption for certain activity profiles like surfing, working, watching movies etc.)
I guess I'll add to the script when and if time and my bash skills allow it. Suggestions for improvement are always welcome.
You can get thinkwatt from my git repository here or the AUR here.
Regards,
demian
Last edited by demian (2011-05-28 21:10:30)

akurei@joel: ~ $ LANG=C thinkwatt -r 60 /home/akurei/test
recording power consumption for the next 60 seconds
/usr/bin/thinkwatt: line 100: /tmp/thinkwatt/28606.dat: No such file or directory
mv: cannot stat `/tmp/thinkwatt/28606.dat': No such file or directory
error: file not found.
average consumption during the last 60 seconds was W
do you want to create a graphic now, too? y/n y
error: file not found.
akurei@joel: ~ $ LANG=C thinkwatt -r 60
recording power consumption for the next 60 seconds
/usr/bin/thinkwatt: line 100: /tmp/thinkwatt/29019.dat: No such file or directory
error: file not found.
average consumption during the last 60 seconds was W
do you want to create a graphic now, too? y/n y
error: file not found.
akurei@joel: ~ $ yaourt -Qi gnuplot
Name : gnuplot
Version : 4.4.3-1
URL : http://www.gnuplot.info
Licenses : custom
Groups : None
Provides : None
Depends On : readline gd wxgtk cairo libjpeg lua
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 3016.00 K
Packager : Ronald van Haren <[email protected]>
Architecture : x86_64
Build Date : Fri May 6 10:55:29 2011
Install Date : Mon May 16 17:04:26 2011
Install Reason : Explicitly installed
Install Script : Yes
Description : Plotting package which outputs to X11, PostScript, PNG, GIF, and others
akurei@joel: ~ $ yaourt -Qi tp_smapi
Name : tp_smapi
Version : 0.40-5
URL : http://tpctl.sourceforge.net/
Licenses : GPL
Groups : None
Provides : None
Depends On : mkinitcpio>=0.6.8 module-init-tools>=3.12-2
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 220.00 K
Packager : Michael Duell <[email protected]>
Architecture : x86_64
Build Date : Mon May 16 17:03:41 2011
Install Date : Mon May 16 17:03:50 2011
Install Reason : Explicitly installed
Install Script : Yes
Description : Modules for ThinkPad's SMAPI functionality
akurei@joel: ~ $ yaourt -Qi gawk
Name : gawk
Version : 3.1.8-2
URL : http://www.gnu.org/directory/GNU/gawk.html
Licenses : GPL
Groups : base
Provides : awk
Depends On : sh glibc
Optional Deps : None
Required By : autoconf syslog-ng sysvinit thinkwatt
Conflicts With : None
Replaces : None
Installed Size : 2224.00 K
Packager : St
Architecture : x86_64
Build Date : Sat Nov 20 04:00:45 2010
Install Date : Thu May 5 19:05:55 2011
Install Reason : Explicitly installed
Install Script : Yes
Description : Gnu version of awk
akurei@joel: ~ $ yaourt -Qi sed
Name : sed
Version : 4.2.1-3
URL : http://www.gnu.org/software/sed
Licenses : GPL3
Groups : base
Provides : None
Depends On : acl sh
Optional Deps : None
Required By : ca-certificates fakeroot grub mkinitcpio packer thinkwatt
Conflicts With : None
Replaces : None
Installed Size : 804.00 K
Packager : St
Architecture : x86_64
Build Date : Fri Nov 19 22:35:32 2010
Install Date : Thu May 5 19:05:55 2011
Install Reason : Explicitly installed
Install Script : Yes
Description : GNU stream editor
akurei@joel: ~ $ lsmod|grep tp_smapi
tp_smapi 20043 0
thinkpad_ec 4085 2 hdaps,tp_smapi
Last edited by akurei (2011-05-16 15:36:40)

Similar Messages

  • Power consumption and on/off status?

    Greetings!
    One: I am trying to find out what the power consumption is for the iPod Hi-Fi in watts.
    Two: Is the Hi-Fi drawing power if the Hi-Fi is plugged into the wall but the iPod is not in the dock?
    These questions are not covered in the literature nor on the website. When I called the Helpline, six different customer service and technical support staffers didn't know either answer. The Apple Store employees in San Diego also didn't know.
    A suggestions for the next generation of Hi-Fi: Make it so the unit does not draw power unless an iPod is in the dock or an auxiliary input plug is not connected.
    This would allow my Hi-Fi to be placed in a bookcase in a semi-permanent installation not requiring the need to be unplugged everytime the iPod was not in use.
    Thanks,
    Ralph
    iPod 30GB & iPod Hi-Fi

    One: I am trying to find out what the power
    consumption is for the iPod Hi-Fi in watts.
    Are you interested in the sound output, as specified by many loudspeaker makers? Or did you only want to know the drain from the mains supply, for cost or environmental reasons?
    If the latter, finding someone with a watt meter would be the easiest way. Apple do not specify the power consumption. I would guess they didn't want to get into a competition about whose loudspeaker has the most music power (since everyone lies).
    If I had to guess, I would think around 25 watts peak when running on batteries, around 80 watts peak when running on AC. That is a very rough guess based on how long batteries last (5 hours), the sound output difference between battery (102dB) and AC (108dB), and the likely efficiency of their amplifier (80%).
    Testing with a watt meter would be a much better way to come up with a figure. I gather they are cheap and readily available in the USA (scarce and expensive here).
    Two: Is the Hi-Fi drawing power if the Hi-Fi is
    plugged into the wall but the iPod is not in the
    dock?
    Yes. Any device with a soft power switch draws power when not physically unplugged. However I would imagine in that state consumption would be less than one watt. Apple would almost certainly have used the same methods they use to reduce power on sleeping computers (when there is no input signal for a while).

  • App Power Consumption and Restrict

    Settings > Power Management > App power consumption
    If there is any app listed in the UNUSED APPS section, tap into the app, there is an "Restrict" button.
    Can someone help to explain what does it do? If an app is restricted, how can I unrestrict it? Where to see a list of restricted app?
    Thanks.

    Hi,
    When an application is not in use, it can consume processing power and thereby reduce the battery consumption. As far as I know, when you press the restrict button, you will force a shutdown of the application (to make sure it's not an active app in the background e.g). It's the same thing as you can do if you go to Settings > Apps > The tab "All" > Tap an app > Force stop.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Power consumption and thermal dissipation for SG 100-24

    Hello,
    I need to know the following informations about Switch model SG 100-24
    - power consumption (watt)
    - thermal dissipation (BTU/hour)
    Please may somebody help me out on this ?
    (by the way such information is not in the Cisco documentation)
    Thank you,

    Hi Dave,
    thank you for your interest, please do not forget the thermal dissipation.
    Both power wattage and thermal information are essential for sizing a rack of many different appliances.
    Looking forward to your answer then. Thank you
    Regards, Giovanni

  • Power consumption and UPSs

    I'm trying to figure out what kind of UPS I need for my soon to arrive (2009) 2.93 8 core Mac Pro. Apple's support page seems to suggest that (for the 2.26 8 core, at least) it maxes out at 309 W? Or I guess that's not counting HDDs, but... why do I always hear numbers like 800 or 900 W when it comes do this issue? To be honest, even if I spent 500$+ on a UPS I'm still not sure that it would be okay for me to run 2 displays, monitors (speakers), a sub, etc... on the same UPS.
    http://support.apple.com/kb/ht2836
    Part of the reason I'm asking is that I'm not sure it's in my budget to invest in a single UPS for everything, since I NEED my UPS to be dead silent, which only increases the cost. I'm figuring out what it would cost me to get a UPS dedicated to my Mac Pro and nothing else, and then run other equipment off of a different one.
    Thanks!

    That links me to the APC UPS selector.
    Over the last several days I've found several options that have been recommended, so I'm down to these options:
    http://excessups.com/smartups-1500-sua1500-p-38.html - 250$
    http://www.apc.com/resource/include/techspecindex.cfm?basesku=BR1500LCD - 250$
    http://www.apc.com/resource/include/techspecindex.cfm?basesku=BX1500G ~ 180$
    I'm mostly wondering what the main difference is between the second and third options, since I cant really see anything. I have read that I shouldnt buy refurbished UPSs. Why is this?
    The Hatter: I tried looking for your recommendation and the closest thing I found was http://www.apc.com/resource/include/techspecindex.cfm?basesku=br1500i, which is way more expensive than 200$.

  • SGE2010 and SRW2008: Noise level and power consumption?

    Hello!
    I am looking for information on the actual noise level and power consuption produced by the forementioned models.
    Many thanks in advance,
    Luca

    Luca,
    Power consumption and other key hardware product attributes can be found in the following document (in the documents section of this community):
    https://www.myciscocommunity.com/docs/DOC-8669
    WRT noise levels, here they are:
    SGE2010 - 51.4 dB
    SRW2008 - N/A - there is no fan inside this switch - uses and external power supply
    Thanks,
    Ivor

  • Yoga 2 Pro, Etekcity 16Ah power bank and some additional measurements

    Hello guys, this would be my short review of Etekcity Wingman external battery I use with y2p. As you know, the y2p battery performance is a little disappointing for a Haswell ultrabook (at least for some), so it's a good idea to have some additional external battery beforehand. After some research I found the interesting candidate, the 16.000 mAh external battery manufactured somewhere in chinese factory (Shenzen?) and then being sold under many different brands (I found at least 5 of them on Amazon). I bought the Etekcity Wingman, as it was the cheapest, for 69$
    No links here, but you will find it easily. It has a classy aluminium shell, very good overall build quality, features 5V USB output and additional 12, 16 and 19V outputs with many different plugs. There is no rectangular Lenovo Yoga tip, but in the package you can find the Lenovo X1 big circular plug. So you need an additional converter Cable Adapter from Lenovo, part no. 0B47046 and voila, everything fits.
    This external battery can provide up to 19V and as you are aware, y2p needs 20V. But this is not a problem, it's only 5% difference and nothing to be worry about. As to the amperage, the battery can provide max 3A at 19V and y2p original power adapter is rated at 3.25A - but this is not a problem either, as during my actual measurements I never saw the current more than 3A (more about it later).
    16.000 mAh for li-po cells 3,7V gives about 59Wh of power capacity and this is important. The internal y2p battery is rated 54Wh, so 'theoretically' the external battery should more than double our y2p working time. Well, theoretically, because: 1. as for chinese products they almost always overrate battery specs 2. there is a limited efficiency for internal voltage conversion inside the battery electronics, so there are some losses (heat).
    So, what is the REAL capacity of this thing?
    I did a test. I depleted internal y2p battery to 20% and then I plugged in the Etekcity Wingman, set at 19V. It was able to charge the WORKING laptop for 1 hour and 25 minutes and y2p battery charged from 20% to 85% before the Wingman shut down. It was a little warm while working, but not hot at all (aluminium shell dissipates heat very good).
    What it means is that this external battery was able to provide about 2/3 (65%) of total internal y2p battery capacity and during that time the laptop was working consuming additional energy from the Wingman (70% brightness, wifi/BT on, some light browsing, nothing demanding). I am estimating that if the y2p was depleted completely and shut down, then the external battery would be able to charge it to about 80-85%. I find this result pretty good.
    So if you are able to achieve some 6.5h on internal y2p battery, this external battery gives you another 5h more, for total 11.5h working time out of the socket. Not bad.
    I have a laboratory digital power source, so I was able to do some additional interesting measurements (thanks to the cables and adapters):
    1. The Yoga 2 Pro starts charging at about 16.5V voltage level(!) Anything lower - it won't charge, higher - it will (no BIOS warnings whatsoever).
    2. The charging current for non-working laptop is about 1.6A (I did not set quick charge at Energy Manager).
    3. 70% brightness, "daily" power mode, wifi/BT on, keyboard lighting on and doing some lazy internet browsing needs about 470mA of current (averaged, idle is about 415 mA, as each wifi activity creates current jumps). For 20V it gives 9.4 Wh of power consumption and for 54Wh y2p internal battery it gives about 5h 45min of working time. Lets set this situation as a "base" level.
    4. Same as above, but power mode changed to "stable". Yellow turns mustard, but brightness intensity remains at 70%. The current goes down to about 420mA (50mA less!). It gives you additional 40 minutes for a total 6h 25min of working time.
    5. Same as above, but keyboard light is off. About 20mA of savings, + 15 min for a total 6h 40 min
    6. Same as above, airplane mode (wifi/BT off) - another 20mA of savings (not much), but there are no wifi current spikes so it's like idle mode - about 330mA of current consumption, giving about 8h 15min of working (word editing etc.)
    7. Same as above, 50% brightness (still pretty usable) - 305mA for a total 8h 50min of working time.
    8. Same as above, but with 16.000 mAh external battery - well, you figure it out (+80%)
    Happy New Year!

    20V/3.25A means that if looking for an external power bank for your y2p the voltage must be exactly 20V and the amperage must be 3.25A or more (3.25 is minimum value). These are perfect values.
    But in real world some little deviances are permissible, like 5%. 19V and 3A are examples and I made sure that my external battery rated 19V/3A works good with Yoga 2 Pro. There are more 19V external power banks than 20V models out there and I've chosen my Wingman battery because it was really cheap. But it is always better to find one that meets voltage/amperage ratings perfectly.
    The Energizer XP18000 would be a perfect choice, because it can provide 20V/3.5A. But I dont know if the Lenovo plug is inside the package. And it's expensive.
    The "big circular plug" is 7.9 x 5.4 x 0.9mm plug for some other Lenovo machines, like Carbon X1. I never found an external power bank with "rectangular" y2p plug anyway.

  • Power consumption on Thinkpad X200 / X200T

    Hello there,
    Is anyone running Arch on a X200T or X200?
    I would be interested in your power consumption and your settings to achieve that consumption.
    I get around 10 to 11W with tlp installed (takes into account all powertop recommendations), PHC reduced voltages and with completely reduced brightness.
    I find my result pretty disappointing and expected to get less than 10W. Thus I am interested in your results.
    Thanks!

    I forgot to mention that I use laptop mode tools for powersaving.
    @orschiro
    I learned that from http://batteryuniversity.com/learn/arti … _batteries
    Also if you plan on using the laptop with the charger plugged in all the time you can even make the battery charge to 50-60%. I can't find the link for it right now, but the essence of it is that when your battery is at 30 degrees C its life is shortened faster if it is charged more. If you have some spare time you will learn a lot of usefull info from that site, I highly recommend it.
    I made a little script to aid me in changing the charge thresholds. Call it with one parameter and it sets the stop charge threshold with it and start charge threshold 4 percent below it. Call it with two parameters and it sets stop and start charge thresholds respectively. Call it without parameters and it displays some usefull info(you will have to look at the source to make use of it the first time:)
    It spits out some errors if you are plugged in but it works nonetheless. If you change the tresholds while plugged in your battery will charge all the way up to 100% no matter what parameters you give it(same if you set it via /sys interface manually, it's not the script that is buggy). I know it is not the most elegant script you've seen, but I am not a programmer :)
    #!/bin/bash
    bold=`tput bold`
    normal=`tput sgr0`
    time8_raq=$(echo "scale=1;`cat /sys/devices/platform/smapi/BAT0/remaining_capacity`/8000" | bc)
    time8_raw=$(echo "scale=0;$time8_raq * 60" | bc | awk '{ if ($0 ~ /\./){ sub("0*$","",$0); sub (".$","",$0);} print}')
    time8_h=$(( $time8_raw / 60 ))
    time8_m=$(( $time8_raw % 60 ))
    time8="${time8_h}h ${time8_m}m"
    time10_raq=$(echo "scale=1;`cat /sys/devices/platform/smapi/BAT0/remaining_capacity`/10000" | bc)
    time10_raw=$(echo "scale=0;$time10_raq * 60" | bc | awk '{ if ($0 ~ /\./){ sub("0*$","",$0); sub (".$","",$0);} print}')
    time10_h=$(( $time10_raw / 60 ))
    time10_m=$(( $time10_raw % 60 ))
    time10="${time10_h}h ${time10_m}m"
    time12_raq=$(echo "scale=1;`cat /sys/devices/platform/smapi/BAT0/remaining_capacity`/12000" | bc)
    time12_raw=$(echo "scale=0;$time12_raq * 60" | bc | awk '{ if ($0 ~ /\./){ sub("0*$","",$0); sub (".$","",$0);} print}')
    time12_h=$(( $time12_raw / 60 ))
    time12_m=$(( $time12_raw % 60 ))
    time12="${time12_h}h ${time12_m}m"
    time14_raq=$(echo "scale=1;`cat /sys/devices/platform/smapi/BAT0/remaining_capacity`/14000" | bc)
    time14_raw=$(echo "scale=0;$time14_raq * 60" | bc | awk '{ if ($0 ~ /\./){ sub("0*$","",$0); sub (".$","",$0);} print}')
    time14_h=$(( $time14_raw / 60 ))
    time14_m=$(( $time14_raw % 60 ))
    time14="${time14_h}h ${time14_m}m"
    time16_raq=$(echo "scale=1;`cat /sys/devices/platform/smapi/BAT0/remaining_capacity`/16000" | bc)
    time16_raw=$(echo "scale=0;$time16_raq * 60" | bc | awk '{ if ($0 ~ /\./){ sub("0*$","",$0); sub (".$","",$0);} print}')
    time16_h=$(( $time16_raw / 60 ))
    time16_m=$(( $time16_raw % 60 ))
    time16="${time16_h}h ${time16_m}m"
    time18_raq=$(echo "scale=1;`cat /sys/devices/platform/smapi/BAT0/remaining_capacity`/18000" | bc)
    time18_raw=$(echo "scale=0;$time18_raq * 60" | bc | awk '{ if ($0 ~ /\./){ sub("0*$","",$0); sub (".$","",$0);} print}')
    time18_h=$(( $time18_raw / 60 ))
    time18_m=$(( $time18_raw % 60 ))
    time18="${time18_h}h ${time18_m}m"
    timeest_h=$(( `cat /sys/devices/platform/smapi/BAT0/remaining_running_time` / 60 ))
    timeest_m=$(( `cat /sys/devices/platform/smapi/BAT0/remaining_running_time` % 60 ))
    timeest="${timeest_h}h ${timeest_m}m"
    timeestnow_h=$(( `cat /sys/devices/platform/smapi/BAT0/remaining_running_time_now` / 60 ))
    timeestnow_m=$(( `cat /sys/devices/platform/smapi/BAT0/remaining_running_time_now` % 60 ))
    timeestnow="${timeestnow_h}h ${timeestnow_m}m"
    powerest=$(echo "scale=1;(`cat /sys/devices/platform/smapi/BAT0/remaining_capacity`/(`cat /sys/devices/platform/smapi/BAT0/remaining_running_time`/60))/1000" | bc)
    powerestnow=$(echo "scale=1;(`cat /sys/devices/platform/smapi/BAT0/remaining_capacity`/(`cat /sys/devices/platform/smapi/BAT0/remaining_running_time_now`/60))/1000" | bc)
    remaining_capacity=$(echo "scale=1;`cat /sys/devices/platform/smapi/BAT0/remaining_capacity`/1000" | bc)
    voltage=$(echo "scale=3;`cat /sys/devices/platform/smapi/BAT0/voltage`/1000" | bc)
    temperature=$(echo "scale=1;`cat /sys/devices/platform/smapi/BAT0/temperature`/1000" | bc)
    last_full_capacity=$(echo "scale=1;`cat /sys/devices/platform/smapi/BAT0/last_full_capacity`/1000" | bc)
    design_capacity=$(echo "scale=1;`cat /sys/devices/platform/smapi/BAT0/design_capacity`/1000" | bc)
    cycle_count=$(cat /sys/devices/platform/smapi/BAT0/cycle_count)
    # fanspeed
    fanraw=(`cat /proc/acpi/ibm/fan|grep speed`)
    fan=${fanraw[1]}
    if [ $# -eq 0 ]
    then
    echo ${remaining_capacity} Wh \| ${voltage} V \| ${temperature} C \| \(${last_full_capacity}\/${design_capacity}\|${cycle_count}\) \| \{`cat /sys/devices/platform/smapi/BAT0/stop_charge_thresh` `cat /sys/devices/platform/smapi/BAT0/start_charge_thresh`\} \| `cat /sys/class/backlight/acpi_video0/brightness`
    echo ${powerest}W est \| ${timeest} est \| ${powerestnow}W now \| ${timeestnow} now \| ${fan} rpm
    echo ${time8}@8W \ ${time10}@10W \ ${time12}@12W \ ${time14}@14W \ ${time16}@16W
    fi
    if [ $# -eq 1 ]
    then
    echo "$1" > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
    echo `cat /sys/devices/platform/smapi/BAT0/remaining_capacity` mW \| `cat /sys/devices/platform/smapi/BAT0/voltage` mV \| `cat /sys/devices/platform/smapi/BAT0/temperature` C \| \(`cat /sys/devices/platform/smapi/BAT0/last_full_capacity`\/`cat /sys/devices/platform/smapi/BAT0/design_capacity `\) \| \{${bold}`cat /sys/devices/platform/smapi/BAT0/stop_charge_thresh`${normal} `cat /sys/devices/platform/smapi/BAT0/start_charge_thresh`\} \| `cat /sys/class/backlight/acpi_video0/brightness`
    fi
    if [ $# -eq 2 ]
    then
    echo "$1" > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
    echo "$2" > /sys/devices/platform/smapi/BAT0/start_charge_thresh
    echo `cat /sys/devices/platform/smapi/BAT0/remaining_capacity` mW \| `cat /sys/devices/platform/smapi/BAT0/voltage` mV \| `cat /sys/devices/platform/smapi/BAT0/temperature` C \| \(`cat /sys/devices/platform/smapi/BAT0/last_full_capacity`\/`cat /sys/devices/platform/smapi/BAT0/design_capacity `\) \| \{${bold}`cat /sys/devices/platform/smapi/BAT0/stop_charge_thresh` `cat /sys/devices/platform/smapi/BAT0/start_charge_thresh`${normal}} \| `cat /sys/class/backlight/acpi_video0/brightness`
    fi
    exit 0

  • Increased Power, Load and Temperature in Linux 3.4.X

    Hi,
    After this morning upgrade, power consumption of my system has increased from 8-10W to 15-18W at idle and  15-18W to 25-35W while using flash. Their were lot of upgrade today including linux-ck. I get some innocuous boot errors and now am getting another new one.
    Dmesg log
    kernel /vmlinuz-linux-ck root=/dev/sda8 ro elevator=bfq i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1
    Linux arch 3.4.0-1-ck #1 SMP PREEMPT Sat Jun 2 09:37:08 EDT 2012 x86_64 GNU/Linux
    [donnie@arch ~]$ dmesg | grep watchdog
    [ 0.310821] NMI watchdog enabled, takes one hw-pmu counter.
    [ 7.409081] watchdog: INTCAMT: cannot register miscdev on minor=130 (err=-16).
    [ 7.409224] watchdog: error registering /dev/watchdog (err=-16).
    [ 7.409331] mei 0000:00:16.0: unable to register watchdog device.
    [donnie@arch ~]$ dmesg | grep mux
    [ 9.430857] [drm:intel_dsm_platform_mux_info] *ERROR* MUX INFO call failed
    [donnie@arch ~]$ dmesg | grep tpm
    [ 6.585003] tpm_tis 00:0a: 1.2 TPM (device-id 0x0, rev-id 78)
    [ 7.236372] tpm_tis 00:0a: A TPM error (6) occurred attempting to read a pcr value
    [ 7.236530] tpm_tis 00:0a: TPM is disabled/deactivated (0x6)
    New Error
    Update 0 Power consumption and temperature is normal on stock kernel but excessive with Linux-ck which I had been using for a while. Also updated the title so that thread gets proper attention.
    Update 6/20 Not a linux-ck problem but probably an upstream bug. Please see the bug report https://bugs.archlinux.org/task/29850#comment95791
    Last edited by donniezazen (2012-07-04 00:29:59)

    donniezazen wrote:I am not using testing repo.
    OK!  Your comparison is _NOT_ a fair one.  You are comparing 3.3.7-1-ARCH to 3.4.1-2-ck.  You must compare 3.4.1-1-ARCH to 3.4.1-2-ck or you must compare 3.3.7-1-ARCH to 3.3.7-1-ck.
    Here is a link (just for you) to the 3.3.7-1-ck kernel and headers:
    LINK PLACEHOLD -- do you need x86_64 or i686?
    donniezazen wrote:It would be devastating if Linux kernel slumps into another power regression in 3.4 series. I recently recovered from aspm coma.
    Fasten your seatbelt as I suspect your problem is not with the the linux-ck kernel but with something in the 3.4 series...
    Summary:
    1) Compare 3.4.1-1-ARCH to 3.4.1-2-ck
    or
    2) Compare 3.3.7-1-ARCH to 3.3.7-1-ck
    Please remove the 'linux-ck' from the title of your post if indeed it is not to blame.
    EDIT: why are you not using the corex version of the headers and of the kernel?  They are a matched pair.
    donniezazen wrote:repo-ck/linux-ck-corex 3.4.1-2 (ck-corex) [installed]
    repo-ck/linux-ck-headers 3.4.1-2 (ck-generic) [installed]
    Last edited by graysky (2012-06-07 00:00:18)

  • Power consumption when running window XP

    Hi guys!
    Hmm, recently i've asked a question on the other forums regarding the power consumption of my macbook pro while running window XP.
    I realised that when i run window Xp, the battery life can only last around 2 hours, while when I run mac OS X, the battery life is around 4 hours.
    However, I've got a reply at the forum and the reply cause me to be worried...
    Here's the reply...
    Power management is built into Mac OS X. So OS X constantly monitors the power consumption and energy profiles of the system while in use.
    Windows XP and Vista, on the other hand, is built off the NT kernel which was NEVER meant for mobile computing. Unlike OS X, Windows XP and Vista does not have built in powe rmanagement: it actually relies on the low level BIOS (which is almost 3 decades old as of today) to manage its power consumption and settings.
    Since the Macs do not boot using BIOS but rather, with EFI, to boot Windows, the EFI creates a BIOS emulation layer to support Windows. because this layer is emulated and the user has no control over it, Windows loses ALL forms of power management: the fans on the Mac will run at max, EIST will be disabled, wireless receptivity and hard disks will be set to consume all the energy they can grab, among many other things. Especially for hardware with moving parts like the fan and the hard disk: prepapre for premature hardware failure if left running at max performance all the time.
    So can I ask, is this true?
    Will running window XP on macbook pro causes the hardware to be spoilt more easily?
    I have another friend who runs window XP on macbook and he told me that the hardware will not be affected by it, so can I reassure myself on that?
    Thanks a lot. ^^

    Yes, Win XP is a battery hog. I have an issue with Win XP not dimming the display the way OS X does before going to sleep. Running Win XP should not harm your hardware, it just drains the battery faster. I am looking into ways of improving batter life with Win XP. For now just make sure that you have the power settings in Win XP set to laptop/portable. If you need instructions on adjusting those settings I can provide them.

  • Ipad power consumption/drain?

    I read somewhere that using the ipad's cover lock/unlock function with a compatible case actually increases power consumption and reduces battery life. Is there any truth to this as I've noticed faster battery drain since switching this feature on? I've foolowed all the power saving tips on other forums but drain still seems to have increased.
    Any ideas?
    Thanks!
    Mark.

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • Since I have upgraded from 7.1 then the power consumption increased slightly unbelievable. I have new batteries in my iphone 5 and when I had at ios 7 so was consumption that allows the battery envelope in two days and with ios 7.1 so is it only 12 hours

    Since I have upgraded from 7.1 then the power consumption increased slightly unbelievable. I have new batteries in my iphone 5 and when I had at ios 7 so was consumption that allows the battery envelope in two days and with ios 7.1 so is it only 12 hours before I need to recharge the battery.

    Wrote a little wrong the first time!
    Then I upgraded to 7.1 so have power consumption increased slightly unbelievable. I have new batteries in my iphone 5 and when I had at ios 7 so was consumption that allows the battery envelope in two days and with ios 7.1 so is it only 12 hours before I need to recharge the battery.

  • HT3775 can a .mov file be recovered if the record was accidentally shut down from loss of power? i was recording from the AJA Pro Ki when we lost power, the file is there but it wont play and comes up with the message, "The document "SC1ATK63.mov" could n

    Can a .mov file be recovered if the record was accidentally shut down from loss of power? i was recording from the AJA Pro Ki when we lost power, the file is there but it wont play and comes up with the message, "The document “SC1ATK63.mov” could not be opened. The movie is not in a format that QuickTime Player understands."

    Hi,
    Troubleshooting a start up script can be difficult. There are some third party programs that also keep logs of start up programs, however for Firefox this may be different.
    Is Firefox a startup program? [http://www.winxptutor.com/msinfo32.htm]
    Its also possible to check the Web developer tools for any scripts in a page: [https://developer.mozilla.org/en-US/docs/Tools/Debugger]
    In the control panel there is also Administrative tools to view event logs, but this may be something a local technician can walk you through.

  • Optimising power consumption of backlight and wifi

    Hi there,
    Do you have any effective measures in place to optimise power consumption of backlight and wifi?
    On my Thinkpad X200T they are by far the biggest consumers of power.
    How much does backlight and wifi consume on your laptops?

    @centos
    Well, I tried acpi_osi='!Windows 2012' acpi_backlight=legacy and got 11.9 W and 4 hours which is a record
    Interestingly when the results were 13.5 W and 15 W powertop showed
    7.66 W 33.7% Device Display backlight
    Now it shows
    11.0 W 76.8% Device Display backlight
    @orschiro
    And I also have it twice
    orschiro wrote:
    If you go to the Device stats tab, you see that the % column is labelled Usage.
    Out of curiousity, is Display Backlight displayed twice for you under Device Stats?
    With acpi_osi='!Windows 2012' acpi_backlight=legacy and 11.9 W and 4 hours
    5.52 W 76.8% Display backlight
    5.52 W 20.0% Display backlight
    Without acpi_osi='!Windows 2012' acpi_backlight=legacy and 13.5 W and approximately 3 hours
    3.83 W 33.7% Display backlight
    3.83 W 20.0% Display backlight

  • After reading and resetting everything with Keyboard I still get blank white screen. The only way I can boot to Mavericks is unplug power cord, push and hold power button while plugging power cord in. Fans at full speed.

    After reading and resetting everything with Keyboard I still get blank white screen on 2nd? page of boot. The only way I can boot to Mavericks is unplug power cord, push and hold power button while plugging power cord in. Fans run at full speed, machine boots then runs normal except the dvdrw will not . The mid 2011 IMAC had the same problem with LION. I changed hard drives, formatted, and installed a clean install of latest os x mavericks. Any help would be greatly appreciated.
    EtreCheck version: 1.9.15 (52)
    Report generated August 30, 2014 at 6:56:41 PM EDT
    Hardware Information: ?
        iMac (21.5-inch, Mid 2011) (Verified)
        iMac - model: iMac12,1
        1 2.5 GHz Intel Core i5 CPU: 4 cores
        4 GB RAM
    Video Information: ?
        AMD Radeon HD 6750M - VRAM: 512 MB
            iMac 1920 x 1080
    System Software: ?
        OS X 10.9.4 (13E28) - Uptime: 0 days 0:16:53
    Disk Information: ?
        ST3120026AS disk0 : (120.03 GB)
        S.M.A.R.T. Status: Verified
            EFI (disk0s1) <not mounted>: 209.7 MB
            Untitled (disk0s2) / [Startup]: 119.17 GB (87.12 GB free)
            Recovery HD (disk0s3) <not mounted>: 650 MB
        HL-DT-STDVDRW  GA32N 
    USB Information: ?
        Apple Inc. FaceTime HD Camera (Built-in)
        CHICONY USB NetVista Full Width Keyboard
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
        Apple Internal Memory Card Reader
    Thunderbolt Information: ?
        Apple Inc. thunderbolt_bus
    Gatekeeper: ?
        Anywhere
    Kernel Extensions: ?
        [loaded]    com.nvidia.CUDA (1.1.0) Support
        [loaded]    com.sophos.kext.sav (9.0.61 - SDK 10.7) Support
        [loaded]    com.sophos.nke.swi (9.0.53 - SDK 10.8) Support
    Startup Items: ?
        CUDA: Path: /System/Library/StartupItems/CUDA
        FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
    Launch Daemons: ?
        [loaded]    com.adobe.fpsaud.plist Support
        [running]    com.arcsoft.eservutil.plist Support
        [running]    com.bjango.istatmenusdaemon.plist Support
        [loaded]    com.oracle.java.Helper-Tool.plist Support
        [running]    com.sophos.autoupdate.plist Support
        [running]    com.sophos.configuration.plist Support
        [running]    com.sophos.intercheck.plist Support
        [running]    com.sophos.notification.plist Support
        [running]    com.sophos.scan.plist Support
        [running]    com.sophos.sxld.plist Support
        [running]    com.sophos.webd.plist Support
    Launch Agents: ?
        [running]    com.arcsoft.esinter.plist Support
        [running]    com.bjango.istatmenusagent.plist Support
        [loaded]    com.nvidia.CUDASoftwareUpdate.plist Support
        [loaded]    com.oracle.java.Java-Updater.plist Support
        [running]    com.sophos.uiserver.plist Support
    User Login Items: ?
        Macs Fan Control
        Firefox
    Internet Plug-ins: ?
        FlashPlayer-10.6: Version: 14.0.0.176 - SDK 10.6 Support
        Flash Player: Version: 14.0.0.176 - SDK 10.6 Support
        QuickTime Plugin: Version: 7.7.3
        JavaAppletPlugin: Version: Java 7 Update 67 Check version
        Default Browser: Version: 537 - SDK 10.9
    Audio Plug-ins: ?
        BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
        AirPlay: Version: 2.0 - SDK 10.9
        AppleAVBAudio: Version: 203.2 - SDK 10.9
        iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
        Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
        CUDA Preferences  Support
        Fan Control  Support
        Flash Player  Support
        Java  Support
    Time Machine: ?
        Time Machine not configured!
    Top Processes by CPU: ?
             1%    WindowServer
             1%    fontd
             0%    firefox
             0%    SystemUIServer
             0%    SophosWebIntelligence
    Top Processes by Memory: ?
        229 MB    firefox
        156 MB    SophosScanD
        152 MB    InterCheck
        131 MB    com.apple.IconServicesAgent
        115 MB    SophosAntiVirus
    Virtual Memory Information: ?
        424 MB    Free RAM
        1.53 GB    Active RAM
        1.37 GB    Inactive RAM
        699 MB    Wired RAM
        1.26 GB    Page-ins
        0 B    Page-outs

    I'd start by getting rid of the following software responsible for these extensions.
    Kernel Extensions: ?
        [loaded]    com.nvidia.CUDA (1.1.0) Support
        [loaded]    com.sophos.kext.sav (9.0.61 - SDK 10.7) Support
        [loaded]    com.sophos.nke.swi (9.0.53 - SDK 10.8) Support
    Startup Items: ?
        CUDA: Path: /System/Library/StartupItems/CUDA
        FanControlDaemon: Path: /Library/StartupItems/FanControlDaemon
    Use the uninstaller provided with the Sophos software. You can uninstall CUDA via the preference pane. Be sure you remove the com.nvidia.CUDA extension which is located in the /System/Library/Extensions/ folder. Not sure if Fan Control has an uninstaller so you will have to do it manually:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, EasyFind, instead.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Here is a selection:
        1. AppZapper
        2. AppDelete
        3. Automaton
        4. Hazel
        5. AppCleaner
        6. CleanApp
        7. iTrash
        8. Amnesia
        9. Uninstaller
      10. Spring Cleaning
    For more information visit The XLab FAQs and read the FAQ on removing software.
    Be sure to remove your two Login Items. Finally do this:
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Lion, Mountain Lion, or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.

Maybe you are looking for

  • Linux install server and solaris 10

    Hi, I am trying to learn Solaris as a student. I bought a SPARC (Netra T105 UltrasparcII) server on ebay which requires a network install as there is no cd-rom, or keyboard. I only have a linux box (like I said, I'm a stingy student) to use as an ins

  • Boot Camp Installation - Grey screen before installing Windows

    So I just got a new iMac and I am trying to install BC. I went through all the steps (making a FAT USB drive, buying a copy of windows, partitioning 150GB for windows).  Then I clicked the Start Installation and the computer rebooted. However, I have

  • Recognizes Discs, but not after burning

    Whenever I put a blank CD into my MBP (core duo) it recognizes it and asks what to do, and is able to burn it. However if I put an already burned MP3 in the drive, it doesn't do anything - I can't even eject it, I have to go into terminal and type "d

  • Watching AppleTV purchase on my iPad3?

    Purchased an entire season of a TV series on my Apple TV and now want to watch it on my iPad3.  My AppleTV is not showing up in my iTunes and neither is the TV series.  I'm really in the dark as to how to go about doing this...any assistance would be

  • Run Jobs One After Another

    I know this is possible, I'm not sure how to go about it using Oracle's Scheduler. I simply want to create a special "queue" that I can submit jobs to which will run one after another. After they run, then then are gone. There many be no jobs at anyo