https://bugzilla.novell.com/show_bug.cgi?id=804197 https://bugzilla.novell.com/show_bug.cgi?id=804197#c0 Summary: Incorrect/no power usage information on laptop when running openSUSE-12.3-KDE-LiveCD-Build0024-x86_64.iso Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: trent.hawkins83@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Hi, I'm running - openSUSE-KDE-LiveCD-Build0348-x86_64.iso, on a live-usb. I was trying to determine the power discharge rate on my laptop while the adapter was unplugged, but could not do this. Powertop gives me no power consumption rate as it would normally with the adapter offline and running acpi gives the following output: linux:/home/linux # acpi -V Battery 0: Discharging, 93%, rate information unavailable Battery 0: design capacity 5600 mAh, last full capacity 5055 mAh = 90% Adapter 0: on-line Thermal 0: ok, 56.5 degrees C Thermal 0: trip point 0 switches to mode critical at temperature 99.0 degrees C Cooling 0: Processor 0 of 3 Cooling 1: Processor 0 of 3 Cooling 2: Processor 0 of 3 Cooling 3: Processor 0 of 3 Cooling 4: LCD 0 of 15 Cooling 5: LCD 0 of 15 So the adapter is On-line (even though it certainly disconnected), but the battery reports that it is discharging at a rate that is unavailable! Adapter unplugged -- linux:/home/linux # cat /sys/class/power_supply/AC/online 1 linux:/home/linux # cat /sys/class/power_supply/BAT0/status Discharging linux:/home/linux # cat /sys/class/power_supply/BAT0/charge_now 4698000 Adapter plugged in -- linux:/home/linux # acpi -V Battery 0: Charging, 92%, 00:10:01 until charged Battery 0: design capacity 5600 mAh, last full capacity 5055 mAh = 90% Adapter 0: on-line Thermal 0: ok, 55.5 degrees C Thermal 0: trip point 0 switches to mode critical at temperature 99.0 degrees C Cooling 0: Processor 0 of 3 Cooling 1: Processor 0 of 3 Cooling 2: Processor 0 of 3 Cooling 3: Processor 0 of 3 Cooling 4: LCD 0 of 15 Cooling 5: LCD 0 of 15 linux:/home/linux # cat /sys/class/power_supply/AC/online 1 linux:/home/linux # cat /sys/class/power_supply/BAT0/status Charging linux:/home/linux # cat /sys/class/power_supply/BAT0/charge_now 4703000 Note that i know this is not a hardware failure because the battery does charge when plugged in and the front light on my laptop is on indicating that the adapter is plugged in and charging. The Battery Monitor does not behave as if the adapter is unplugged and continues to read as 100% full. Reproducible: Always Steps to Reproduce: 1. Unplug adapter 2. Try to read battery stats using acpi, powertop, battery monitor 3. Above programs give incorrect output and power_supply calls indicate the adapter is in when it is not Actual Results: See above command line outputs Expected Results: I'm running openSUSE 12.2 Tumbleweed currently. Running acpi -V gives me correct information when adapter is off-line. Also battery monitor behaves correctly - % battery changes over time and is displayed in panel instead of being a "hidden icon". This problem occurred in the beta release too. See factory mailing list exchange: http://lists.opensuse.org/opensuse-factory/2013-01/msg00584.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.