User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2
On 3/11/06 15:27, kai wrote:
On 3 Nov 2006, at 14:01, Mark J. Reed wrote:
I'm confused, kai.
Looking at the results you're getting, I'm not too surprised, Mark.
Clearly there's a difference between the results returned from our
respective machines - which means that my suggestion can't be
considered as a general approach.
[...]
I'm not sure, but I think to remember that pmset's output has been
enhanced with 10.4.
Could it be that Mark is on Panther and you on Tiger?
Back to the drawing board, I guess. I wonder if the profiles, etc.
are available elsewhere on your machine...
Perhaps the "Flags" info available from ioreg may be of some relevance
for Mark's purpose:
ioreg -w 0 -n battery | grep -A 3 '+-o battery'
In my case, and at this precise moment, Flags has value 1090519045 on
AC, and 4 when running on battery.