Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37034 - [upower] considers Bluetooth mouse battery as notebook battery

Attached to Project: Arch Linux
Opened by Sohaib Afifi (sohaibafifi) - Monday, 23 September 2013, 12:23 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Wednesday, 12 March 2014, 05:49 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
the gnome panel shows always 1% of battery reporting the wireless mouse status instead of the laptop battery.
This can be upower related (see the output of `upower -d`)

packages :
UPower client version 0.9.21
UPower daemon version 0.9.21
Gnome Version 3.8.4
Kernel Linux 3.11.1-2-ck

Steps to reproduce:
Always when the Logitech unifying receiver is plugged.

Expected results:
Gnome should ignore the mouse battery or show the laptop one as default

------------------
$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC
power supply: yes
updated: Mon Sep 23 14:00:54 2013 (1201 seconds ago)
has history: no
has statistics: no
line-power
online: no

Device: /org/freedesktop/UPower/devices/mouse_0003o046DoC52Bx0004
native-path: /sys/devices/pci0000:00/0000:00:1c.7/0000:26:00.0/usb1/1-2/1-2:1.2/0003:046D:C52B.0003/0003:046D:C52B.0004
vendor: Logitech, Inc.
model: M315/M235
power supply: no
updated: Mon Sep 23 14:20:43 2013 (12 seconds ago)
has history: yes
has statistics: no
mouse
present: yes
rechargeable: yes
state: discharging
percentage: 1%

Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
vendor: Hewlett-Packard
model: Primary
serial: 53741 2013/03/10
power supply: yes
updated: Mon Sep 23 14:20:51 2013 (4 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 62.8371 Wh
energy-empty: 0 Wh
energy-full: 88.1451 Wh
energy-full-design: 88.1451 Wh
energy-rate: 17.871 W
voltage: 11.815 V
time to empty: 3.5 hours
percentage: 71.2883%
capacity: 100%
technology: lithium-ion
History (charge):
1379902790 71.288 discharging
1379902765 71.427 discharging
History (rate):
1379902790 17.871 discharging
1379902765 19.514 discharging

Daemon:
daemon-version: 0.9.21
on-battery: no
on-low-battery: no
lid-is-closed: no
lid-is-present: no
is-docked: no
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Wednesday, 12 March 2014, 05:49 GMT
Reason for closing:  No response
Comment by Ionut Biru (wonder) - Monday, 23 September 2013, 17:44 GMT
Device: /org/freedesktop/UPower/devices/mouse_0003o046DoC52Bx0007
native-path: /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.2/0003:046D:C52B.0003/0003:046D:C52B.0007
vendor: Logitech, Inc.
model: M510
power supply: no
updated: Mon Sep 23 20:42:34 2013 (35 seconds ago)
has history: yes
has statistics: no
mouse
present: yes
rechargeable: yes
state: discharging
percentage: 1%



I don' think is detecting the batery as being a notebook one. The kernel doesn't return the right percentage.
Comment by Sohaib Afifi (sohaibafifi) - Monday, 23 September 2013, 19:11 GMT
Looks like an upower related bug. Seems to be fixed after downgrading to UPower version 0.9.20
Comment by Jelle van der Waa (jelly) - Saturday, 28 September 2013, 12:34 GMT
Report the bug upstream (upower)
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 11 February 2014, 20:18 GMT
  • Field changed: Status (Assigned → Waiting on Response)
status? upstream report?

Loading...