Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Apr 2013 11:36:35 -0400
From:      Andre Goree <andre@drenet.info>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Two batteries recognized
Message-ID:  <515C4C83.2040502@drenet.info>
In-Reply-To: <20130403204012.C56386@sola.nimnet.asn.au>
References:  <op.wuybipm9qdqf40@localhost.localdomain> <20130403204012.C56386@sola.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/03/13 05:55, Ian Smith wrote:
> On Wed, 3 Apr 2013 02:12:15 -0400, Andre Goree wrote:
>  > For some reason, acpi is recognizing two batteries, though my system has only
>  > one.  I've searched Google but haven't really found a way to rectify this.
>  > Any ideas?  Here's some information that may help, let me know if there's
>  > other things I can provide:
>  > 
>  > [root@dlaptop ~]# sysctl -a | grep battery
>  > hw.acpi.battery.life: 81
>  > hw.acpi.battery.time: -1
>  > hw.acpi.battery.state: 2
>  > hw.acpi.battery.units: 2
>  > hw.acpi.battery.info_expire: 5
>  > dev.battery.0.%desc: ACPI Control Method Battery
>  > dev.battery.0.%driver: battery
>  > dev.battery.0.%location: handle=\_SB_.BAT0
>  > dev.battery.0.%pnpinfo: _HID=PNP0C0A _UID=1
>  > dev.battery.0.%parent: acpi0
>  > dev.battery.1.%desc: ACPI Control Method Battery
>  > dev.battery.1.%driver: battery
>  > dev.battery.1.%location: handle=\_SB_.BAT1
>  > dev.battery.1.%pnpinfo: _HID=PNP0C0A _UID=2
>  > dev.battery.1.%parent: acpi0
> 
> You don't say what make/model laptop, though your acpiconf suggests some 
> sort of Dell.  Many laptops have the capacity to add a second battery, 
> sometimes instead of a CD/DVD or extra hard drive in a bay.  The above 
> output doesn't indicate that there are two fitted, just the capacity for 
> managing two in the ACPI/BIOS.
> 
> 'bat0' and 'bat1' used below are not valid battery descriptors, specify 
> only '0' or '1'.  Yes, acpiconf(8) should be a lot clearer about that.
> 
> Specifying any invalid string always gets you info for battery 0, ie is 
> equivalent to 'acpiconf -i0', which is why the results below are both 
> the same down to the serial numbers and present charge rate and voltage.
> 
> If 'acpiconf -i 1' shows other than 'Device not configured' you might 
> indeed have some issue.
> 
> cheers, Ian 
> 
>  > [root@dlaptop ~]# acpiconf -i bat0
>  > Design capacity:        5200 mAh
>  > Last full capacity:     4677 mAh
>  > Technology:             secondary (rechargeable)
>  > Design voltage:         11100 mV
>  > Capacity (warn):        520 mAh
>  > Capacity (low):         157 mAh
>  > Low/warn granularity:   52 mAh
>  > Warn/full granularity:  52 mAh
>  > Model number:           DELL PT43693
>  > Serial number:          37449
>  > Type:                   LION
>  > OEM info:               Samsung SDI
>  > State:                  charging
>  > Remaining capacity:     77%
>  > Remaining time:         unknown
>  > Present rate:           2692 mA (33359 mW)
>  > Present voltage:        12392 mV
>  > 
>  > [root@dlaptop ~]# acpiconf -i bat1
>  > Design capacity:        5200 mAh
>  > Last full capacity:     4677 mAh
>  > Technology:             secondary (rechargeable)
>  > Design voltage:         11100 mV
>  > Capacity (warn):        520 mAh
>  > Capacity (low):         157 mAh
>  > Low/warn granularity:   52 mAh
>  > Warn/full granularity:  52 mAh
>  > Model number:           DELL PT43693
>  > Serial number:          37449
>  > Type:                   LION
>  > OEM info:               Samsung SDI
>  > State:                  charging
>  > Remaining capacity:     77%
>  > Remaining time:         unknown
>  > Present rate:           2692 mA (33359 mW)
>  > Present voltage:        12392 mV
>  > 
>  > -- 
>  > Andre Goree
>  > andre@drenet.info
> 

Thanks!  I will check this when I get home (currently slaving at work :P).

The model is a Dell Latitude E6400.

-- 
Andre Goree
andre@drenet.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515C4C83.2040502>