[Pkg-acpi-devel] Bug#502511: Bug#502511: acpi reports (incorrect) mAh-values
Michael Meskes
meskes at debian.org
Tue Oct 21 10:47:16 UTC 2008
On Fri, Oct 17, 2008 at 10:14:37AM +0200, Kai Muenz wrote:
> On an IBM Thinkpad R50p where /proc/acpi/battery/BAT0/info reads
> design capacity: 77760 mWh
> last full capacity: 61170 mWh
Does it really list mWh? Normally battery capacity is listed in mAh.
What does it list under /sys/class/power_supply?
> acpi -i prints
> Battery 0: Charging, 25%, 01:31:20 until charged
> Battery 0: design capacity 77760 mAh, last full capacity 61170 mAh = 78%
This information is taken from /sys/class/power_supply unless you also specify the "-p" parameter.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes at jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!
More information about the Pkg-acpi-devel
mailing list