gnome-session-3.10.1 power applet gets confused when my lenovo bluetooth mouse is connected. It shows that the PC is running on battery when in fact the AC adaptor is connected. The mouse has a battery and its status is reported by both acpi and upower. Battery0 in acpi output is the mouse battery in fact. r9-008cln power_supply # upower -e /org/freedesktop/UPower/devices/battery_BAT0 /org/freedesktop/UPower/devices/line_power_AC /org/freedesktop/UPower/devices/battery_hid_f0o65oddo7eoa2oc7_battery r9-008cln power_supply # acpi -i Battery 0: Discharging, 0%, rate information unavailable Battery 1: Charging, 91%, 00:22:58 until charged Battery 1: design capacity 7714 mAh, last full capacity 7678 mAh = 99% Reproducible: Always Steps to Reproduce: 1. connect a lenovo bluetooth mouse P/N 03X6582 2. watch the indicator change to a battery-powered Expected Results: the applet should show the Pc is running on AC power and provide charge completion time estimate.
Created attachment 376826 [details] screenshot of a problem
I took a upower dump and it shows that the mouse battery is NOT a power supply. So it's a gnome-power-applet issue. anton@r9-008cln ~ $ upower -d Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: LGC model: 45N1153 serial: 780 power supply: yes updated: Пт 16 май 2014 09:19:35 (18 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging energy: 77,55 Wh energy-empty: 0 Wh energy-full: 98,98 Wh energy-full-design: 99,46 Wh energy-rate: 42,213 W voltage: 12,65 V time to full: 30,5 minutes percentage: 78% capacity: 99,5174% technology: lithium-ion History (charge): 1400217544 78,000 charging 1400217540 77,000 charging 1400217538 0,000 unknown History (rate): 1400217575 42,213 charging 1400217544 42,188 charging 1400217543 42,185 charging 1400217540 42,178 charging 1400217538 0,000 unknown Device: /org/freedesktop/UPower/devices/line_power_AC native-path: AC power supply: yes updated: Пт 16 май 2014 09:18:58 (55 seconds ago) has history: no has statistics: no line-power online: yes Device: /org/freedesktop/UPower/devices/battery_hid_f0o65oddo7eoa2oc7_battery native-path: hid-f0:65:dd:7e:a2:c7-battery model: ThinkPad Bluetooth Laser Mouse power supply: no updated: Пт 16 май 2014 09:19:35 (18 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging energy: 0 Wh energy-empty: 0 Wh energy-full: 0 Wh energy-full-design: 0 Wh energy-rate: 0 W percentage: 56% capacity: 100% History (charge): 1400217575 56,000 discharging 1400217540 57,000 discharging 1400217540 0,000 unknown History (rate): 1400217540 0,000 unknown Daemon: daemon-version: 0.9.23 on-battery: no on-low-battery: no lid-is-closed: no lid-is-present: yes is-docked: no
please retry with gnome 3.14
I confirm it's OK with Gnome 3.14.2