local battery = {}
battery.watch = function(timeout, callback, widget)
awful.widget.watch("acpi --battery", timeout, callback, widget)
end
battery.status = function(callback)
awful.spawn.easy_async("acpi --battery", callback)
return battery