The linux kernel returns "LiFe" for lithium iron phosphate batteries,
not LiFo.
---
src/linux/up-device-supply.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c
index 173959a..cb5903b 100644
--- a/src/linux/up-device-supply.c
+++ b/src/linux/up-device-supply.c
@@ -269,7 +269,7 @@ up_device_supply_convert_device_technology (const gchar
*type)
return UP_DEVICE_TECHNOLOGY_LITHIUM_POLYMER;
if (g_ascii_strcasecmp (type, "nimh") == 0)
return UP_DEVICE_TECHNOLOGY_NICKEL_METAL_HYDRIDE;
- if (g_ascii_strcasecmp (type, "lifo") == 0)
+ if (g_ascii_strcasecmp (type, "life") == 0)
return UP_DEVICE_TECHNOLOGY_LITHIUM_IRON_PHOSPHATE;
return UP_DEVICE_TECHNOLOGY_UNKNOWN;
}
--
1.6.5
_______________________________________________
devkit-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/devkit-devel