Cleanup code Battery Bar [1/2]