Correct cyclic sending of battery status. Add debug function for raw value. Move MIN function to util_generic.h.