fixing some vars in the awesome battery widget