summaryrefslogtreecommitdiffstats
path: root/abs/extra/conky/current-power.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/conky/current-power.patch')
-rw-r--r--abs/extra/conky/current-power.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/abs/extra/conky/current-power.patch b/abs/extra/conky/current-power.patch
deleted file mode 100644
index 1e7cf5a..0000000
--- a/abs/extra/conky/current-power.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -aur old/src/linux.c new/src/linux.c
---- old/src/linux.c 2010-10-05 23:29:36.000000000 +0200
-+++ new/src/linux.c 2010-12-06 22:18:59.346667183 +0100
-@@ -1671,6 +1671,8 @@
- the tradition! */
- else if (strncmp(buf, "POWER_SUPPLY_CURRENT_NOW=", 25) == 0)
- sscanf(buf, "POWER_SUPPLY_CURRENT_NOW=%d", &present_rate);
-+ else if (strncmp(buf, "POWER_SUPPLY_POWER_NOW=", 23) == 0)
-+ sscanf(buf, "POWER_SUPPLY_POWER_NOW=%d", &present_rate);
- else if (strncmp(buf, "POWER_SUPPLY_ENERGY_NOW=", 24) == 0)
- sscanf(buf, "POWER_SUPPLY_ENERGY_NOW=%d", &remaining_capacity);
- else if (strncmp(buf, "POWER_SUPPLY_ENERGY_FULL=", 25) == 0)