FIX battery on startup
This commit is contained in:
parent
79131ffaa7
commit
328201a228
2
core
2
core
|
@ -1 +1 @@
|
||||||
Subproject commit 4da966c53f54d9438a012607aba3100fedafa2fb
|
Subproject commit 015b909d5c62aedab6903a389c74aec40550efc6
|
4
main.lua
4
main.lua
|
@ -42,7 +42,7 @@ function conky_start(update_interval)
|
||||||
local mem = memory(update_freq)
|
local mem = memory(update_freq)
|
||||||
local rw = readwrite(update_freq, devices)
|
local rw = readwrite(update_freq, devices)
|
||||||
local net = network(update_freq)
|
local net = network(update_freq)
|
||||||
local pwr = power(update_freq)
|
local pwr = power(update_freq, battery)
|
||||||
local fs = filesystem(fs_paths)
|
local fs = filesystem(fs_paths)
|
||||||
local stm = system()
|
local stm = system()
|
||||||
local gfx = graphics(update_freq)
|
local gfx = graphics(update_freq)
|
||||||
|
@ -75,7 +75,7 @@ function conky_start(update_interval)
|
||||||
net.update()
|
net.update()
|
||||||
pcm.update(pacman_stats)
|
pcm.update(pacman_stats)
|
||||||
fs.update(t1)
|
fs.update(t1)
|
||||||
pwr.update(is_using_ac, battery)
|
pwr.update(is_using_ac)
|
||||||
mem.update()
|
mem.update()
|
||||||
|
|
||||||
-- draw dynamic components
|
-- draw dynamic components
|
||||||
|
|
Loading…
Reference in New Issue