auto detect wether there is an battery, then decide add battery widget or not