>The problem is that the battery is fetched when the USB dongle is>connected. However, the tablet might not be paired at that point.Big thanks for the explanation, i've looked at this code before but couldn't see exactly what's wrong.