summaryrefslogtreecommitdiff
path: root/src/linux
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux')
-rw-r--r--src/linux/up-device-supply.c2
1 files changed, 1 insertions, 1 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;