added 'print_charge', a convenience function for printing charge state through the rear leds