idle meter -- was Re: Any solutions for "won't sleep" problem?

  1. In <uUpQe.1055$884.98890@news20.bellglobal.com>
    On 2005-08-28 Peter Renzland wrote:

    Is there a way to check the idle-timer that Energy-Saver uses? "pmset -g" shows the trigger limits, but how can we see the current values to debug this problem?

    I found it: http://www.macosxhints.com/article.php?story=20040330161158532

    #!/bin/sh
    # Original Author: Drew Thaler of Multisolar
    echo $((`ioreg -c IOHIDSystem | sed -e '/HIDIdleTime/ \
    !{ d' -e 't' -e '}' -e 's/.* = //g' -e 'q'` / 1000000000))

    -- Peter

Power Manager - automation and energy saving software for Mac OS X

Download Power Manager and start saving.