[opensuse-factory] [openSUSE 12.3 Beta 1] No battery discharge information available - powertop or acpi
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, 90%, rate information unavailable Battery 0: design capacity 5600 mAh, last full capacity 5055 mAh = 90% Adapter 0: on-line Thermal 0: ok, 53.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! Any thoughts? Otherwise shaping up to be a great release! Regards, Trent -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Tue, 29 Jan 2013 13:45:35 +1100 Trent Hawkins <trent.hawkins83@gmail.com> пишет:
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
I do not have this command, I wonder which package provides it?
Battery 0: Discharging, 90%, rate information unavailable Battery 0: design capacity 5600 mAh, last full capacity 5055 mAh = 90% Adapter 0: on-line Thermal 0: ok, 53.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!
Any thoughts?
Check devices you have under /sys/class/power_supply; unplug your battery and looks at various values there, like bor@opensuse:~/src/grub> cat /sys/class/power_supply/AC/online 1 bor@opensuse:~/src/grub> cat /sys/class/power_supply/BAT0/status Full bor@opensuse:~/src/grub> cat /sys/class/power_supply/AC/online 0 bor@opensuse:~/src/grub> cat /sys/class/power_supply/BAT0/status Discharging bor@opensuse:~/src/grub> cat /sys/class/power_supply/BAT0/charge_now 3223000 bor@opensuse:~/src/grub> cat /sys/class/power_supply/BAT0/charge_now 3214000 bor@opensuse:~/src/grub> cat /sys/class/power_supply/BAT0/charge_now 3126000 Do they show something sensible? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, 29 Jan 2013 06:20, Andrey Borzenkov <arvidjaar@...> wrote:
В Tue, 29 Jan 2013 13:45:35 +1100 Trent Hawkins <trent.hawkins83@gmail.com> пишет: [snip]
linux:/home/linux # acpi -V
I do not have this command, I wonder which package provides it?
/usr/bin/acpi is part of the "acpid" package, see also "grep bin/acpi ARCHIVES.gz" -- Yamaban.
В Tue, 29 Jan 2013 06:30:34 +0100 (CET) Yamaban <foerster@lisas.de> пишет:
On Tue, 29 Jan 2013 06:20, Andrey Borzenkov <arvidjaar@...> wrote:
В Tue, 29 Jan 2013 13:45:35 +1100 Trent Hawkins <trent.hawkins83@gmail.com> пишет: [snip]
linux:/home/linux # acpi -V
I do not have this command, I wonder which package provides it?
/usr/bin/acpi is part of the "acpid" package,
bor@opensuse:~> rpm -ql acpid | grep -w acpi /etc/acpi /etc/acpi/events /etc/acpi/events/power_button /etc/acpi/events/thinkpad bor@opensuse:~>
see also "grep bin/acpi ARCHIVES.gz"
-- Yamaban.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 29 January 2013 16:30, Yamaban <foerster@lisas.de> wrote:
On Tue, 29 Jan 2013 06:20, Andrey Borzenkov <arvidjaar@...> wrote:
В Tue, 29 Jan 2013 13:45:35 +1100 Trent Hawkins <trent.hawkins83@gmail.com> пишет:
[snip]
linux:/home/linux # acpi -V
I do not have this command, I wonder which package provides it?
/usr/bin/acpi is part of the "acpid" package,
see also "grep bin/acpi ARCHIVES.gz"
Incidentally i only installed the package "acpi", i didn't know that "acpid" also contains this command.
Check devices you have under /sys/class/power_supply; unplug your battery and looks at various values there, like
[snip]
Do they show something sensible?
Thanks Andrey for this suggestion. Here are my results below: Adapter plugged in: linux:/bin # cat /sys/class/power_supply/AC/online 0 linux:/bin # cat /sys/class/power_supply/BAT0/status Charging linux:/bin # cat /sys/class/power_supply/BAT0/charge_now 4756000 Adapter removed: linux:/bin # cat /sys/class/power_supply/AC/online 0 linux:/bin # cat /sys/class/power_supply/BAT0/status Discharging linux:/bin # cat /sys/class/power_supply/BAT0/charge_now 4754000 On this occasion running the command "acpi -V" now gives me a battery discharge rate, but tells me that the adapter is offline (even when plugged in). The above power supply grabs indicate the same thing. The last time i booted up, it was telling that the adapter was online (even when it was unplugged), but would not give me a discharge rate. 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. Thanks for assistance, hopefully we can get to the bottom of this. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Wed, 30 Jan 2013 11:17:38 +1100 Trent Hawkins <trent.hawkins83@gmail.com> пишет:
Thanks Andrey for this suggestion. Here are my results below:
Adapter plugged in: linux:/bin # cat /sys/class/power_supply/AC/online 0
So this is kernel problem. If it did work before it is regression and you need to file bug report. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 30 January 2013 14:50, Andrey Borzenkov <arvidjaar@gmail.com> wrote:
В Wed, 30 Jan 2013 11:17:38 +1100 Trent Hawkins <trent.hawkins83@gmail.com> пишет:
Thanks Andrey for this suggestion. Here are my results below:
Adapter plugged in: linux:/bin # cat /sys/class/power_supply/AC/online 0
Sorry for the delay in replying. Strangely enough i do not have this problem running 3.7.xxx kernels on openSUSE 12.2 Tumbleweed.
So this is kernel problem. If it did work before it is regression and you need to file bug report.
This is the first time ive tested the openSUSE 12.3 builds so i don't know what happened before. But from the point of view of using the latest Tumbleweed kernels, yes this is a regression. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Andrey Borzenkov
-
Trent Hawkins
-
Yamaban