Public bug reported:

Binary package hint: gnome-power-manager

Hi there,

Using Karmic, gnome-power-manager doesn't work fine. It won't detect
that the battery is discharging or even running on battery. Also, when
pluging in the AC to charged, it acts flacky.

When running on battery:
atr...@patrick-laptop:~$ acpi -ab --details
Battery 0: Unknown, 34%
Battery 0: design capacity 5200 mAh, last full capacity 4587 mAh = 88%
Adapter 0: off-line

When running on ac:
patr...@patrick-laptop:~$ acpi -ab --details
Battery 0: Charging, 34%, 01:12:51 until charged
Battery 0: design capacity 5200 mAh, last full capacity 4587 mAh = 88%
Adapter 0: on-line

Running on battery and plugging the AC:
patr...@patrick-laptop:~$ lshal -m

Start monitoring devicelist:
-------------------------------------------------
20:27:54.653: computer_power_supply_battery_BAT0 property 
battery.remaining_time = 1569 (0x621) (new)
20:27:54.659: computer_power_supply_battery_BAT0 property 
battery.charge_level.percentage = 33 (0x21)
20:27:54.662: computer_power_supply_battery_BAT0 property 
battery.charge_level.rate = 0 (0x0)
20:27:54.665: computer_power_supply_battery_BAT0 property 
battery.charge_level.design = 56976 (0xde90)
20:27:54.668: computer_power_supply_battery_BAT0 property 
battery.charge_level.last_full = 50259 (0xc453)
20:27:54.671: computer_power_supply_battery_BAT0 property 
battery.charge_level.current = 17060 (0x42a4)
20:27:54.688: computer_power_supply_battery_BAT0 property 
battery.reporting.current = 1557 (0x615)
20:27:54.689: computer_power_supply_battery_BAT0 property 
battery.rechargeable.is_discharging = true
20:27:54.690: computer_power_supply_battery_BAT0 property 
battery.reporting.rate = 0 (0x0)
20:27:54.691: computer_power_supply_battery_BAT0 property 
battery.voltage.current = 10957 (0x2acd)
20:27:54.770: computer_power_supply_ac_adapter_ADP1 property ac_adapter.present 
= true

Running on ac and unplugging:
patr...@patrick-laptop:~$ lshal -m

Start monitoring devicelist:
-------------------------------------------------
20:28:26.272: computer_power_supply_battery_BAT0 property 
battery.remaining_time = 4357 (0x1105)
20:28:26.279: computer_power_supply_battery_BAT0 property 
battery.charge_level.current = 17504 (0x4460)
20:28:26.280: computer_power_supply_battery_BAT0 property 
battery.reporting.current = 1577 (0x629)
20:28:26.282: computer_power_supply_battery_BAT0 property 
battery.voltage.current = 11658 (0x2d8a)
20:28:26.367: computer_power_supply_ac_adapter_ADP1 property ac_adapter.present 
= false

Both acpi and hal will detect the change from battery to charging
IMMEDIATELY, but gnome-power-manager won't. It doesn't detect it's
running on battery at all: the icon is like when running only on AC
(only the plug icon), and if under preferences "running on ac" tab I
pull the brightness down, it will decrease the brightness. In the
general tab, the icon will only display if Display always is checked,
the other 3 options hide the power-manager icon. Also, as stated before,
when pluging the ac, it will first display discharging (even though it
acts as when on AC, icon displayed is a battery) and after half a minute
it will show the correct charging state (battery with the plug)

Also, when going from AC into battery, the brightness won't decrease,
but will decrease and immediately increase again when connecting the AC
from on battery.

The only issues with the power-manager I have in Jaunty is that the
battery reports incorrectly the Charged and Discharging states, and thus
when running on AC the icon acts as it was Charged and when running on
AC with fully charged battery it shows a battery, even though the
computer knows where it is running from and decreases/increases
brightness fine and applies changes in a power-management script I have
under /etc/pm/sleep.d and power.d.

** Affects: gnome-power-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gnome-power-manage not detecting when running on battery
https://bugs.launchpad.net/bugs/386778
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to