summaryrefslogtreecommitdiff
path: root/libupower-glib
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-08-31 16:16:18 +0200
committerBastien Nocera <hadess@hadess.net>2017-09-04 14:05:15 +0200
commit2ef05c4220d262b28be2b6c96d22291b0041974c (patch)
tree39990d0e99e8e9ed44d789d92dd9e1fc0fde3300 /libupower-glib
parent623a6bfc57c3d3ea52d671079947a10cb3150999 (diff)
downloadupower-2ef05c4220d262b28be2b6c96d22291b0041974c.tar.gz
linux: Grab model name from device if unavailable from battery
The "model_name" and "serial_number" information that upower exports for batteries that supply a laptop or UPS are supposed to be that of the battery. But that's very unlikely to happen for devices, such as wireless mice, keyboards or joysticks. Look for a sibling input device if a device battery does not contain model information so as to avoid generic names in UIs. https://bugs.freedesktop.org/show_bug.cgi?id=102493
Diffstat (limited to 'libupower-glib')
0 files changed, 0 insertions, 0 deletions