Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1270220 > unrolled thread
| Started by | Debian Live user <ddbg72982+up@gmail.com> |
|---|---|
| First post | 2025-11-15 05:10 +0100 |
| Last post | 2025-11-23 01:10 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#1120712: upower: Journal swamped by upowerd "value "-nan" of type 'gdouble' is invalid... Debian Live user <ddbg72982+up@gmail.com> - 2025-11-15 05:10 +0100
Bug#1120712: [Pkg-utopia-maintainers] Bug#1120712: upower: Journal swamped by upowerd "value "-nan" of type 'gdouble' is invalid... D Dbg <ddbg72982@gmail.com> - 2025-11-22 04:30 +0100
Bug#1120712: [Pkg-utopia-maintainers] Bug#1120712: upower: Journal swamped by upowerd "value "-nan" of type 'gdouble' is invalid... Sicelo <absicsz@gmail.com> - 2025-11-22 16:30 +0100
Bug#1120712: [Pkg-utopia-maintainers] Bug#1120712: upower: Journal swamped by upowerd "value "-nan" of type 'gdouble' is invalid... D Dbg <ddbg72982@gmail.com> - 2025-11-23 01:10 +0100
| From | Debian Live user <ddbg72982+up@gmail.com> |
|---|---|
| Date | 2025-11-15 05:10 +0100 |
| Subject | Bug#1120712: upower: Journal swamped by upowerd "value "-nan" of type 'gdouble' is invalid... |
| Message-ID | <LRfLP-d4lp-1@gated-at.bofh.it> |
Package: upower Version: 1.90.10-1 Severity: normal X-Debbugs-Cc: ddbg72982+up@gmail.com Dear Maintainer, When I run recent versions of Debian, this is written to the Journal every 30s, as long as the system is up: Nov 14 20:58:24 debian upowerd[1897]: value "-nan" of type 'gdouble' is invalid or out of range for property 'percentage' of type 'gdouble' Nov 14 20:58:54 debian upowerd[1897]: value "-nan" of type 'gdouble' is invalid or out of range for property 'percentage' of type 'gdouble' Nov 14 20:59:24 debian upowerd[1897]: value "-nan" of type 'gdouble' is invalid or out of range for property 'percentage' of type 'gdouble' I suspect upower can't detect presence of battery. This system ASUS X541NA doesn't have one. I use this hardware for live system trials, and most wrongly show "battery present" but some do get it right, eg, the mate "Battery Charge Monitor" applet tooltip correctly shows: System is running on AC power No battery present I'm used to systems that would log "message repeated 10000 times" rather than actually logging the identical message every 30 seconds. -- System Information: Debian Release: forky/sid APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'forky'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.16.12+deb14+1-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages upower depends on: ii dbus [default-dbus-system-bus] 1.16.2-2 ii libc6 2.41-12 ii libglib2.0-0t64 2.86.1-1 ii libgudev-1.0-0 238-7 ii libimobiledevice-1.0-6 1.4.0-1 ii libplist-2.0-4 2.7.0+git20250820-1 ii libpolkit-gobject-1-0 126-2 ii libupower-glib3 1.90.10-1 ii udev 258.1-2 Versions of packages upower recommends: ii polkitd 126-2 upower suggests no packages. -- no debconf information
[toc] | [next] | [standalone]
| From | D Dbg <ddbg72982@gmail.com> |
|---|---|
| Date | 2025-11-22 04:30 +0100 |
| Subject | Bug#1120712: [Pkg-utopia-maintainers] Bug#1120712: upower: Journal swamped by upowerd "value "-nan" of type 'gdouble' is invalid... |
| Message-ID | <LTMtX-eMrp-3@gated-at.bofh.it> |
| In reply to | #1270220 |
Thanks for your help.
root@debian:/home/user/q# upower --dump
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
power supply: yes
updated: Fri 21 Nov 2025 08:29:25 PM EST (16 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: pending-charge
warning-level: none
energy: 0 Wh
energy-empty: 0 Wh
energy-full: 0 Wh
energy-full-design: 0 Wh
energy-rate: 0 W
charge-cycles: N/A
percentage: 0%
icon-name: 'battery-caution-charging-symbolic'
Device: /org/freedesktop/UPower/devices/line_power_AC0
native-path: AC0
power supply: yes
updated: Fri 21 Nov 2025 06:09:46 AM EST (51595 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: yes
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_hidpp_battery_0
native-path: hidpp_battery_0
model: Logitech K360
serial: 28-98-be-bb
power supply: no
updated: Fri 21 Nov 2025 08:29:25 PM EST (16 seconds ago)
has history: yes
has statistics: yes
keyboard
present: yes
rechargeable: yes
state: discharging
warning-level: none
battery-level: normal
percentage: 55% (should be ignored)
icon-name: 'battery-low-symbolic'
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Wed 03 Sep 2025 02:39:00 PM EDT (6850241 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: pending-charge
warning-level: none
energy: 0 Wh
energy-full: 0 Wh
energy-rate: 0 W
charge-cycles: N/A
percentage: 0%
icon-name: 'battery-caution-charging-symbolic'
Daemon:
daemon-version: 1.90.9
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: PowerOff
(The keyboard report is also incorrect. The unified receiver knows about a K360,
but it hasn't been used recently and its battery compartment is empty;
a K400 is in use.)
(This dump is from a debian 13.2 live, which has the same problems)
root@debian:/home/user/q# ls -la /sys/class/power_supply/*/
/sys/class/power_supply/AC0/:
total 0
drwxr-xr-x 5 root root 0 Nov 21 20:35 .
drwxr-xr-x 3 root root 0 Sep 3 14:38 ..
lrwxrwxrwx 1 root root 0 Sep 3 14:38 device -> ../../../ACPI0003:00
drwxr-xr-x 3 root root 0 Sep 3 14:38 hwmon2
-r--r--r-- 1 root root 4096 Sep 3 14:38 online
drwxr-xr-x 2 root root 0 Nov 21 20:35 power
lrwxrwxrwx 1 root root 0 Sep 3 14:38 subsystem ->
../../../../../../../class/power_supply
-r--r--r-- 1 root root 4096 Sep 3 14:38 type
-rw-r--r-- 1 root root 4096 Sep 3 14:38 uevent
drwxr-xr-x 2 root root 0 Sep 3 14:38 wakeup34
/sys/class/power_supply/BAT0/:
total 0
drwxr-xr-x 4 root root 0 Nov 21 20:35 .
drwxr-xr-x 3 root root 0 Sep 8 2021 ..
-rw-r--r-- 1 root root 4096 Nov 21 20:35 alarm
-r--r--r-- 1 root root 4096 Sep 3 14:39 cycle_count
lrwxrwxrwx 1 root root 0 Sep 3 14:38 device -> ../../../PNP0C0A:02
-r--r--r-- 1 root root 4096 Nov 21 20:35 energy_now
drwxr-xr-x 3 root root 0 Sep 8 2021 hwmon1
-r--r--r-- 1 root root 4096 Sep 3 14:39 manufacturer
-r--r--r-- 1 root root 4096 Sep 3 14:39 model_name
drwxr-xr-x 2 root root 0 Nov 21 20:35 power
-r--r--r-- 1 root root 4096 Nov 21 20:35 power_now
-r--r--r-- 1 root root 4096 Sep 3 14:38 present
-r--r--r-- 1 root root 4096 Sep 3 14:39 serial_number
-r--r--r-- 1 root root 4096 Sep 3 14:38 status
lrwxrwxrwx 1 root root 0 Sep 8 2021 subsystem ->
../../../../../../../../../class/power_supply
-r--r--r-- 1 root root 4096 Sep 3 14:39 technology
-r--r--r-- 1 root root 4096 Sep 3 14:38 type
-rw-r--r-- 1 root root 4096 Sep 8 2021 uevent
-r--r--r-- 1 root root 4096 Sep 3 14:39 voltage_min_design
-r--r--r-- 1 root root 4096 Sep 3 14:39 voltage_now
/sys/class/power_supply/hidpp_battery_0/:
total 0
drwxr-xr-x 5 root root 0 Nov 21 20:35 .
drwxr-xr-x 3 root root 0 Sep 3 14:39 ..
-r--r--r-- 1 root root 4096 Sep 3 14:39 capacity_level
lrwxrwxrwx 1 root root 0 Sep 3 14:40 device -> ../../../0003:046D:404D.0004
drwxr-xr-x 3 root root 0 Sep 3 14:39 hwmon5
-r--r--r-- 1 root root 4096 Nov 21 20:35 manufacturer
-r--r--r-- 1 root root 4096 Sep 3 14:39 model_name
-r--r--r-- 1 root root 4096 Nov 21 20:35 online
drwxr-xr-x 2 root root 0 Nov 21 20:35 power
lrwxrwxrwx 1 root root 0 Nov 21 20:35 powers -> ../../../0003:046D:404D.0004
-r--r--r-- 1 root root 4096 Sep 3 14:39 scope
-r--r--r-- 1 root root 4096 Sep 3 14:39 serial_number
-r--r--r-- 1 root root 4096 Sep 3 14:39 status
lrwxrwxrwx 1 root root 0 Sep 3 14:39 subsystem ->
../../../../../../../../../../class/power_supply
-r--r--r-- 1 root root 4096 Sep 3 14:39 type
-rw-r--r-- 1 root root 4096 Sep 3 14:39 uevent
drwxr-xr-x 2 root root 0 Sep 3 14:39 wakeup35
On Tue, Nov 18, 2025 at 2:57 PM Michael Biebl <biebl@debian.org> wrote:
>
> Control: tags -1 + moreinfo
>
> Am 15.11.25 um 05:01 schrieb Debian Live user:
> > Package: upower
> > Version: 1.90.10-1
> > Severity: normal
> > X-Debbugs-Cc: ddbg72982+up@gmail.com
> >
> > Dear Maintainer,
> >
> > When I run recent versions of Debian, this is written to the
> > Journal every 30s, as long as the system is up:
> >
> > Nov 14 20:58:24 debian upowerd[1897]: value "-nan" of type 'gdouble' is invalid or out of range for property 'percentage' of type 'gdouble'
>
>
> Please attach the output of
> upower --dump
> ls -la /sys/class/power_supply/*/
>
[toc] | [prev] | [next] | [standalone]
| From | Sicelo <absicsz@gmail.com> |
|---|---|
| Date | 2025-11-22 16:30 +0100 |
| Subject | Bug#1120712: [Pkg-utopia-maintainers] Bug#1120712: upower: Journal swamped by upowerd "value "-nan" of type 'gdouble' is invalid... |
| Message-ID | <LTXIJ-eVw4-21@gated-at.bofh.it> |
| In reply to | #1271116 |
On Fri, Nov 21, 2025 at 10:21:55PM -0500, D Dbg wrote: > (The keyboard report is also incorrect. The unified receiver knows about a K360, > but it hasn't been used recently and its battery compartment is empty; > a K400 is in use.) > (This dump is from a debian 13.2 live, which has the same problems) > > root@debian:/home/user/q# ls -la /sys/class/power_supply/*/ > /sys/class/power_supply/AC0/: > total 0 > drwxr-xr-x 5 root root 0 Nov 21 20:35 . > drwxr-xr-x 3 root root 0 Sep 3 14:38 .. > lrwxrwxrwx 1 root root 0 Sep 3 14:38 device -> ../../../ACPI0003:00 > drwxr-xr-x 3 root root 0 Sep 3 14:38 hwmon2 > -r--r--r-- 1 root root 4096 Sep 3 14:38 online > drwxr-xr-x 2 root root 0 Nov 21 20:35 power > lrwxrwxrwx 1 root root 0 Sep 3 14:38 subsystem -> > ../../../../../../../class/power_supply > -r--r--r-- 1 root root 4096 Sep 3 14:38 type > -rw-r--r-- 1 root root 4096 Sep 3 14:38 uevent > drwxr-xr-x 2 root root 0 Sep 3 14:38 wakeup34 > > /sys/class/power_supply/BAT0/: > total 0 > drwxr-xr-x 4 root root 0 Nov 21 20:35 . > drwxr-xr-x 3 root root 0 Sep 8 2021 .. > -rw-r--r-- 1 root root 4096 Nov 21 20:35 alarm > -r--r--r-- 1 root root 4096 Sep 3 14:39 cycle_count > lrwxrwxrwx 1 root root 0 Sep 3 14:38 device -> ../../../PNP0C0A:02 > -r--r--r-- 1 root root 4096 Nov 21 20:35 energy_now > drwxr-xr-x 3 root root 0 Sep 8 2021 hwmon1 > -r--r--r-- 1 root root 4096 Sep 3 14:39 manufacturer > -r--r--r-- 1 root root 4096 Sep 3 14:39 model_name > drwxr-xr-x 2 root root 0 Nov 21 20:35 power > -r--r--r-- 1 root root 4096 Nov 21 20:35 power_now > -r--r--r-- 1 root root 4096 Sep 3 14:38 present > -r--r--r-- 1 root root 4096 Sep 3 14:39 serial_number > -r--r--r-- 1 root root 4096 Sep 3 14:38 status > lrwxrwxrwx 1 root root 0 Sep 8 2021 subsystem -> > ../../../../../../../../../class/power_supply > -r--r--r-- 1 root root 4096 Sep 3 14:39 technology > -r--r--r-- 1 root root 4096 Sep 3 14:38 type > -rw-r--r-- 1 root root 4096 Sep 8 2021 uevent > -r--r--r-- 1 root root 4096 Sep 3 14:39 voltage_min_design > -r--r--r-- 1 root root 4096 Sep 3 14:39 voltage_now > > /sys/class/power_supply/hidpp_battery_0/: > total 0 > drwxr-xr-x 5 root root 0 Nov 21 20:35 . > drwxr-xr-x 3 root root 0 Sep 3 14:39 .. > -r--r--r-- 1 root root 4096 Sep 3 14:39 capacity_level > lrwxrwxrwx 1 root root 0 Sep 3 14:40 device -> ../../../0003:046D:404D.0004 > drwxr-xr-x 3 root root 0 Sep 3 14:39 hwmon5 > -r--r--r-- 1 root root 4096 Nov 21 20:35 manufacturer > -r--r--r-- 1 root root 4096 Sep 3 14:39 model_name > -r--r--r-- 1 root root 4096 Nov 21 20:35 online > drwxr-xr-x 2 root root 0 Nov 21 20:35 power > lrwxrwxrwx 1 root root 0 Nov 21 20:35 powers -> ../../../0003:046D:404D.0004 > -r--r--r-- 1 root root 4096 Sep 3 14:39 scope > -r--r--r-- 1 root root 4096 Sep 3 14:39 serial_number > lrwxrwxrwx 1 root root 0 Sep 3 14:39 subsystem -> > ../../../../../../../../../../class/power_supply > -r--r--r-- 1 root root 4096 Sep 3 14:39 type > -rw-r--r-- 1 root root 4096 Sep 3 14:39 uevent > drwxr-xr-x 2 root root 0 Sep 3 14:39 wakeup3 In addition to the already provided information, it might be useful to also attach the output of: cat /sys/class/power_supply/BAT0/uevent cat /sys/class/power_supply/hidpp_battery_0/uvent
[toc] | [prev] | [next] | [standalone]
| From | D Dbg <ddbg72982@gmail.com> |
|---|---|
| Date | 2025-11-23 01:10 +0100 |
| Subject | Bug#1120712: [Pkg-utopia-maintainers] Bug#1120712: upower: Journal swamped by upowerd "value "-nan" of type 'gdouble' is invalid... |
| Message-ID | <LU5PX-f10M-3@gated-at.bofh.it> |
| In reply to | #1271185 |
root@debian:/home/user# cat /sys/class/power_supply/BAT0/uevent DEVTYPE=power_supply POWER_SUPPLY_NAME=BAT0 POWER_SUPPLY_TYPE=Battery POWER_SUPPLY_STATUS=Not charging POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_TECHNOLOGY=Unknown POWER_SUPPLY_CYCLE_COUNT=0 POWER_SUPPLY_MODEL_NAME= POWER_SUPPLY_MANUFACTURER= POWER_SUPPLY_SERIAL_NUMBER= root@debian:/home/user# cat /sys/class/power_supply/hidpp_battery_0/uevent DEVTYPE=power_supply POWER_SUPPLY_NAME=hidpp_battery_0 POWER_SUPPLY_TYPE=Battery POWER_SUPPLY_ONLINE=1 POWER_SUPPLY_STATUS=Discharging POWER_SUPPLY_SCOPE=Device POWER_SUPPLY_MODEL_NAME=Wireless Touch Keyboard K400 Plus POWER_SUPPLY_MANUFACTURER=Logitech POWER_SUPPLY_SERIAL_NUMBER=28-98-be-bb POWER_SUPPLY_CAPACITY_LEVEL=Normal
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web