summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ui.c b/src/bin/ui.c
index aa3b249..b3af63a 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -146,7 +146,7 @@ _tab_misc_update(Ui *ui, results_t *results)
146 evas_object_size_hint_align_set(progress, EVAS_HINT_FILL, EVAS_HINT_FILL); 146 evas_object_size_hint_align_set(progress, EVAS_HINT_FILL, EVAS_HINT_FILL);
147 evas_object_size_hint_weight_set(progress, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 147 evas_object_size_hint_weight_set(progress, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
148 elm_progressbar_span_size_set(progress, 1.0); 148 elm_progressbar_span_size_set(progress, 1.0);
149 elm_progressbar_unit_format_set(progress, "%1.2f%%"); 149 elm_progressbar_unit_format_set(progress, "%1.0f%%");
150 elm_progressbar_value_set(progress, (double)results->power.batteries[i]->percent / 100); 150 elm_progressbar_value_set(progress, (double)results->power.batteries[i]->percent / 100);
151 evas_object_show(progress); 151 evas_object_show(progress);
152 elm_object_content_set(frame, progress); 152 elm_object_content_set(frame, progress);