A UPS connected to a computer will also be detected as a battery. PCMCIA cards can be present in computers as well. The case type in WMI is not always set to the correct value.

ScriptLogic has looked into this extensively and the best they could come up with is a proprietary solution, which they plan to patent.
_________________________
There are two types of vessels, submarines and targets.