applications/luci-statistics: convert nut plugin to minutes
[project/luci.git] / applications / luci-statistics / luasrc / statistics / rrdtool / definitions / nut.lua
index d10d503..421c7a2 100644 (file)
@@ -85,8 +85,8 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
 
        local timeleft = {
                title = "%H: Time left on UPS \"%pi\"",
 
        local timeleft = {
                title = "%H: Time left on UPS \"%pi\"",
-               vlabel = "seconds",
-               number_format = "%7lfs",
+               vlabel = "Minutes",
+               number_format = "%7lfm",
                data = {
                        sources = {
                                timeleft = { "timeleft" }
                data = {
                        sources = {
                                timeleft = { "timeleft" }