Re: Battery or AC?
Re: Battery or AC?
- Subject: Re: Battery or AC?
- From: Axel Luttgens <email@hidden>
- Date: Fri, 03 Nov 2006 16:06:46 +0100
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.
Just guessing Axel :-)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden