acpi battery status partially working?
Michael W. Oliver
michael at gargantuan.com
Thu Jun 2 08:22:36 PDT 2005
Hey guys, this laptop (Sager 4750v) has the following output from
`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: 0
hw.acpi.verbose: 1
hw.acpi.cpu.cx_supported: C1/0 C2/80
hw.acpi.cpu.cx_lowest: C1
hw.acpi.cpu.cx_usage: 100.00% 0.00%
hw.acpi.battery.life: -1
hw.acpi.battery.time: -1
hw.acpi.battery.state: 7
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
hw.acpi.acline: 0
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 2
hw.acpi.thermal.tz0.temperature: 41.8C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 52.8C
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: -1
hw.acpi.thermal.tz0._ACx: 69.8C -1 -1 -1 -1 -1 -1 -1 -1 -1
Notice the battery stuff? This laptop is on battery right now, and I
get the following output from `acpiconf -i 0`:
Battery 0 information
Design capacity: 4400 mAh
Last full capacity: 4638 mAh
Technology: secondary (rechargeable)
Design voltage: 11100 mV
Capacity (warn): 160 mAh
Capacity (low): 100 mAh
Low/warn granularity: 64 mAh
Warn/full granularity: 64 mAh
Model number: D470K
Serial number: 40131
Type: LION
OEM info: SMP
State: Discharging
Present Rate: Unknown
Remaining Capacity: 2776 mAh
Volt: Unknown
So, it looks like I can see _some_ information from the battery, just
not the rate or voltage (which I assume are used to calculate 'life' and
'time'??). I also see ec0 timeout increases up to 11000us, but don't
know if that is related.
The output from apcidump, the patch for the asl, and lots of other stuff
is at (trying to keep size of emails to the list smallish):
http://michael.gargantuan.com/sager_4750v/
Thanks for your help, I appreciate it.
--
Mike Oliver
[see complete headers for contact information]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20050602/02d6f1c4/attachment.bin
More information about the freebsd-mobile
mailing list