OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: acpi battery state

From: Rogier Krieger (rkriegergmail.com)
Date: Wed Mar 01 2006 - 16:52:37 CST


On 3/1/06, Steffen Wendzel <cdp_xegmx.net> wrote:
> I try to find out how many energy is left on my battery. I run
> OpenBSD 3.8. My notebook does not support APM but ACPI

In that case, you should probably give -current snapshots a spin.
There has been quite a bit of work on ACPI since 3.8. Apart from the
list/source-changes archives, you may want to take a look at several
articles at undeadly.org regarding ACPI.

> but there is no 'sensors' sub under 'hw'. It seems that this is
> because my hardware is not supported because it works fine on
> my workstation for the temperature stuff.

Possibly, you have lm(4) or other sensor devices on your workstation.
The sysctl output should show you which sensor it uses.

> Is there any way to get the battery-values? I bootet knoppix 4.0
> and it was able to display my battery-values in KDE [...]

Fortunately, that means your hardware itself is probably OK. You
should really try a -current snapshot to see whether ACPI support will
work for you.

Cheers,

Rogier

--
If you don't know where you're going, any road will get you there.