Merge pull request #485 from dwmw2/master

luci/statistics: Fix nut UPS graphs
This commit is contained in:
Jo-Philipp Wich 2015-09-22 22:18:16 +02:00
commit a60184d6bd

View file

@ -44,9 +44,6 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
y_max = "100", y_max = "100",
number_format = "%5.1lf%%", number_format = "%5.1lf%%",
data = { data = {
sources = {
percent = { "percent" }
},
instances = { instances = {
percent = "charge" percent = "charge"
}, },
@ -77,9 +74,6 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
vlabel = "Minutes", vlabel = "Minutes",
number_format = "%.1lfm", number_format = "%.1lfm",
data = { data = {
sources = {
timeleft = { "timeleft" }
},
instances = { instances = {
timeleft = { "battery" } timeleft = { "battery" }
}, },