awesome:add battery function