Re: Battery or AC?
Re: Battery or AC?
- Subject: Re: Battery or AC?
- From: "J. Stewart" <email@hidden>
- Date: Fri, 3 Nov 2006 16:34:33 -0500
On 11/3/06 at -0600 Luther Fuller said this
>Is there a shell script command that will detect if an UPS is
>connected via USB?
It would seem so, "pmset -g" gives
Active Profiles:
UPS Power -1
AC Power -1*
Currently in use:
womp 1
powerbutton 1
sleep 30
acwake 0
autorestart 0
ring 0
reduce 0
disksleep 120
displaysleep 15
dps 1
I'm using 10.4.7 and have a Belkin 1100VA UPS attached.
JBS
--
I feel like I'm diagonally parked in a parallel universe.
_______________________________________________
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