Initial revision of has_battery grain.  Requires acpi binary for correct output.