Well, the good news is I managed to sniff the communication between my Mac and the UPS and reversed engineered all I needed to build my own Power Manager Application. If you need it for your mac feel free to download and please consider a donation.
The software will show the status of the UPS, consuming power by month and by day, and will automatically shutdown the computer in case of a power failure and the UPS's battery is in critical level.
The communication with the UPS is through cua port. I've accomplished that through native call to "/bin/cat" capturing it's output.
From that on I just read the unsignedBytes and parse the information.
Simple uh?
Screenshot:
Dock Icon battery mode:
Dock Icon AC mode:
Tested on Lion and Snow Leopard.
2 comments:
awesome!!!!! just what I needed!! te amo! :}
Your style is very unique in comparison to other folks
I've read stuff from. I appreciate you for posting when you've got the opportunity,
Guess I will just bookmark this site.
my web-site; buying views on youtube
Post a Comment