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.
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/freedeskto p/UPower/ devices/ BATTERY_ LINE org.freedesktop .DBus.Propertie s.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/freedeskto p/UPower org.freedesktop .UPower. EnumerateDevice s
You've got something like this:
method return sender=:1.16 -> dest=:1.116 reply_serial=2 op/UPower/ devices/ line_power_ AC" op/UPower/ devices/ battery_ BAT0"
array [
object path "/org/freedeskt
object path "/org/freedeskt
]
Then, please, just provide full output from first command. Thanks.