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