Ask a Question related to Mac Portable, Design and Development.
-
Thomas Chai #1
Re: UNIX command for battery status
In article <slrnat319v.49.fafa@BADBRAIN.mofo.net>,
User & <fafa@BADBRAIN.mofo.net> wrote:
> In article <d0e71a7d.0211120555.2af5fe3@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
:-
[url]http://www.macosxhints.com/article.php?story=20030311220217671&query=batt[/url]
ery
Alternately you can download an app call XBattery from
[url]http://www.kezer.net/xbattery.html[/url]
Hope this help
--
Thomas Chai
[email]thomas@terminaljunkie.com[/email]
[url]http://www.terminaljunkie.com[/url]
=====================================
Knowing is not enough; we must apply.
Willing is not enough; we must do
- Bruce Lee
=====================================
Thomas Chai Guest
-
I need help on a command for my Unix class---PLEASE ! ?
I've got a file that contains one line of text. The line looks like this: 34 That's all. When I try to echo the results in a sentence,... -
Portable unix du command
Howdy group. I have a need to get the size of a directory. I could just execute unix's du command (my $sz = `du -sh /usr`;) but was wondering if... -
[Q] Looking for the Ruby equivalent of this Unix command...
Is this: File.syscopy(fromName, toName) the equivalent of this: $ cp -p fromName toName ? -
what is different between SIZE and RES of unix command top?
Hi there, i saw the man page for top command SIZE : the total size of the process(text, data, and stack) RES : the current amount of resident... -
HELP NEEDED WITH UNIX COMMAND MAN
HI Hey i have a quick question. How do we redirect the output of the man command to file which does not have junk or control charaters. i think... -
John Johnson #2
Re: UNIX command for battery status
In article <thomas-A16D78.12221911072003@news.tm.net.my>,
Thomas Chai <thomas@terminaljunkie.com> wrote:
I didn't see the original post in the thread, so please excuse my> In article <slrnat319v.49.fafa@BADBRAIN.mofo.net>,
> User & <fafa@BADBRAIN.mofo.net> wrote:
>> > In article <d0e71a7d.0211120555.2af5fe3@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
jumping in late.
I recently bought a new battery for my Pismo (400MHz, 20GB, 392MB RAM,
OS X 10.2.6) and have found battery life to be as good as when I
originally got it (400MHz, 6GB, 128MB RAM, OS 9.1). With my new battery
(same capacity as the original), I get around 4 or 4.5 hours of use out
of it, without using any particularly draconian energy-management
techniques. This is just my experience, but it appears that the latest
versions of OS X are really quite good at power conservation.
That said, an automatic screen-dimming app is interesting. It would be
more useful for me if my screen were bright enough to warrant dimming
the screen...
--
later.
johajohn AT indianahoosiers DOT edu
Remove the adjective to reply. Indiana is a noun.
John Johnson Guest



Reply With Quote

