This is a possible solution but this kind of power meter measure only the current through an Hall sensor from what I can see(Eco-eye Elite 200). I think you put manually the voltage hence any voltage variation will not be taking in account.
Ex: Nominal voltage is 230V an you read a consumption of 1A so the power is 230W but if the delivered voltage is only 220V (a +- 10% variation is totally normal) you will consume 220W but the reading will still be 230W. I think it's not good enough to make tests.
Michael Larabel
http://www.michaellarabel.com/
Michael Larabel
http://www.michaellarabel.com/
I have a Voltcraft Energy Logger with an SD card where the data for up to ten devices can be logged. The log format needs a Windows program to be deciphered though. However there's some documentation floating around in the web that can enable you to roll your own Linux-based decoder.
Hardly so. The cable work is a trivial 30min job max. The meters are natively supported under Linux, it will create a tty device and you can rewrite the data-decoding perl script from the linked site to php easily. I think frederir's is a very valid solution that will also provide you with guaranteed precision, which is something you really need and probably can't get from an UPS in this price range.
if you want to do ocr on lcd 7 segments there is ssocr
http://www.unix-ag.uni-kl.de/~auerswal/ssocr/index.html
Well, if I was not in a remote country without reliable post-office I would set up the system and send it to you. But I disagree on the low ROI. Once you have the system up and running you can use it not only to troubleshot this particular problem, but also make measurement on the other systems and test power efficiency in your reports.
Using DMM has the added advantage you can also use it to test DC power and isolate sub-systems (Processor power consumption from the 4pins 12V, or graphic card with external power) It would be more accurate than simply measure the total power consumption of the system.
But thank you for the good work you are making by giving us reliable benchmark; you can only optimize what you can measure!
With ThinkPads and the "tp_smapi" kernel module you can discharge the battery even with AC connected by writing a "1" to "/sys/devices/platform/smapi/BAT0/force_discharge" (switching back to AC can be done by writing a 0 or automatically when the battery is empty). So your laptop won't power off when you got the AC adapter inserted and the discharging forced.with still needing to monitor them for manually toggling the AC power / battery
This way you could at least automate the "charge/build new kernel/wait until battery has reached >50%/reboot - switch to battery - measure - switch to AC" cycle with accurate (and easy!) measuring.
More info (with hardware compatibility matrix) is here: http://www.thinkwiki.org/wiki/Tp_smapi
Last edited by jannis; 06-03-2011 at 07:30 AM.