Re: Get information about batteries

2015-12-10 Thread Ian Smith
On Thu, 10 Dec 2015 07:20:29 +0100, ga...@zahemszky.hu wrote:
 > 2015-12-09 21:03 idpontban Adrian Chadd ezt írta:
 > > acpiconf -i0 and acpiconf -i1? does that work?
 > 
 > OK, I've got it. Thanks for the quick answer.
 > ( Actually one of my batteries is full dead, even with acpiconf,
 > I could not get any answer, but it's another story.)

Some laptops have provision for more than two battery slots, perhaps in 
a docking station, so you could try acpiconf -i2 and -i3 too .. however 
dmesg should show if any others were detected on boot.

cheers, Ian
___
freebsd-acpi@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


Re: Get information about batteries

2015-12-09 Thread Adrian Chadd
acpiconf -i0 and acpiconf -i1? does that work?


-a


On 9 December 2015 at 10:17,   wrote:
> Hi!
>
> On a FreeBSD machine, I can get information about the AC-adapter or battery
> with
>
> sysctl hw.acpi.battery
>
> I can get how many of them installed in that machne (hw.acpi.battery.units).
> But if I have 2 of them, how can I get the information about them?
>
> Eg, the battery life or the time - but not accumulated, but separately.
>
> Thank,
>
> Gabor < Gabor at Zahemszky dot HU >
> ___
> freebsd-acpi@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-acpi
> To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"
___
freebsd-acpi@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"


Re: Get information about batteries

2015-12-09 Thread gabor

2015-12-09 21:03 időpontban Adrian Chadd ezt írta:

acpiconf -i0 and acpiconf -i1? does that work?


OK, I've got it. Thanks for the quick answer.
( Actually one of my batteries is full dead, even with acpiconf,
I could not get any answer, but it's another story.)

Bye,

Gabor < Gabor az Zahemszky dot HU >
___
freebsd-acpi@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscr...@freebsd.org"