summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-09-22 22:18:16 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-09-22 22:18:16 +0200
commita60184d6bd6dd3b136d0cc447a65b9003ec7cd3d (patch)
tree25dd098134dc49faddc5fcc51d5ca805e0a75a7a /applications
parent13f3ad96358a36ed65bef0afbc1009545f080eaf (diff)
parent41ec4c68adf7e6545aa10b359fea1883bec79b3e (diff)
Merge pull request #485 from dwmw2/master
luci/statistics: Fix nut UPS graphs
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
index 6dc81bc1d7..8b04ab8b38 100644
--- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
+++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
@@ -44,9 +44,6 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
y_max = "100",
number_format = "%5.1lf%%",
data = {
- sources = {
- percent = { "percent" }
- },
instances = {
percent = "charge"
},
@@ -77,9 +74,6 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
vlabel = "Minutes",
number_format = "%.1lfm",
data = {
- sources = {
- timeleft = { "timeleft" }
- },
instances = {
timeleft = { "battery" }
},