Comment 0 for bug 585189

Revision history for this message
Nikil Mehta (nikil.mehta) wrote : "No Battery" detected for laptops with multiple batteries

I have a Dell D630 laptop with two batteries: one main system battery and another in the media bay (DVD) slot. When both batteries are connected Battery Status thinks the machine is always on AC (plug icon) and there are no batteries (when you click on the icon you see "No Battery". When one battery is connected everything works fine.

Here's the output of dbus-send:

~ -> dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.EnumerateDevices
method return sender=:1.16 -> dest=:1.193 reply_serial=2
   array [
      object path "/org/freedesktop/UPower/devices/line_power_AC"
      object path "/org/freedesktop/UPower/devices/battery_BAT0"
      object path "/org/freedesktop/UPower/devices/battery_BAT1"

Two batteries is a fairly common case for laptop users so it would be great if Battery Status could handle this use case.