The Power Manager applet shows garbled text as the battery device name. This is because UPower returns vendor/model as raw SBS hex strings with null bytes instead of decoded text.
UPower output:
- vendor:
0x53 0x4D 0x50 0x00 0x32 0x30 0x31 0x39 0x00 0x00 0x00 0x00 (should be "SMP")
- model:
0x4C 0x31 0x39 0x4D 0x33 0x50 0x46 0x34 (should be "L19M3PF4")
Full output: https://files.catbox.moe/ga748g.txt
The vendor and model strings from UPower contain raw hex values and null bytes that should be stripped/decoded before display. The applet should sanitize these strings (e.g., filter out non-printable characters and trim null bytes).
See also: the popup content does not fit on screen (issue #13855) which compounds the problem — users cannot even see the garbled name properly.
The Power Manager applet shows garbled text as the battery device name. This is because UPower returns vendor/model as raw SBS hex strings with null bytes instead of decoded text.
UPower output:
0x53 0x4D 0x50 0x00 0x32 0x30 0x31 0x39 0x00 0x00 0x00 0x00(should be "SMP")0x4C 0x31 0x39 0x4D 0x33 0x50 0x46 0x34(should be "L19M3PF4")Full output: https://files.catbox.moe/ga748g.txt
The vendor and model strings from UPower contain raw hex values and null bytes that should be stripped/decoded before display. The applet should sanitize these strings (e.g., filter out non-printable characters and trim null bytes).
See also: the popup content does not fit on screen (issue #13855) which compounds the problem — users cannot even see the garbled name properly.