Thomas Chai
07-11-2003, 05:22 AM
In article <slrnat319v.49.fafa[at]BADBRAIN.mofo.net>,
User & <fafa[at]BADBRAIN.mofo.net> wrote:
> In article <d0e71a7d.0211120555.2af5fe3[at]posting.google.com>, AlanU wrote:
> > Is there a UNIX command which returns information about the battery
> > status of a powerbook running OS X?
> >
> > This would form a useful starting point for a program that
> > automatically dims the screen when the computer is running on
> > batteries. given the relatively poor battery life on OS X this might
> > be of interest to others as well as myself.
> >
> > Thanks
>
> Seeing that it is based on FreeBSD 4.4, the command apm might work. I
> haven't used OSX yet (867MHz PB on backorder...) so I can't tell if it
> is installed by default. If not, you might be able to install it your-
> self. Good luck.
Check this website for a unix script to check battery status on Mac OS X
:-
http://www.macosxhints.com/article.php?story=20030311220217671&query=batt
ery
Alternately you can download an app call XBattery from
http://www.kezer.net/xbattery.html
Hope this help
--
Thomas Chai
thomas[at]terminaljunkie.com
http://www.terminaljunkie.com
=====================================
Knowing is not enough; we must apply.
Willing is not enough; we must do
- Bruce Lee
=====================================
User & <fafa[at]BADBRAIN.mofo.net> wrote:
> In article <d0e71a7d.0211120555.2af5fe3[at]posting.google.com>, AlanU wrote:
> > Is there a UNIX command which returns information about the battery
> > status of a powerbook running OS X?
> >
> > This would form a useful starting point for a program that
> > automatically dims the screen when the computer is running on
> > batteries. given the relatively poor battery life on OS X this might
> > be of interest to others as well as myself.
> >
> > Thanks
>
> Seeing that it is based on FreeBSD 4.4, the command apm might work. I
> haven't used OSX yet (867MHz PB on backorder...) so I can't tell if it
> is installed by default. If not, you might be able to install it your-
> self. Good luck.
Check this website for a unix script to check battery status on Mac OS X
:-
http://www.macosxhints.com/article.php?story=20030311220217671&query=batt
ery
Alternately you can download an app call XBattery from
http://www.kezer.net/xbattery.html
Hope this help
--
Thomas Chai
thomas[at]terminaljunkie.com
http://www.terminaljunkie.com
=====================================
Knowing is not enough; we must apply.
Willing is not enough; we must do
- Bruce Lee
=====================================