Package: src:linux Version: 3.2.46-1+deb7u1 Severity: normal Hi,
g-s-d (among other tools) reports wrong battery information because UPower gets erroneous data from the sysfs interface. AFAIUI, since Linux 2.6.34, the _BIX (Battery Information Extended) method is used instead of _BIF *but* the acpi battery driver doesn't parse correctly these information because it doesn't respect the ACPI spec. So in the current Wheezy kernel, we have this kind of nonsense reported by the sysfs interface: $cat /sys/class/power_supply/BAT0/uevent POWER_SUPPLY_NAME=BAT0 POWER_SUPPLY_STATUS=Discharging POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_TECHNOLOGY=Unknown POWER_SUPPLY_CYCLE_COUNT=503 POWER_SUPPLY_VOLTAGE_MIN_DESIGN=1000 POWER_SUPPLY_VOLTAGE_NOW=7400000 POWER_SUPPLY_POWER_NOW=9205000 POWER_SUPPLY_ENERGY_FULL_DESIGN=0 POWER_SUPPLY_ENERGY_FULL=50616000 POWER_SUPPLY_ENERGY_NOW=20394000 POWER_SUPPLY_MODEL_NAME= POWER_SUPPLY_MANUFACTURER=LIon POWER_SUPPLY_SERIAL_NUMBER=UX31-35 Note the POWER_SUPPLY_VOLTAGE_MIN_DESIGN and POWER_SUPPLY_ENERGY_FULL_DESIGN values. But with commit 016d5baad04269e8559332df05f89bd95b52d6ad applied to your last 3.2 kernel, here is what i get: $cat /sys/class/power_supply/BAT0/uevent POWER_SUPPLY_NAME=BAT0 POWER_SUPPLY_STATUS=Discharging POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_TECHNOLOGY=Li-ion POWER_SUPPLY_CYCLE_COUNT=503 POWER_SUPPLY_VOLTAGE_MIN_DESIGN=7400000 POWER_SUPPLY_VOLTAGE_NOW=7400000 POWER_SUPPLY_POWER_NOW=8214000 POWER_SUPPLY_ENERGY_FULL_DESIGN=50616000 POWER_SUPPLY_ENERGY_FULL=44007000 POWER_SUPPLY_ENERGY_NOW=21045000 POWER_SUPPLY_MODEL_NAME=UX31-35 POWER_SUPPLY_MANUFACTURER=ASUSTeK POWER_SUPPLY_SERIAL_NUMBER= As you can see, with this patch applied g-s-d reports correct battery level information. Cheers, Vincent -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org