Comment 1 for bug 594823

Revision history for this message
Ivan Zorin (iaz) wrote :

Frankly saying, I don't get your problem actually - I've just confused with some [power] terms. Let's try to clarify it.
First, I would like to see output of this command in your Terminal:

$ dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower/devices/BATTERY_LINE org.freedesktop.DBus.Properties.GetAll string:org.freedesktop.UPower.Device

Where BATTERY_LINE is text something like this: "battery_BAT0". Actual value you can get by running:

$ dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.EnumerateDevices

You've got something like this:

method return sender=:1.16 -> dest=:1.116 reply_serial=2
array [
object path "/org/freedesktop/UPower/devices/line_power_AC"
object path "/org/freedesktop/UPower/devices/battery_BAT0"
]

Then, please, just provide full output from first command. Thanks.