MightyMonitor


ALERT for Leopard users. I have reports that the widget has some problems in some instances when used in Leopard. I do not have Leopard yet, but have attempted to address the issues. One reported issue is that when displaying the keyboard only, part of the background graphic disappears. The other reported problem is that sometimes the keyboard does not display the battery status properly until the dashboard has entered twice (doesn't work on the first time). I believe I may have fixed those issues, but cannot test them myself as I do not have Leopard yet. The changes were very minor. If you are using Leopard and experiencing any of these issues, try 1.3 and see if that solves them.

This is the home page for MightyMonitor. Mighty Monitor is a Dashboard Widget for Mac OS X that displays the battery status for the Apple Wireless Keyboard and the Wireless Mighty Mouse. I kept hoping someone would develop something like this, and alas I got tired of waiting. This works on my system -- it may not on yours. It is pretty simple code. It runs the following from the command line to get the battery status:

For the keyboard:
% ioreg -n "IOAppleBluetoothHIDDriver" | grep -i "batterypercent" | sed 's/[^[:digit:]]//g'

For the Mouse:
% ioreg -n "AppleBluetoothHIDMouse" | grep -i "batterypercent" | sed 's/[^[:digit:]]//g'

To download the widget, click on the link at the bottom of the page. Version 1.2 adds support for the old-style Apple Wireless Mouse (non-mighty).

My email address is at the bottom of the page, and on the back side of the widget. Feel free to drop me a line. As you can see by how pretty this web page is, I just threw this up there so others could benefit from the widget. Ugly web page, I know, but hopefully the widget won't be ugly :D

This is text that Apple wants included on this page:

"Mac OS X 10.4.3 Tiger is required. If you're using Safari, click the download link. When the widget download is complete, Show Dashboard, click the Plus sign to display the Widget Bar and click the widget's icon in the Widget Bar to open it. If you're using a browser other than Safari, click the download link. When the widget download is complete, unarchive it and place it in /Library/Widgets/ in your home folder. Show Dashboard, click the Plus sign to display the Widget Bar and click the widget's icon in the Widget Bar to open it."

I think it is actually easier than what Apple describes. Just download to your desktop, unzip the file, and double click on it. OS X will ask you if you want to install it on the dashboard or not, and you click yes and you're done :)


Mighty Monitor 1.2 [DOWNLOAD]
Mighty Monitor 1.3 for Leopard [DOWNLOAD]

copyright © 2007, Jack Starmer