summaryrefslogtreecommitdiff
path: root/src/openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbsd')
-rw-r--r--src/openbsd/up-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openbsd/up-backend.c b/src/openbsd/up-backend.c
index 57dfcd1..23b8626 100644
--- a/src/openbsd/up-backend.c
+++ b/src/openbsd/up-backend.c
@@ -213,7 +213,7 @@ up_backend_update_battery_state(UpDevice* device, struct apm_power_info a)
g_object_set (device,
"state", new_state,
"percentage", (gdouble) a.battery_life,
- "time-to-empty", new_time_to_empty,
+ "time-to-empty", new_time_to_empty * 60,
"update-time", (guint64) timeval.tv_sec,
(void*) NULL);
}