You are not logged in.
The battery icon of my power manager plugin breaks when the battery is charging and almost (96%, for example) full. It displays a red X as if the icon was missing. I'm running Debian testing with the Tango icon pack, XFCE is 4.20.
Any suggestions?
Last edited by lufte (2025-04-27 22:38:25)
Offline
When that happens, can you post back the output of:
upower -d
Also, provide the make/model of your computer.
with the Tango icon pack
If you change the icon theme, does the icon display then?
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
upower says
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: LGC
model: 45N1079
serial: 4611
power supply: yes
updated: Sun 27 Apr 2025 09:27:50 PM -03 (6 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 42.32 Wh
energy-empty: 0 Wh
energy-full: 43.9 Wh
energy-full-design: 62.16 Wh
energy-rate: 7.368 W
voltage: 12.815 V
charge-cycles: N/A
time to full: 12.9 minutes
percentage: 96%
capacity: 70.6242%
technology: lithium-ion
charge-start-threshold: 75%
charge-end-threshold: 80%
charge-threshold-supported: yes
icon-name: 'battery-full-charging-symbolic'
History (charge):
1745799980 96.000 charging
History (rate):
1745800070 7.368 charging
1745800040 7.828 charging
1745800010 8.532 charging
1745799980 9.765 charging
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: Sun 27 Apr 2025 09:19:40 PM -03 (496 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/DisplayDevice
power supply: yes
updated: Sun 27 Apr 2025 09:27:50 PM -03 (6 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: charging
warning-level: none
energy: 42.32 Wh
energy-full: 43.9 Wh
energy-rate: 7.368 W
charge-cycles: N/A
time to full: 12.9 minutes
percentage: 96%
icon-name: 'battery-full-charging-symbolic'
Daemon:
daemon-version: 1.90.9
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
The laptop is a Thinkpad x230t. Changing the icon pack doesn't fix it, but the placeholder icon that indicates "broken icon" does change according to the theme (for Tango is a red cross over a white background, and Faenza uses a red circle over a black background).
Offline
icon-name: 'battery-full-charging-symbolic'
Do you have this icon in either icon theme?
Also, try running xfce4-power-manager in debug mode to see if it generates a message when it looks for that icon:
xfce4-power-manager -q
xfce4-power-manager --no-daemon --debug
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
xfce4-power-manager shows nothing in debug mode when it's time to render that icon.
I'm not sure what's the mapping between icon names and their actual files, and in what size should the icons be available. Here's what i see:
Adwaita/symbolic/legacy/battery-full-charging-symbolic.svg
Faenza/status/22/battery-full-charging-symbolic.png
Faenza/status/24/battery-full-charging-symbolic.png
Faenza/status/32/battery-full-charging-symbolic.png
Faenza/status/48/battery-full-charging-symbolic.png
Faenza/status/64/battery-full-charging-symbolic.png
Faenza/status/96/battery-full-charging-symbolic.png
Faenza/status/scalable/battery-full-charging-symbolic.svg
Faenza-Ambiance/status/22/battery-full-charging-symbolic.svg
Faenza-Dark/status/22/battery-full-charging-symbolic.png
Faenza-Dark/status/24/battery-full-charging-symbolic.png
Faenza-Dark/status/32/battery-full-charging-symbolic.png
Faenza-Dark/status/48/battery-full-charging-symbolic.png
Faenza-Dark/status/64/battery-full-charging-symbolic.png
Faenza-Dark/status/96/battery-full-charging-symbolic.png
Faenza-Dark/status/scalable/battery-full-charging-symbolic.svg
Faenza-Radiance/status/22/battery-full-charging-symbolic.svg
gnome/scalable/status/battery-full-charging-symbolic.svg
hicolor/scalable/status/battery-full-charging-symbolic.svg
Faenza and Gnome supposedly have it, but when I select them I still get the broken icon.
Last edited by lufte (2025-04-28 02:37:31)
Offline
xfce4-power-manager shows nothing in debug mode when it's time to render that icon.
Can you post back the output?
Also, can you try another icon theme, like maybe the elementary icon theme?
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
There's no output whatsoever. I double checked that it's running in debug mode.
I installed elementary-xfce-icon-theme and this one does work! So I guess it's an issue with the icon packs and not xfce4-power-manager. I'm gonna investigate further and post back my results.
Offline
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 562.13 KiB (Peak: 578.98 KiB) ]