From b3d23684545d08d6c7df0643b560fd5d1346154b Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 18 Oct 2013 15:21:17 +0200 Subject: linux: Remove incorrect statement Not all "UpDeviceSupply" actually supply power to the computer. --- src/linux/up-device-supply.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c index ff9449f..b9ed2c7 100644 --- a/src/linux/up-device-supply.c +++ b/src/linux/up-device-supply.c @@ -510,7 +510,6 @@ up_device_supply_refresh_battery (UpDeviceSupply *supply) if (!supply->priv->has_coldplug_values || up_device_supply_units_changed (supply, native_path)) { - /* when we add via sysfs power_supply class then we know this is true */ g_object_set (device, "power-supply", supply->priv->is_power_supply, NULL); -- cgit v1.2.1