Two batteries recognized
Ian Smith
smithi at nimnet.asn.au
Wed Apr 3 09:55:51 UTC 2013
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 at 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 at 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 at 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 at drenet.info
More information about the freebsd-mobile
mailing list