GNOME Control center shouldn't show battery devices with unknown status
I've a Lenovo Z13 that has a touchscreen. I first noticed that GNOME is showing me a battery for the touchscreen which makes no sense to me.
# upower -d shows:
Device: /org/freedesktop/UPower/devices/keyboard_wacom_battery_0 native-path: wacom_battery_0 model: Wacom HID 52E8 power supply: no updated: Wed 31 Dec 1969 06:00:00 PM CST (1676646321 seconds ago) has history: yes has statistics: yes keyboard present: yes rechargeable: yes state: unknown warning-level: none percentage: 0% icon-name: 'battery-missing-symbolic'
udevadm info shows:
P: /devices/platform/AMDI0010:01/i2c-1/i2c-WACF2200:00/0018:056A:52E8.0002/power_supply/wacom_battery_0 L: 0 E: DEVPATH=/devices/platform/AMDI0010:01/i2c-1/i2c-WACF2200:00/0018:056A:52E8.0002/power_supply/wacom_battery_0 E: SUBSYSTEM=power_supply E: POWER_SUPPLY_NAME=wacom_battery_0 E: POWER_SUPPLY_TYPE=Battery E: POWER_SUPPLY_MODEL_NAME=Wacom HID 52E8 E: POWER_SUPPLY_PRESENT=0 E: POWER_SUPPLY_STATUS=Unknown E: POWER_SUPPLY_SCOPE=Device E: POWER_SUPPLY_CAPACITY=0
I understand the purpose for this device to be when a stylus was in proximity that it shows the charge of such a stylus, but I don't have one and furthermore the state is marked unknown, icon is marked as missing battery. I think such an entry should be hidden by default in GNOME until a stylus is brought in proximity and it can show useful information.