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:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnx9SqKA2TBUjFPKNQlyQtDhCEOh_Bt3JonkN9N0Gthyphenhyphen0xX3G5OajKGGRT3R9vdih5w1zfAX8w7GrGS5JuN54jzYrKwtV9JHmyKkg27h8Yga5bnmhWaV-EhcqbRHRNcQmxYlBKlQzlg5I/s400/Screen+Shot+2011-09-27+at+11.55.35+PM.png)
Dock Icon battery mode:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0ThlsDJhebvfZYfdzG90pg8HZsPTxKBCZYM_ICgzWIR_BAmbJTJYoXhhVdOK0h1xBqRdTnnxG47f3bEY22_s14LmvU_eRFTEmY8H8C3DSfKWCfI5-EwdjN1qeAAnVlP1_j1YwoKpViW8/s400/Screen+Shot+2011-09-27+at+11.44.55+PM.png)
Dock Icon AC mode:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdNmtOMThTa-5y5rTa0DiuL7IGIOtLvJnQUHojvGtiBaT6dgYIIewcn3JezSdQdYUNlRkIjJBKb1zJDcA98v4QK79ilzWaUJFehbdZLCrqtFHIax4LGmsA3_rHqq92Z8HdkTot0rhOWd4/s400/Screen+Shot+2011-09-27+at+11.44.03+PM.png)
Tested on Lion and Snow Leopard.