Hello Shih-Yuan,
Thanks for your patch! I created a new test case for
vendor/product/serial strings in
http://cgit.freedesktop.org/upower/commit/?id=d070b4b83
and then committed your patch with the according test case update:
http://cgit.freedesktop.org/upower/commit/?id=ba363c8
Note that
From: "Shih-Yuan Lee (FourDollars)"
---
src/linux/up-device-supply.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c
index cc192c7..fbfaeca 100644
--- a/src/linux/up-device-supply.c
+++ b/src/linux/up-device-supply.c
@@ -441,6