Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2005 11:22:28 -0400
From:      "Michael W. Oliver" <michael@gargantuan.com>
To:        mobile@freebsd.org
Subject:   acpi battery status partially working?
Message-ID:  <20050602152227.GA10454@gargantuan.com>

next in thread | raw e-mail | index | archive | help

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

--=20
Mike Oliver
[see complete headers for contact information]

--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCnyQzsWv7q8X6o8kRAqpMAJ0XnC6fid6EBo265Ov9mL67FAd3LgCeJw7F
SF8i2i3m0V4oOYgF2AvfIMQ=
=cLgk
-----END PGP SIGNATURE-----

--2fHTh5uZTiUOsy+g--




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