Add insertion and removal events for batteries. Some cleanup & KNF.
Add insertion and removal events for batteries.
Some cleanup & KNF.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars