mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-08 05:28:04 +02:00
idevice: Simplify setting the model
This commit is contained in:
parent
a795750a2e
commit
4051aa8f80
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ up_device_idevice_coldplug (UpDevice *device)
|
|||
"type", kind,
|
||||
"serial", uuid,
|
||||
"vendor", g_udev_device_get_property (native, "ID_VENDOR"),
|
||||
"model", g_udev_device_get_property (native, "ID_MODEL"),
|
||||
"model", model,
|
||||
"power-supply", FALSE,
|
||||
"is-present", FALSE,
|
||||
"is-rechargeable", TRUE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue