aboutsummaryrefslogtreecommitdiff
path: root/src/getbat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getbat.c')
-rw-r--r--src/getbat.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/getbat.c b/src/getbat.c
index 363e725..ad3a760 100644
--- a/src/getbat.c
+++ b/src/getbat.c
@@ -174,14 +174,6 @@ gint gb_low_capacity()
gint gb_percent()
{
return get_int_value_from_file(CHARGE_VALUE_PATH);
- /*
- int percent, max_capacity;
- if ( (max_capacity = gb_max_capacity()) == 0 )
- return 0;
- percent = (gb_current_capacity() * 100) / max_capacity;
- if (percent > 100)
- percent = 100;
- return percent;*/
}
/*
void gb_time(gchar* time)