implemented varilble battery level, still bugs there