Re: Monitoring Battery...

2008-02-25 Thread Owain Ainsworth
t; > > On Mon, Feb 25, 2008 at 5:45 PM, Antoine Jacoutot <[EMAIL PROTECTED]> > > wrote: > > > > On Mon, 25 Feb 2008, Mayuresh Kathe wrote: > > > > > I googled for "monitoring battery openbsd" but got nothing > > satisfactory. > >

Re: Monitoring Battery...

2008-02-25 Thread Peter N. M. Hansteen
raven <[EMAIL PROTECTED]> writes: > and if not exist hw.sensors and apm -b return 255 ? What we can do ? ( > i think nothing) dmesg and other data would help, but yes, you may have run into something that's not supported (yet) -- Peter N. M. Hansteen, member of the first RFC 1149 implementation

Re: Monitoring Battery...

2008-02-25 Thread raven
Peter N. M. Hansteen ha scritto: "Mayuresh Kathe" <[EMAIL PROTECTED]> writes: How do I check whether its a non-apm laptop? It's a ThinkPad R61i, dmesg below; in that case, sysctl hw should give something like [EMAIL PROTECTED]:~$ sysctl hw and if not exist hw.sensors and apm -b

Re: Monitoring Battery...

2008-02-25 Thread Christian Weisgerber
Peter N. M. Hansteen <[EMAIL PROTECTED]> wrote: > notice the hw.sensors.acpibat0.* values. I haven't really looked for > anything that shows those values live or in a graphical form, but that > doesn't mean it doesn't exist or could not be easily ported from $elsewhere. ports/sysutils/xbatt: `xb

Re: Monitoring Battery...

2008-02-25 Thread Jan
This is how I do it; #!/bin/sh # # Script used for giving system information # Last modified: 27-01-2008 while : ; do cpuspeed0=$(sysctl -n hw.cpuspeed) cputempe0=$(sysctl -n hw.sensors.cpu0.temp0) systempe0=$(sysctl -n hw.sensors.acpitz0.temp0) battcapa0=$(sysctl

Re: Monitoring Battery...

2008-02-25 Thread Peter N. M. Hansteen
Deanna Phillips <[EMAIL PROTECTED]> writes: >> notice the hw.sensors.acpibat0.* values. I haven't really >> looked for anything that shows those values live or in a >> graphical form, but that doesn't mean it doesn't exist or >> could not be easily ported from $elsewhere. > > This is in systat(1)

Re: Monitoring Battery...

2008-02-25 Thread Deanna Phillips
Peter N. M. Hansteen writes: > notice the hw.sensors.acpibat0.* values. I haven't really > looked for anything that shows those values live or in a > graphical form, but that doesn't mean it doesn't exist or > could not be easily ported from $elsewhere. This is in systat(1).

Re: Monitoring Battery...

2008-02-25 Thread Peter N. M. Hansteen
"Mayuresh Kathe" <[EMAIL PROTECTED]> writes: > How do I check whether its a non-apm laptop? > It's a ThinkPad R61i, dmesg below; in that case, sysctl hw should give something like [EMAIL PROTECTED]:~$ sysctl hw hw.machine=i386 hw.model=Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-cl

Re: Monitoring Battery...

2008-02-25 Thread Mayuresh Kathe
gt; > > On Mon, 25 Feb 2008, Mayuresh Kathe wrote: > > > > I googled for "monitoring battery openbsd" but got nothing > satisfactory. > > > > > > apm(8) > > > > Thanks for that Antoine. > > > > I tried &

Re: Monitoring Battery...

2008-02-25 Thread Boudewijn Dijkstra
Op Mon, 25 Feb 2008 13:22:24 +0100 schreef Mayuresh Kathe <[EMAIL PROTECTED]>: On Mon, Feb 25, 2008 at 5:45 PM, Antoine Jacoutot <[EMAIL PROTECTED]> wrote: On Mon, 25 Feb 2008, Mayuresh Kathe wrote: > I googled for "monitoring battery openbsd" but got nothing sa

Re: Monitoring Battery...

2008-02-25 Thread Karl Sjodahl - dunceor
On Mon, Feb 25, 2008 at 1:22 PM, Mayuresh Kathe <[EMAIL PROTECTED]> wrote: > > On Mon, Feb 25, 2008 at 5:45 PM, Antoine Jacoutot <[EMAIL PROTECTED]> wrote: > > On Mon, 25 Feb 2008, Mayuresh Kathe wrote: > > > I googled for "monitoring battery

Re: Monitoring Battery...

2008-02-25 Thread Mayuresh Kathe
On Mon, Feb 25, 2008 at 5:45 PM, Antoine Jacoutot <[EMAIL PROTECTED]> wrote: > On Mon, 25 Feb 2008, Mayuresh Kathe wrote: > > I googled for "monitoring battery openbsd" but got nothing satisfactory. > > apm(8) Thanks for that Antoine. I tried 'apm -b'

Re: Monitoring Battery...

2008-02-25 Thread Boudewijn Dijkstra
et? I googled for "monitoring battery openbsd" but got nothing satisfactory. $ apropos power|grep '(8)' apm (8) - Advanced Power Management control program apmd (8) - Advanced Power Management monitor daemon -- Boudewijn Dijkstra Indes - IDS B.V. +31 345 545 535

Re: Monitoring Battery...

2008-02-25 Thread Antoine Jacoutot
On Mon, 25 Feb 2008, Mayuresh Kathe wrote: I googled for "monitoring battery openbsd" but got nothing satisfactory. apm(8) -- Antoine

Monitoring Battery...

2008-02-25 Thread Mayuresh Kathe
Hello, Is there any way to monitor the charge left on the battery of a laptop? Like how much percentage of the battery charge is left to allow us to estimate how long it will work without connecting to a wall socket? I googled for "monitoring battery openbsd" but got nothing satisfact