Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2006 16:18:26 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Nate Lawson <nate@root.org>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Discharge rate error on HP nx6125
Message-ID:  <20060129051826.GP2341@turion.vk2pj.dyndns.org>
In-Reply-To: <43DC4A9A.5040004@root.org>
References:  <20060129044526.GO2341@turion.vk2pj.dyndns.org> <43DC4A9A.5040004@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2006-Jan-28 20:54:50 -0800, Nate Lawson wrote:
>>When my nx6125 is running from batteries, the discharge rate is reported
>>as about 30,000mA - this is about an order of magnitude high.  The
>>capacity warning levels (~5% and 1%) also appear unrealistically low.
>>
>>turion% acpiconf -i 0
>>Design capacity:        4725 mAh
>>Last full capacity:     4725 mAh
>>Technology:             secondary (rechargeable)
>>Design voltage:         11100 mV
>>Capacity (warn):        237 mAh
>>Capacity (low):         48 mAh
>>Low/warn granularity:   100 mAh
>>Warn/full granularity:  100 mAh
>>Model number:           Primary
>>Serial number:          14370 2005/09/22
>>Type:                   LIon
>>OEM info:               Hewlett-Packard
>>State:                  discharging 
>>Remaining capacity:     98%
>>Remaining time:         1:43
>>Present rate:           29870 mA
>>Voltage:                12090 mV
>
>Is it acpi_cmbat or acpi_smbat?  dmesg and sysctl hw.acpi

acpi_cmbat I believe.  hw.acpi and pruned dmesg follow:

turion# sysctl hw.acpi
hw.acpi.supported_sleep_state: S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S3
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 1
hw.acpi.verbose: 0
hw.acpi.cpu.cx_supported: C1/0 C2/10
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00% 0.00%
hw.acpi.battery.life: 96
hw.acpi.battery.time: -1
hw.acpi.battery.state: 0
hw.acpi.battery.units: 2
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 1
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.tz0.temperature: 62.0C
hw.acpi.thermal.tz0.active: 2
hw.acpi.thermal.tz0.passive_cooling: 1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 88.0C
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 94.8C
hw.acpi.thermal.tz0._ACx: 80.0C 75.0C 59.0C 50.0C -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz1.temperature: 54.0C
hw.acpi.thermal.tz1.active: -1
hw.acpi.thermal.tz1.passive_cooling: 0
hw.acpi.thermal.tz1.thermal_flags: 0
hw.acpi.thermal.tz1._PSV: 90.0C
hw.acpi.thermal.tz1._HOT: -1
hw.acpi.thermal.tz1._CRT: 100.0C
hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz2.temperature: 32.2C
hw.acpi.thermal.tz2.active: -1
hw.acpi.thermal.tz2.passive_cooling: 0
hw.acpi.thermal.tz2.thermal_flags: 0
hw.acpi.thermal.tz2._PSV: 60.0C
hw.acpi.thermal.tz2._HOT: -1
hw.acpi.thermal.tz2._CRT: 100.0C
hw.acpi.thermal.tz2._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
turion#

FreeBSD 6.0-STABLE #2: Fri Jan 20 18:37:49 EST 2006
    root@turion.vk2pj.dyndns.org:/usr/obj/usr/src/sys/turion
ACPI APIC Table: <HP     0944    >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Turion(tm) 64 Mobile ML-40                  (2194.52-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20f42  Stepping = 2
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,<b25>,LM,3DNow+,3DNow>
real memory  = 939327488 (895 MB)
avail memory = 898633728 (857 MB)
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.1> irqs 0-23 on motherboard
acpi0: <HP 0944> on motherboard
acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x11> port 0x62,0x66 on acpi0
unknown: I/O range not supported
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
...
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_tz2: <Thermal Zone> on acpi0

-- 
Peter Jeremy



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