Make the "Battery Present" sensor a depency of all the battery-related
authormpi <mpi@openbsd.org>
Thu, 14 May 2015 13:50:34 +0000 (13:50 +0000)
committermpi <mpi@openbsd.org>
Thu, 14 May 2015 13:50:34 +0000 (13:50 +0000)
commitd1175cff0dbe4f4a17586e09dd34a87d58e707e2
treebe68f7cbd9dc659c86e59e74dd1b27f2f88a5783
parenta3f3006bfc8c1d582b1ef01f3aec7040c60eda6c
Make the "Battery Present" sensor a depency of all the battery-related
sensors only if it is present, From David Higgs.

Fix a regression reported by and ok halex@
sys/dev/usb/upd.c