fixed the hardware rules based on the documentation
add a timeout to the battery, fixes #10