Skip to content

power: Label the main "battery" as UPS if that's what it is

Bastien Nocera requested to merge wip/hadess/ups-label into main

Change the label from "Battery" to "UPS" if the upower DisplayDevice is a UPS. This avoids confusions like: https://www.reddit.com/r/gnome/comments/11aws0q/battery_indicator_for_desktop_computer_seems/ https://askubuntu.com/questions/1344733/why-does-ubuntu-show-battery-and-charge-info-when-it-is-a-desktop-with-no-batter

Why does GNOME display a battery percentage ("Fully Charged") when I'm
running a desktop computer without any battery?

followed by:

Ha! I figured it out[...]. I have my desktop plugged into a UPS

Merge request reports