acpi shows wrong battery state

Ian Smith smithi at nimnet.asn.au
Sun Aug 29 14:09:20 UTC 2010


On Sat, 28 Aug 2010, kuba guzik wrote:
 > Hi!
 > 
 > On my hp pavilion dv7 1299ew laptop running on FreeBSD 8.1 battery indicator
 > is showing -1%. There was no such problem in earlier version,  8.0. I don't
 > know how to solve this problem, on local polish bsd forum people say that
 > this is bug.
 > 
 > #acpiconf -i batt
 > Design capacity: 0 mWh
 > Last full capacity: 0 mWh
 > Technology: primary (non-rechargeable)
 > Design voltage: 0 mV
 > Capacity (warn): 0 mWh
 > Capacity (low): 0 mWh
 > Low/warn granularity: 0 mWh
 > Warn/full granularity: 0 mWh
 > Model number:
 > Serial number:
 > Type:
 > OEM info:
 > State: not present
 > Voltage: 0 mV

No battery information, though 1 battery is detected below.

 > $ sysctl -a | grep acpi
[..]
 > hw.acpi.battery.life: -1
 > hw.acpi.battery.time: -1

-1 means unknown or unavailable.

 > hw.acpi.battery.state: 7

That's either 'critical discharging', or 'critical charging' (normally, 
but it seems all the battery information is wrong and/or missing here)

 > hw.acpi.battery.units: 1
 > hw.acpi.battery.info_expire: 5
 > hw.acpi.acline: -1

Even AC online/offline status is unknown.  Does the machine operate 
properly on battery, if you remove AC power?

 > hw.acpi.thermal.tz0.temperature: -273,2C

Absolute zero :)  Did it used to show the proper temperatures on 8.0?

Please post your /var/run/dmesg.boot

cheers, Ian


More information about the freebsd-mobile mailing list