iBook battery charge level query command?

I'd like to be able to query the battery charge level, so that I can have get customized low battery warnings.
Peter Renzland wrote on :

I'd like to be able to query the battery charge level, so that I can have get customized low battery warnings. Twice in the past few days the iBook (2-USB 500Mhz) has gone into forced sleep unexpectedly. Seems like the bottom half of the battery is only about 5%, but it would be good to actually be able to monitor this.

Thanks.

-- Pete

brianc replied on :

In article _sScb.4765$PT3.644382@redacted.invalid, Peter Renzland phr0206@redacted.invalid wrote:

I'd like to be able to query the battery charge level, so that I can have get customized low battery warnings. Twice in the past few days the iBook (2-USB 500Mhz) has gone into forced sleep unexpectedly. Seems like the bottom half of the battery is only about 5%, but it would be good to actually be able to monitor this.

Thanks.

-- Pete

Check out this article at MacOSXHints:

http://www.macosxhints.com/article.php?story=20030311220217671

//brian