Professional Web Applications Themes

UNIX command for battery status - Mac Portable

In article <slrnat319v.49.fafaBADBRAIN.mofo.net>, User & <fafaBADBRAIN.mofo.net> wrote: > In article <d0e71a7d.0211120555.2af5fe3posting.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 ...

  1. #1

    Default Re: UNIX command for battery status

    In article <slrnat319v.49.fafaBADBRAIN.mofo.net>,
    User & <fafaBADBRAIN.mofo.net> wrote:
    > In article <d0e71a7d.0211120555.2af5fe3posting.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]thomasterminaljunkie.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

  2. #2

    Default Re: UNIX command for battery status

    In article <thomas-A16D78.12221911072003news.tm.net.my>,
    Thomas Chai <thomasterminaljunkie.com> wrote:
    > In article <slrnat319v.49.fafaBADBRAIN.mofo.net>,
    > User & <fafaBADBRAIN.mofo.net> wrote:
    >
    > > In article <d0e71a7d.0211120555.2af5fe3posting.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
    I didn't see the original post in the thread, so please excuse my
    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

Similar Threads

  1. Question how to take backup ip pinging status in command prompt
    By 9742902606 in forum Brainstorming Area
    Replies: 0
    Last Post: August 28th, 04:55 AM
  2. I need help on a command for my Unix class---PLEASE ! ?
    By 1328 in forum Linux / Unix Administration
    Replies: 6
    Last Post: November 25th, 06:57 PM
  3. Portable unix du command
    By Dan Muey in forum PERL Beginners
    Replies: 8
    Last Post: November 19th, 07:40 AM
  4. what is different between SIZE and RES of unix command top?
    By Jaguk Ku in forum Linux / Unix Administration
    Replies: 1
    Last Post: November 11th, 03:03 PM
  5. HELP NEEDED WITH UNIX COMMAND MAN
    By Lakshmi Jagarlapudi in forum Linux / Unix Administration
    Replies: 4
    Last Post: September 7th, 07:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139