[Pkg-acpi-devel] Bug#699577: Battery: Remaining capacity shows unknown and 00:00:00 time left
Andreas Stempfhuber
reportbug2013 at afulinux.de
Fri Feb 1 23:39:21 UTC 2013
Package: acpitool
Version: 0.5.1-3
Severity: important
Hi,
The remaining capacity value is allays displayed as unknown but it should
contain the value of /sys/class/power_supply/BATx/charge_now. Also the time
left is displayed as 00:00:00 when discharging.
This happens with all notebooks and batteries I could test so far and looks
like a general bug independent of the driver.
Dell Latitude D410:
$ acpi
Battery 0: Discharging, 41%, 00:59:51 remaining
$ acpitool -B
Battery #1 : present
Remaining capacity : unknown, 41.21%, 00:00:00
Design capacity : 4800 mA
Last full capacity : 4004 mA, 83.42% of design capacity
Capacity loss : 16.58%
Present rate : 1654 mA
Charging state : Discharging
Battery type : Li-ion
Model number : DELL
Serial number : 400
$ cat /sys/class/power_supply/BAT0/charge_now
1634000
BenQ Joybook 5000:
$ acpi
Battery 0: Discharging, 80%, 02:56:24 remaining
$ acpitool -B
Battery #1 : present
Remaining capacity : unknown, 80.98%, 00:00:00
Design capacity : 4300 mA
Last full capacity : 3086 mA, 71.77% of design capacity
Capacity loss : 28.23%
Present rate : 850 mA
Charging state : Discharging
Battery type : Li-ion
Model number : LIP603
Serial number : 0033
$ cat /sys/class/power_supply/BAT0/charge_now
2499000
Dell Latitude D620 with battery in slot 0:
$ acpi
Battery 0: Discharging, 98%, 02:15:56 remaining
$ acpitool -B
Battery #1 : present
Remaining capacity : unknown, 98.43%, 00:00:00
Design capacity : 5100 mA
Last full capacity : 3830 mA, 75.10% of design capacity
Capacity loss : 24.90%
Present rate : 1664 mA
Charging state : Discharging
Battery type : Li-ion
Model number : DELL
Serial number : 1135
$ cat /sys/class/power_supply/BAT0/charge_now
3770000
Dell Latitude D620 with battery in slot 1:
$ acpi
Battery 0: Discharging, 40%, 00:44:53 remaining
$ acpitool -B
Battery #1 : present
Remaining capacity : unknown, 40.25%, 00:00:00
Design capacity : 4200 mA
Last full capacity : 3595 mA, 85.60% of design capacity
Capacity loss : 14.40%
Present rate : 1934 mA
Charging state : Discharging
Battery type : Li-poly
Model number : DELL
Serial number : 522
$ cat /sys/class/power_supply/BAT1/charge_now
1447000
Compal CL51:
$ acpi
Battery 0: Discharging, 83%, discharging at zero rate - will never fully
discharge.
$ acpitool -B
Battery #1 : present
Remaining capacity : unknown, 83.00%
Design capacity : 4000 mA
Last full capacity : 4000 mA
Present rate : 0 mA
Charging state : Discharging
Battery type : Li-ion
Model number : PA3206U
Serial number : 3658Q
$ cat /sys/class/power_supply/BAT1/charge_now
3280000
Thanks,
Andi
-- System Information:
Debian Release: 7.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages acpitool depends on:
ii libc6 2.13-37
ii libgcc1 1:4.7.2-5
ii libstdc++6 4.7.2-5
Versions of packages acpitool recommends:
ii acpid 1:2.0.16-1
acpitool suggests no packages.
-- no debconf information
More information about the Pkg-acpi-devel
mailing list