diff --git a/widget/bat.lua b/widget/bat.lua index 891bd76..77324de 100644 --- a/widget/bat.lua +++ b/widget/bat.lua @@ -43,7 +43,7 @@ local function factory(args) if bstr then batteries[#batteries + 1] = bstr else - ac = string.match(line, "A%w+") or "AC0" + ac = string.match(line, "A%w+") or ac end end) end