summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-10-18 15:21:17 +0200
committerBastien Nocera <hadess@hadess.net>2013-10-18 15:21:17 +0200
commitb3d23684545d08d6c7df0643b560fd5d1346154b (patch)
treedcd93949b9ddf217804c48986800993f4556c905
parentaa5636e559f3b22e54887e9268071e1518455d7e (diff)
downloadupower-b3d23684545d08d6c7df0643b560fd5d1346154b.tar.gz
linux: Remove incorrect statement
Not all "UpDeviceSupply" actually supply power to the computer.
-rw-r--r--src/linux/up-device-supply.c1
1 files changed, 0 insertions, 1 deletions
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);