Make battery a bash program, not shell