add an battery widget in rc.lua