#NEWLINE# def updateBatteryStatusLabel( self ) : #NEWLINE# #INDENT# charge = self . driver . getBatteryChargeRemaining ( ) #NEWLINE# self . ui . batteryStatusLabel . text = ( '<unknown>' if ( self is None ) else ( '%d%%' % charge ) )