fixing battery widget