summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/linux/up-device-supply.c2
-rw-r--r--src/up-device.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c
index 4a2f44a..fd509c3 100644
--- a/src/linux/up-device-supply.c
+++ b/src/linux/up-device-supply.c
@@ -528,7 +528,7 @@ up_device_supply_refresh_battery (UpDeviceSupply *supply)
goto out;
}
- /* get the currect charge */
+ /* get the current charge */
energy = sysfs_get_double (native_path, "energy_now") / 1000000.0;
if (energy < 0.01)
energy = sysfs_get_double (native_path, "energy_avg") / 1000000.0;
diff --git a/src/up-device.c b/src/up-device.c
index 0e2863b..6d09856 100644
--- a/src/up-device.c
+++ b/src/up-device.c
@@ -699,7 +699,7 @@ up_device_coldplug (UpDevice *device, UpDaemon *daemon, GObject *native)
if (!ret) {
g_debug ("failed to refresh %s", device->priv->native_path);
- /* TODO: refresh should really have seporate
+ /* TODO: refresh should really have separate
* success _and_ changed parameters */
ret = TRUE;
goto out;